Skip to content

Commit 40b5123

Browse files
nobuhsbt
authored andcommitted
Rename test classes to allow stable test count when running test-all -j
[Fix GH-1763] From: MSP-Greg <MSP-Greg@users.noreply.github.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 744610b commit 40b5123

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/fileutils/test_dryrun.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class TestFileUtilsDryRun < Test::Unit::TestCase
99

1010
include FileUtils::DryRun
11-
include TestFileUtils::Visibility
11+
include TestFileUtilsInc::Visibility
1212

1313
def setup
1414
super

test/fileutils/test_nowrite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class TestFileUtilsNoWrite < Test::Unit::TestCase
99

1010
include FileUtils::NoWrite
11-
include TestFileUtils::Visibility
11+
include TestFileUtilsInc::Visibility
1212

1313
def setup
1414
super

test/fileutils/test_verbose.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class TestFileUtilsVerbose < Test::Unit::TestCase
99

1010
include FileUtils::Verbose
11-
include TestFileUtils::Visibility
11+
include TestFileUtilsInc::Visibility
1212

1313
def setup
1414
super

test/fileutils/visibility_tests.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
require 'test/unit'
33
require 'fileutils'
44

5-
class TestFileUtils < Test::Unit::TestCase
5+
class TestFileUtilsInc < Test::Unit::TestCase
66
end
77

88
##
99
# These tests are reused in the FileUtils::Verbose, FileUtils::NoWrite and
1010
# FileUtils::DryRun tests
1111

12-
module TestFileUtils::Visibility
12+
module TestFileUtilsInc::Visibility
1313

1414
FileUtils::METHODS.each do |m|
1515
define_method "test_singleton_visibility_#{m}" do

0 commit comments

Comments
 (0)