class Test::Unit::TestTestSuiteCreator::TestModule

Public Instance Methods

setup() click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 43
def setup
  test_module = Module.new do
    def test_in_module
    end
  end

  @test_case = Class.new(TestCase) do
    include test_module

    def test_in_test_case
    end
  end
end
test_collect_test_names() click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 57
def test_collect_test_names
  assert_equal(["test_in_module", "test_in_test_case"].sort,
               collect_test_names(@test_case).sort)
end
test_in_module() click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 45
def test_in_module
end
test_in_test_case() click to toggle source
# File test-unit-3.3.4/test/test-test-suite-creator.rb, line 52
def test_in_test_case
end