summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2004-05-18This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16* lib/yaml.rb: removed fallback to pure Ruby parser.why
* lib/yaml/baseemitter.rb (indent_text): was forcing a mod value of zero at times, which kept some blocks from getting indentation. * lib/yaml/baseemitter.rb (node_text): rewriting folded scalars. * ext/syck/syck.h: reports style of scalars now, be they plain, block single-, or double-quoted. * ext/syck/syck.c: ditto. * ext/syck/gram.c: ditto. * ext/syck/node.c: ditto. * ext/syck/token.c: ditto. * ext/syck/rubyext.c (yaml_org_handler): symbols loaded only if scalar style is plain. * ext/syck/rubyext.c (yaml_org_handler): some empty strings were loaded as symbols. * test/yaml/test_yaml.rb (test_perl_regexp): updated test to match new regexp serialization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument toakr
specify an open flag. (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT and DBM::NEWDB. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07add freeze test for dbm and gdbm.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-01This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21check hash tuple sizeseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15add a gdbm test for [ruby-dev:23381]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13change pattern matching [druby-ja:98]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06fix hash tuple bugseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01add test_symmetry_bignum.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-13rescue LoadError.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-07use 'druby://localhost:0'. [ruby-dev:23078]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26require drb/eq.rb by defaultseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.nahi
DRb.start_service could handle this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 * test/*: should not depend on $KCODE.nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 * test/ruby/marshaltestlib.rb: common marshal testcase added.nahi
* test/ruby/test_marshal.rb: use above testsuite. * test/soap/marshal/test_marshal.rb: ditto. * test/soap/marshal/cmarshal.rb: removed (not used). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16import test_rinda.rbseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13* test/fileutils/test_fileutils.rb: File.link may raise EINVAL and EACCES on ↵aamine
Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-11* test/ruby/test_file.rb (TestFile::test_fnmatch): added tests forakira
File.fnmatch. [ruby-dev:22815][ruby-dev:22819] * test/ruby/test_proc.rb (TestProc::test_eq): added a test. [ruby-dev:22599] * test/ruby/test_proc.rb (TestProc::test_eq): added tests for Proc#==. [ruby-dev:22592], [ruby-dev:22601] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-25This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.(no author)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13 * lib/logger.rb(Logger#msg2str): no special treatment for the objectnahi
which responds to :to_str. commited at 2004-01-11T21:46:27 by gsinclair. * lib/logger.rb(LogDevice#initialize): remove type checking if the given object is a String. Kernel.open handles it correctly. commited at 2004-01-11T21:46:27 by gsinclair. * test/logger/test_logger.rb: follow above change (ArgumentError -> TypeError.) follow above commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5460 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/branches/ruby_1_8@5415 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/branches/ruby_1_8@5326 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