Home
last modified time | relevance | path

Searched refs:testMessageClass (Results 1 – 6 of 6) sorted by relevance

/haiku/src/tests/kits/app/bmessagequeue/
H A DAddMessageTest1.cpp62 testMessageClass::messageDestructorCount = 0; in setUp()
85 BMessage *theMessage = new testMessageClass(i); in PerformTest()
94 assert(testMessageClass::messageDestructorCount == 0); in PerformTest()
98 assert(testMessageClass::messageDestructorCount == 10000); in PerformTest()
H A DConcurrencyTest1.cpp83 testMessageClass::messageDestructorCount = 0; in setUp()
87 BMessage *theMessage = new testMessageClass(i); in setUp()
122 CPPUNIT_ASSERT(testMessageClass::messageDestructorCount == 0); in TestThread1()
126 CPPUNIT_ASSERT(testMessageClass::messageDestructorCount == numMessages); in TestThread1()
178 BMessage *theMessage = new testMessageClass(i); in TestThread3()
H A DMessageQueueTestCase.h51 class testMessageClass : public BMessage
55 virtual ~testMessageClass() { messageDestructorCount++; }; in ~testMessageClass()
56 testMessageClass(int what) : BMessage(what) { }; in testMessageClass() function
H A DConcurrencyTest2.cpp72 testMessageClass::messageDestructorCount = 0; in setUp()
77 theMessage = new testMessageClass(i); in setUp()
200 theMessageQueue->AddMessage(new testMessageClass(numAddMessages)); in TestThread4()
H A DFindMessageTest1.cpp81 AddMessage(new testMessageClass(whatCode)); in PerformTest()
H A DMessageQueueTestCase.cpp14 int testMessageClass::messageDestructorCount = 0;