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
This commit is contained in:
Ingo Weinhold 2002-10-12 22:42:07 +00:00
parent 6f1a85effd
commit c890b606e6

View File

@ -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,