* test/testunit/test_parallel.rb, test/testunit/parallel/*:

Test for r30939.
* lib/test/unit.rb: For test.
* lib/test/parallel.rb: For test.
* lib/test/unit/testcase.rb: For test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
sorah 2011-02-23 14:08:25 +00:00
parent 92729ad473
commit 48fa6ed529
10 changed files with 283 additions and 3 deletions

View file

@ -0,0 +1,14 @@
require 'test/unit'
require_relative "misc.rb"
class TestD < TestCaseForParallelTest
def ptest_sleeping
sleep 2
end
def ptest_fail_at_worker
if MiniTest::Unit.output != STDOUT
assert_equal(0,1)
end
end
end