[macruby-changes] [2536] MacRuby/trunk/spec
source_changes at macosforge.org
source_changes at macosforge.org
Thu Sep 10 02:10:49 PDT 2009
Revision: 2536
http://trac.macosforge.org/projects/ruby/changeset/2536
Author: mattaimonetti at gmail.com
Date: 2009-09-10 02:08:40 -0700 (Thu, 10 Sep 2009)
Log Message:
-----------
tagged socket specs and added them to the :library spec runner
Modified Paths:
--------------
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/for_fd_tags.txt
MacRuby/trunk/spec/macruby.mspec
Added Paths:
-----------
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_read_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_write_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockname_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/recv_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/send_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_nonblock_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/new_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/open_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/unixserver/
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/unixserver/accept_tags.txt
Removed Paths:
-------------
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockopt_tags.txt
MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/pair_tags.txt
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_read_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_read_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_read_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,2 @@
+fails:Socket::BasicSocket#close_read closes the reading end of the socket
+fails:Socket::BasicSocket#close_read it works on sockets with closed ends
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_write_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_write_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/close_write_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,2 @@
+fails:Socket::BasicSocket#close_write closes the writing end of the socket
+fails:Socket::BasicSocket#close_write works on sockets with closed write ends
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockname_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockname_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockname_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1 @@
+fails:Socket::BasicSocket#getsockname works on sockets listening in ipaddr_any
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockopt_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockopt_tags.txt 2009-09-10 08:35:53 UTC (rev 2535)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/getsockopt_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -1 +0,0 @@
-fails:BasicSocket#getsockopt gets a socket option
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/recv_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/recv_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/recv_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,2 @@
+critical:BasicSocket#recv receives a specified number of bytes of a message from another socket
+critical:BasicSocket#recv accepts flags to specify unusual receiving behaviour
\ No newline at end of file
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/send_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/send_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/basicsocket/send_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,3 @@
+critical:BasicSocket#send sends a message to another socket and returns the number of bytes sent
+critical:BasicSocket#send accepts flags to specify unusual sending behaviour
+critical:BasicSocket#send accepts a sockaddr as recipient address
\ No newline at end of file
Modified: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/for_fd_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/for_fd_tags.txt 2009-09-10 08:35:53 UTC (rev 2535)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/for_fd_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -1 +1 @@
-fails:Socket#for_fd given a file descriptor raises EBADF for a bad descriptor
+fails:Socket#for_fd given a file descriptor raises error for a bad descriptor
Deleted: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/pair_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/pair_tags.txt 2009-09-10 08:35:53 UTC (rev 2535)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/socket/pair_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -1 +0,0 @@
-fails:Socket#pair ensures the returned sockets are connected
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_nonblock_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_nonblock_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_nonblock_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1 @@
+critical:Socket::TCPServer.accept_nonblock accepts non blocking connections
\ No newline at end of file
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpserver/accept_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,3 @@
+critical:TCPServer#accept accepts a connection and returns a TCPSocket
+critical:TCPServer#accept can be interrupted by Thread#kill
+critical:TCPServer#accept can be interrupted by Thread#raise
\ No newline at end of file
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/new_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/new_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/new_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,2 @@
+critical:TCPSocket.new connects to a listening server
+critical:TCPSocket.new has an address once it has connected to a listening server
\ No newline at end of file
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/open_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/open_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/tcpsocket/open_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,2 @@
+critical:TCPSocket.open connects to a listening server
+critical:TCPSocket.open has an address once it has connected to a listening server
\ No newline at end of file
Added: MacRuby/trunk/spec/frozen/tags/macruby/library/socket/unixserver/accept_tags.txt
===================================================================
--- MacRuby/trunk/spec/frozen/tags/macruby/library/socket/unixserver/accept_tags.txt (rev 0)
+++ MacRuby/trunk/spec/frozen/tags/macruby/library/socket/unixserver/accept_tags.txt 2009-09-10 09:08:40 UTC (rev 2536)
@@ -0,0 +1,2 @@
+critical:UNIXServer#accept can be interrupted by Thread#kill
+critical:UNIXServer#accept can be interrupted by Thread#raise
\ No newline at end of file
Modified: MacRuby/trunk/spec/macruby.mspec
===================================================================
--- MacRuby/trunk/spec/macruby.mspec 2009-09-10 08:35:53 UTC (rev 2535)
+++ MacRuby/trunk/spec/macruby.mspec 2009-09-10 09:08:40 UTC (rev 2536)
@@ -33,6 +33,7 @@
'library/pathname',
'library/readline',
'library/scanf',
+ 'library/socket',
'library/stringscanner',
'library/stringio',
'library/time',
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090910/1d81d81e/attachment-0001.html>
More information about the macruby-changes
mailing list