1//------------------------------------------------------------------------------ 2// main.cpp 3// 4//------------------------------------------------------------------------------ 5 6// Standard Includes ----------------------------------------------------------- 7 8// System Includes ------------------------------------------------------------- 9 10// Project Includes ------------------------------------------------------------ 11 12// Local Includes -------------------------------------------------------------- 13#include "LocalCommon.h" 14#include "BArchivableTester.h" 15#include "ValidateInstantiationTester.h" 16#include "InstantiateObjectTester.h" 17#include "FindInstantiationFuncTester.h" 18 19// Local Defines --------------------------------------------------------------- 20 21// Globals --------------------------------------------------------------------- 22 23//------------------------------------------------------------------------------ 24// Function: addonTestFunc() 25// Descr: This function is called by the test application to 26// get a pointer to the test to run. 27//------------------------------------------------------------------------------ 28 29Test* addonTestFunc() 30{ 31 TestSuite* tests = new TestSuite("BArchivable"); 32 33 tests->addTest(TBArchivableTestCase::Suite()); 34 tests->addTest(TValidateInstantiationTest::Suite()); 35 tests->addTest(TInstantiateObjectTester::Suite()); 36 tests->addTest(TFindInstantiationFuncTester::Suite()); 37 38 return tests; 39} 40 41int main() 42{ 43 Test* tests = addonTestFunc(); 44 45 TextTestResult Result; 46 tests->run(&Result); 47 cout << Result << endl; 48 49 delete tests; 50 51 return !Result.wasSuccessful(); 52} 53 54 55/* 56 * $Log $ 57 * 58 * $Id $ 59 * 60 */ 61 62