summaryrefslogtreecommitdiff
path: root/test/drb/ut_timerholder.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-01 03:07:58 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-01 03:07:58 +0000
commit5cd71131b849db00f94c87dc6fcf403731338161 (patch)
treebc28733a54425625760aad48e44929d1d38945f1 /test/drb/ut_timerholder.rb
parent09ab3a0a9f9fa7d3f091bec988c52b9f8ed62b41 (diff)
* test/drb: Wrap tests definitions by DRbTests module. This makes
several tests (ACLEntryTest, TestBug4409, etc.) easier to understand that they are tests for DRb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/ut_timerholder.rb')
-rw-r--r--test/drb/ut_timerholder.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/drb/ut_timerholder.rb b/test/drb/ut_timerholder.rb
index 6f66dd3393b..6c62ea7726a 100644
--- a/test/drb/ut_timerholder.rb
+++ b/test/drb/ut_timerholder.rb
@@ -2,6 +2,8 @@ require 'runit/testcase'
require 'runit/cui/testrunner'
require 'timerholder'
+module DRbTests
+
class TimerHolderTest < RUNIT::TestCase
def do_test(timeout, keeper_sleep = nil)
holder = TimerHolder.new(timeout)
@@ -44,6 +46,8 @@ class TimerHolderTest < RUNIT::TestCase
end
end
+end
+
if __FILE__ == $0
- RUNIT::CUI::TestRunner.run(TimerHolderTest.suite)
+ RUNIT::CUI::TestRunner.run(DRbTests::TimerHolderTest.suite)
end