1 //------------------------------------------------------------------------------ 2 // QuitTest.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 "QuitTest.h" 15 16 // Local Defines --------------------------------------------------------------- 17 18 // Globals --------------------------------------------------------------------- 19 20 //------------------------------------------------------------------------------ 21 /** 22 Quit() 23 @case Looper is unlocked 24 @result Prints message "ERROR - you must Lock a looper before calling 25 Quit(), team=%ld, looper=%s\n" 26 */ 27 void TQuitTest::QuitTest1() 28 { 29 BLooper* Looper = new BLooper; 30 Looper->Unlock(); 31 Looper->Quit(); 32 } 33 //------------------------------------------------------------------------------ 34 TestSuite* TQuitTest::Suite() 35 { 36 TestSuite* suite = new TestSuite("BLooper::Quit()"); 37 ADD_TEST4(BLooper, suite, TQuitTest, QuitTest1); 38 return suite; 39 } 40 //------------------------------------------------------------------------------ 41 42 /* 43 * $Log $ 44 * 45 * $Id $ 46 * 47 */ 48 49