summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2004-01-28* ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]why
* lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306] * test/yaml/test_yaml.rb: add Time and Range tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28* test/rss/*.rb: remove "test/" prefix.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28* lib/rss: rss library imported. [ruby-dev:22726]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-22* pack.c (num2i32): pack should not raise RangeError.matz
[ruby-dev:22654] * pack.c (pack_pack): do not auto convert nil to zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21* parse.y (newline_node): do not use NODE_NEWLINE node anymore,matz
use NEWLINE flag instead. * ext/socket/socket.c (sock_gethostbyname): returns host if ai_canonname is NULL. (ruby-bugs PR#1243) * parse.y (block_append): update nd_end for "real" head node. [ruby-list:39058] * marshal.c (w_class): should not dump singleton class. [ruby-dev:22631] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19* test/ruby/test_marshal.rb (MarshalTestLib::test_exception): testnobu
for [ruby-dev:22604]. * test/ruby/test_marshal.rb (MarshalTestLibtest_singleton): test for [ruby-dev:22588]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19* test/ruby/test_time.rb: added tests for [ruby-dev:22614] andakira
[ruby-dev:22617]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18* failed to add in the previous commit.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18* test/ruby/test_time.rb: new test case to test Time#[+-].siena
* time.c (time_plus, time_minus): fix RangeError for a negative argument in environments whose time_t is unsigned. [ruby-dev:22608] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-14* test/inlinetest.rb (InlineTest::eval_part): eval under the topnobu
level environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-14* test/inlinetest.rb (InlineTest::loadtest): require instead ofnobu
load, to get rid of multiple loading. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13 * test/test_*.rb: Pathname#parent -> Pathname#dirname.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):nobu
fix syntax error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12* ext/syck/bytecode.c: turn off default implicit typing.why
* ext/syck/implicit.c: detect base60 integers. * ext/syck/rubyext.c: handle base60, as well as hex and octal with commas. implicit typing of ruby symbols. * test/yaml/test_yaml.rb: add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-09 * lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadErrornahi
and SystemExitError) while loading a testcase. smell of bug. * test/testunit/collector/test_dir.rb: add new test of the LoadError. * test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if openssl is not installed. * test/testunit/collector/test_dir.rb: assert_raises -> assert_raise. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-08 * test/wsdl/datetime/test_datetime.rb: fixed a stupid testcase whichnahi
dumps "E" at month-end. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07* test/net/test_httpheader.rb: new file.aamine
* MANIFEST: add test/net/test_httpheader.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 * lib/logger.rb(Logger#msg2str): no special treatment for the objectnahi
which responds to :to_str. * lib/logger.rb(LogDevice#initialize): remove type checking if the given object is a String. Kernel.open handles it correctly. * test/logger/test_logger.rb: follow above change (ArgumentError -> TypeError.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 * test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,nahi
test_pathname.rb,test_pp.rb,test_prettyprint.rb,test_set.rb, test_time.rb,test_tsort.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 * import soap4r/1.5.2;nahi
* lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}: introduce SOAPExternalReference class as a referenct to SOAPEnvelope external content. * lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages with Attachments) support code by Jamie Herre. * lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb, streamHandler.rb,wsdlDriver.rb}: SwA support. * lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb, soaplet.rb}: SwA support and refactoring. * lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow SOAPReference#initialize signature change. * lib/soap/mapping/factory.rb: deleted unused methods. * lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type string <-> Ruby class name matching. * lib/xsd/datatypes.rb: check the smallest positive non-zero single-precision float exactly instead of packing with "f". [ruby-talk:88822] * test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not 1.4e-45. 1.4e-45 is smaller than 2 ** -149... * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb, test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0". * test/soap/test_streamhandler.rb: revert to the previous test that warns "basic_auth unsupported under net/http". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-04* test/ruby/test_pack.rb: new test test_unpack_N.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 * test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.nahi
[ruby-talk:88852] * test/csv/{bom.csv,mac.csv}: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26* test/ruby/test_pack.rb: new test test_pack_N.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rbnahi
test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0" to express -0.0. [ruby-talk:88786] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24* ext/stringio/stringio.c (strio_read): clear the buffer argumentnobu
when returning nil. [ruby-dev:22363] * test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1): add buffer argument tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24* lib/test/unit/assertions.rb: Modules are allowed to rescue.nobu
* lib/test/unit/autorunner.rb: show output_level in order. * lib/test/unit/collector/dir.rb: get rid of successive same directories in load path. * test/testunit/test_assertions.rb (test_assert_nothing_raised, test_assert_raise): test for modules. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24* test/fileutils/test_fileutils.rb: should not create anynobu
files or directories in current directory. [ruby-talk:88724] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23* io.c (read_all): do not return nil at the end of file.matz
[ruby-dev:22334] * io.c (argf_read): do not depend on nil at eof behavior of IO#read(). * eval.c (rb_thread_join): dup exception before re-raising it. * io.c (rb_io_eof): call clearerr() to prevent side effect. this patch is supplied by Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>. [ruby-dev:22234] * pack.c (OFF16): get offset for big endian machines. * pack.c (pack_pack): use OFF16 instead of OFF16B. [ruby-dev:22344] * pack.c (pack_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 * test/soap/test_streamhandler.rb (test_basic_auth): removed.nahi
soap4r + basic_auth is not officially supported in ruby/1.8.1 even though soap4r + basic_auth + http-access2 should run fine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23* io.c (rb_io_ungetc): raise an exception at unread stream tonobu
avoid unspecified behavior. [ruby-dev:22330] * test/ruby/test_system.rb (test_syntax): glob relatively from __FILE__. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 * lib/rexml/encodings/US-ASCII.rb: typo. [ruby-talk:88650]nahi
* test/ruby/test_system.rb: num of asserts depended on running dir. * test/xsd/test_noencoding.rb: rexml + without iconv/uconv cannot handle euc-jp. install iconv, uconv or xmlscan. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23* lib/uri/generic.rb (URI::Generic::check_userinfo,akira
URI::Generic::check_user, URI::Generic::check_password): tests conflicts/depends with other components closely. * test/uri/test_generic.rb (TestGeneric::test_set_component): added tets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-23 * test/xsd/test_noencoding.rb: rescue Errno::EINVAL and do not test.nahi
"euc-jp" might not be in supported encoding name list. [ruby-talk:88650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22* lib/uri/generic.rb (URI::Generic#route_from): accepts urls whichakira
has no host-part. * test/uri/test_generic.rb (TestGeneric::test_route): added a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-22 * test/soap/test_property.rb: remove duplicated test method.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-19 * lib/soap/property.rb (SOAP::Property#load): new method for loadingnahi
property value into existing property tree. * test/soap/test_property.rb: add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-17* lib/cgi.rb (CGI::QueryExtension::Value::[]): should work likematz
String#[] if more than one arguments are specified. * lib/delegate.rb: avoid using common instance name as "@obj". * lib/cgi.rb (CGI::QueryExtension::Value): Value is no longer subclass of String, but DelegateClass(String). * ext/curses/extconf.rb: restore function check for init_color. [ruby-list:38905] * Makefile.in: need to specify $(MAINLIBS) for the miniruby generation rule. * configure.in: better FreeBSD -lc_r support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-16introduce some new methodsaamine
* ext/strscan/strscan.c: new method StringScanner#beginning_of_line? (alias #bol?) * ext/strscan/strscan.c: new method StringScanner#concat and #<<. * ext/strscan/strscan.c: StringScanner#new(str) does not duplicate nor freeze STR (allow destructive modification). * test/strscan/test_stringscanner.rb: test new methods above. * test/strscan/test_stringscanner.rb: test destructive string modification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-15* lib/yaml/rubytypes.rb: comments in strings. [ruby-talk:88012]why
* test/yaml/test_yaml.rb: add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-14* descrictive warning message.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-13* test/yaml/test_yaml.rb (test_ruby_struct): struct name din not match.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12* lib/yaml/rubytypes.rb: anonymous struct fix. [ruby-core:01946]why
* test/yaml/test_yaml.rb: add test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12 * lib/csv.rb: add Cell#to_str and Cell#to_s for /.../ =~ aCell,nahi
"#{aCell}" and so on. * test/csv/test_csv.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-12* lib/fileutils.rb (mkdir): remove trailing `/' from pathes.aamine
* lib/fileutils.rb (rmdir): ditto. [ruby-dev:22238] * lib/fileutils.rb (rmdir_r): ditto. * lib/fileutils.rb (fu_copy_dir): check if it is a directory after mkdir(2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-11* test/fileutils/test_fileutils.rb (test_mkdir_p): test expand_path'ed path.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-10* ext/stringio/stringio.c (strio_read): set EOF flag at short read.nobu
[ruby-dev:22223], [ruby-dev:22224] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-10* ext/stringio/stringio.c (strio_read): do not set EOF flag whennobu
requested length is zero. [ruby-dev:22214] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-10* ext/stringio/stringio.c (strio_read): adjust behavior at readingnobu
beyond EOF to IO. [ruby-dev:22205] * test/ruby/ut_eof.rb (TestEOF::Seek): test behaviors at reading beyond EOF. * test/ruby/test_file.rb, * test/stringio/test_stringio.rb: include TestEOF::Seek test case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-10* test/monitor/test_monitor.rb (test_cond): use Queue#deqshugo
insteadof sleep. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-09make case insensitive for host-part.akira
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e