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//------------------------------------------------------------------------------ 21void TPerformTest::PerformTest1() 22{ 23 BLooper Looper; 24 CPPUNIT_ASSERT(Looper.Perform(1, NULL) == B_ERROR); 25} 26//------------------------------------------------------------------------------ 27TestSuite* 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