2 $Id: MessageQueueTestAddon.cpp 10 2002-07-09 12:24:59Z ejakowatz $
4 This file declares the addonTestName string and addonTestFunc
5 function for the BMessageQueue tests. These symbols will be used
6 when the addon is loaded.
11 #include "AddMessageTest1.h"
12 #include "AddMessageTest2.h"
13 #include "ConcurrencyTest1.h"
14 #include "ConcurrencyTest2.h"
15 #include "FindMessageTest1.h"
16 #include <MessageQueue.h>
17 #include "MessageQueue.h"
18 #include "TestAddon.h"
19 #include "TestSuite.h"
23 * Function: addonTestFunc()
24 * Descr: This function is called by the test application to
25 * get a pointer to the test to run. The BMessageQueue test
26 * is a test suite. A series of tests are added to
27 * the suite. Each test appears twice, once for
28 * the Be implementation of BMessageQueue, once for the
29 * OpenBeOS implementation.
32 Test
*addonTestFunc(void)
34 TestSuite
*testSuite
= new TestSuite("BMessageQueue");
36 testSuite
->addTest(AddMessageTest1
<BMessageQueue
>::suite());
37 testSuite
->addTest(AddMessageTest2
<BMessageQueue
>::suite());
38 testSuite
->addTest(ConcurrencyTest1
<BMessageQueue
>::suite());
39 testSuite
->addTest(ConcurrencyTest2
<BMessageQueue
>::suite());
40 testSuite
->addTest(FindMessageTest1
<BMessageQueue
>::suite());
42 testSuite
->addTest(AddMessageTest1
<OpenBeOS::BMessageQueue
>::suite());
43 testSuite
->addTest(AddMessageTest2
<OpenBeOS::BMessageQueue
>::suite());
44 testSuite
->addTest(ConcurrencyTest1
<OpenBeOS::BMessageQueue
>::suite());
45 testSuite
->addTest(ConcurrencyTest2
<OpenBeOS::BMessageQueue
>::suite());
46 testSuite
->addTest(FindMessageTest1
<OpenBeOS::BMessageQueue
>::suite());