aboutsummaryrefslogtreecommitdiffstats
path: root/test/testunit/tests_for_parallel/misc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/testunit/tests_for_parallel/misc.rb')
-rw-r--r--test/testunit/tests_for_parallel/misc.rb36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/testunit/tests_for_parallel/misc.rb b/test/testunit/tests_for_parallel/misc.rb
deleted file mode 100644
index f60b25d6c3..0000000000
--- a/test/testunit/tests_for_parallel/misc.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-# FIXME: more portability code
-if caller(7) && /block in non_options/ =~ caller(7)[0]
- class TestCaseForParallelTest < Test::Unit::TestCase;end
-else
- module Test
- module Unit
- class Worker
- def run_tests
- _run_anything :ptest
- end
- end
- class Runner
- def run_tests
- _run_anything :ptest
- end
- end
- end
- end
- module MiniTest
- class Unit
- class << TestCase
- alias ptest_suites test_suites
- def ptest_methods;[];end
- end
- end
- end
-
- class TestCaseForParallelTest < Test::Unit::TestCase
- class << self
- undef ptest_methods
- def ptest_methods
- public_instance_methods(true).grep(/^ptest/).map { |m| m.to_s }
- end
- end
- end
-end