1 #include "../common.h" 2 #include "BroadcastTester.h" 3 #include "FindAppTester.h" 4 #include "GetAppInfoTester.h" 5 #include "GetAppListTester.h" 6 #include "GetRecentTester.h" 7 #include "IsRunningTester.h" 8 #include "LaunchTester.h" 9 #include "RosterWatchingTester.h" 10 #include "TeamForTester.h" 11 12 CppUnit::Test* RosterTestSuite() 13 { 14 CppUnit::TestSuite *testSuite = new CppUnit::TestSuite(); 15 16 // TODO: tries to create a second BApplication object 17 //testSuite->addTest(BroadcastTester::Suite()); 18 testSuite->addTest(FindAppTester::Suite()); 19 testSuite->addTest(GetAppInfoTester::Suite()); 20 testSuite->addTest(GetAppListTester::Suite()); 21 testSuite->addTest(GetRecentTester::Suite()); 22 testSuite->addTest(IsRunningTester::Suite()); 23 // TODO: some tests call Lock in ~RosterLaunchApp 24 //testSuite->addTest(LaunchTester::Suite()); 25 //testSuite->addTest(RosterWatchingTester::Suite()); 26 testSuite->addTest(TeamForTester::Suite()); 27 28 return testSuite; 29 } 30 31