xref: /haiku/src/tests/kits/app/blooper/PerformTest.cpp (revision 5ac9b506412b11afb993bb52d161efe7666958a5)
1 //------------------------------------------------------------------------------
2 //	PerformTest.cpp
3 //
4 //------------------------------------------------------------------------------
5 
6 // Standard Includes -----------------------------------------------------------
7 
8 // System Includes -------------------------------------------------------------
9 #include <Looper.h>
10 
11 // Project Includes ------------------------------------------------------------
12 
13 // Local Includes --------------------------------------------------------------
14 #include "PerformTest.h"
15 
16 // Local Defines ---------------------------------------------------------------
17 
18 // Globals ---------------------------------------------------------------------
19 
20 //------------------------------------------------------------------------------
21 void TPerformTest::PerformTest1()
22 {
23 	BLooper Looper;
24 	CPPUNIT_ASSERT(Looper.Perform(1, NULL) == B_ERROR);
25 }
26 //------------------------------------------------------------------------------
27 TestSuite* TPerformTest::Suite()
28 {
29 	TestSuite* suite = new TestSuite("BLooper::Perform(perform_code, void*)");
30 
31 	ADD_TEST(BLooper, suite, TPerformTest, PerformTest1);
32 
33 	return suite;
34 }
35 //------------------------------------------------------------------------------
36 
37 /*
38  * $Log $
39  *
40  * $Id  $
41  *
42  */
43 
44