/spec/tags/core/io/select_tags.txt
Plain Text | 15 lines | 15 code | 0 blank | 0 comment | 0 complexity | d64a248ec83bfb28af0176ec74e41342 MD5 | raw file
Possible License(s): LGPL-2.1
1fails:IO.select blocks for duration of timeout if there are no objects ready for I/O 2fails:IO.select returns immediately all objects that are ready for I/O when timeout is 0 3fails:IO.select returns nil after timeout if there are no objects ready for I/O 4fails:IO.select returns supplied objects when they are ready for I/O 5fails:IO.select leaves out IO objects for which there is no I/O ready 6fails:IO.select returns supplied objects correctly even when monitoring the same object in different arrays 7fails:IO.select invokes to_io on supplied objects that are not IO 8fails:IO.select raises TypeError if supplied objects are not IO 9fails:IO.select raises TypeError if the specified timeout value is not Numeric 10fails:IO.select raises TypeError if the first three arguments are not Arrays 11fails:IO.select does not raise errors if the first three arguments are nil 12fails:IO.select does not accept negative timeouts 13fails:IO.select raises a TypeError if the specified timeout value is not Numeric 14fails:IO.select sleeps the specified timeout if all streams are nil 15fails:IO.select raises an ArgumentError when passed a negative timeout