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