class Test::Unit::TestTestCase::TestStartupShutdown::TestOrder::TestNoInheritance
Public Class Methods
shutdown()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 975 def shutdown called << :shutdown end
startup()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 971 def startup called << :startup end
Public Instance Methods
setup()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 966 def setup @test_case = Class.new(TestCase) do extend CallLogger class << self def startup called << :startup end def shutdown called << :shutdown end end def setup self.class.called << :setup end def teardown self.class.called << :teardown end def test1 end def test2 end end end
teardown()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 984 def teardown self.class.called << :teardown end
test1()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 988 def test1 end
test2()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 991 def test2 end
test_call_order()
click to toggle source
# File test-unit-3.3.4/test/test-test-case.rb, line 996 def test_call_order assert_equal([ :startup, :setup, :teardown, :setup, :teardown, :shutdown, ], call_order(@test_case)) end