Hi,
Test test/testunit/collector/test_objectspace.rb in the CVS gives following
2 errors. It seems that test_objectspace.rb depends order of Hash#each.
There are several ways to reduce this error and I could not find
"the only way" so I reported here without patch. Nathaniel?
Regards,
// NaHi
P.S. It looks very good suites.
-
Failure!!!
test_basic_collection(Test::Unit::Collector::TC_ObjectSpace) [./testunit/collector/test_objectspace.rb:40]:
<#<Test::Unit::TestSuite:0x40419b5c @tests=[#<#Class:0x40419ddc:0x40419954 @test_passed=true, @method_name=“test_1”>,
#<#Class:0x40419ddc:0x40419918 @test_passed=true, @method_name=“test_2”>, #<#Class:0x40419d78:0x404198c8 @test_passed=true,
@method_name=“test_3”>], @name=“name”>> expected but was
<#<Test::Unit::TestSuite:0x40419850 @tests=[#<#Class:0x40419ddc:0x40418e50 @test_passed=true, @method_name=“test_2”>,
#<#Class:0x40419ddc:0x40418e14 @test_passed=true, @method_name=“test_1”>, #<#Class:0x40419d78:0x404182fc @test_passed=true,
@method_name=“test_3”>], @name=“name”>> -
Failure!!!
test_filtered_collection(Test::Unit::Collector::TC_ObjectSpace) [./testunit/collector/test_objectspace.rb:55]:
<#<Test::Unit::TestSuite:0x404150d4 @tests=[#<#Class:0x40417294:0x4041500c @test_passed=true, @method_name=“test_1”>,
#<#Class:0x40417294:0x40414fbc @test_passed=true, @method_name=“test_2”>, #<#Class:0x40417230:0x40414f80 @test_passed=true,
@method_name=“test_3”>], @name=“collected from the ObjectSpace”>> expected but was
<#<Test::Unit::TestSuite:0x40414d78 @tests=[#<#Class:0x40417294:0x40413aa4 @test_passed=true, @method_name=“test_2”>,
#<#Class:0x40417294:0x4041398c @test_passed=true, @method_name=“test_1”>, #<#Class:0x40417230:0x40412ff0 @test_passed=true,
@method_name=“test_3”>], @name=“collected from the ObjectSpace”>>