From c890b606e6efa47aab0c59b48110a906723435cc Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 12 Oct 2002 22:42:07 +0000 Subject: [PATCH] Oops, the OBOS version of the test didn't even compile. Fixed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1503 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kits/app/bmessagerunner/BMessageRunnerTester.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/tests/kits/app/bmessagerunner/BMessageRunnerTester.cpp b/src/tests/kits/app/bmessagerunner/BMessageRunnerTester.cpp index 271c3c9786..1f121f8115 100644 --- a/src/tests/kits/app/bmessagerunner/BMessageRunnerTester.cpp +++ b/src/tests/kits/app/bmessagerunner/BMessageRunnerTester.cpp @@ -125,8 +125,7 @@ void TBMessageRunnerTester::BMessageRunnerA3() check_message_runner_info(runner, B_OK, interval, count); snooze((count + 1) * interval + 10000); CHK(looper->CheckMessages(startTime, interval, count)); - CHK(app.CountReplies() == 0); - CHK(handler->CountReplies() == count); + CHK(app.CountReplies() == count); #endif } @@ -305,7 +304,7 @@ void TBMessageRunnerTester::BMessageRunnerB2() int32 count = 5; MessageRunnerTestHandler *handler = app.TestHandler(); BMessenger replyTo(handler); - BMessageRunner runner(target, &message, interval, count, replyTo); + BMessageRunner runner(target, NULL, interval, count, replyTo); CHK(runner.InitCheck() == B_BAD_VALUE); check_message_runner_info(runner, B_BAD_VALUE); #endif @@ -532,8 +531,6 @@ Test* TBMessageRunnerTester::Suite() BMessageRunnerA2); ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, BMessageRunnerA3); - ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, - BMessageRunnerA3); ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, BMessageRunnerA4); ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, @@ -551,8 +548,6 @@ Test* TBMessageRunnerTester::Suite() BMessageRunnerB2); ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, BMessageRunnerB3); - ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, - BMessageRunnerB3); ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester, BMessageRunnerB4); ADD_TEST4(BMessageRunner, SuiteOfTests, TBMessageRunnerTester,