class TestUnitNotification

Public Instance Methods

test_notify() click to toggle source
# File test-unit-3.3.4/test/test-notification.rb, line 20
def test_notify
  result = _run_test("test_notify")
  assert_equal("1 tests, 0 assertions, 0 failures, 0 errors, 0 pendings, " \
               "0 omissions, 2 notifications",
               result.to_s)
  assert_fault_messages(["1st notify", "2nd notify. Reach here."],
                        result.notifications)
end

Private Instance Methods

_run_test(name) click to toggle source
Calls superclass method TestUnitTestUtil#_run_test
# File test-unit-3.3.4/test/test-notification.rb, line 30
def _run_test(name)
  super(TestCase, name)
end