ComputationCacheTestSuite() : boost::unit_test::test_suite( "ComputationCacheTestSuite" ) { boost::shared_ptr<ComputationCacheTest> instance( new ComputationCacheTest() ); add( BOOST_CLASS_TEST_CASE( &ComputationCacheTest::test, instance ) ); add( BOOST_CLASS_TEST_CASE( &ComputationCacheTest::testThreadedGet, instance ) ); }
SceneCacheThreadingTestSuite() : boost::unit_test::test_suite( "SceneCacheThreadingTestSuite" ) { boost::shared_ptr<SceneCacheThreadingTest> instance( new SceneCacheThreadingTest() ); add( BOOST_CLASS_TEST_CASE( &SceneCacheThreadingTest::testAttributeRead, instance ) ); add( BOOST_CLASS_TEST_CASE( &SceneCacheThreadingTest::testFakeAttributeRead, instance ) ); }
ChannelLayoutTestSuite() : boost::unit_test::test_suite( "ChannelLayoutTestSuite" ) { boost::shared_ptr<ChannelLayoutTest> instance( new ChannelLayoutTest() ); add( BOOST_CLASS_TEST_CASE( &ChannelLayoutTest::testChannelTraits, instance ) ); add( BOOST_CLASS_TEST_CASE( &ChannelLayoutTest::testCommonLayoutAttributes, instance ) ); add( BOOST_CLASS_TEST_CASE( &ChannelLayoutTest::testCommonLayoutInterface, instance ) ); add( BOOST_CLASS_TEST_CASE( &ChannelLayoutTest::testContainerAccess, instance ) ); }
MotorDriverCardDummyTestSuite() : test_suite("MotorDriverCardDummy test suite") { // create an instance of the test class boost::shared_ptr<MotorDriverCardDummyTest> motorDriverCardTest(new MotorDriverCardDummyTest); add(BOOST_CLASS_TEST_CASE(&MotorDriverCardDummyTest::testGetMotorControler, motorDriverCardTest)); add(BOOST_CLASS_TEST_CASE(&MotorDriverCardDummyTest::testGetPowerMonitor, motorDriverCardTest)); }
InternedStringTestSuite() : boost::unit_test::test_suite( "InternedStringTestSuite" ) { boost::shared_ptr<InternedStringTest> instance( new InternedStringTest() ); add( BOOST_CLASS_TEST_CASE( &InternedStringTest::testConcurrentConstruction, instance ) ); add( BOOST_CLASS_TEST_CASE( &InternedStringTest::testRangeConstruction, instance ) ); }
SceneNode_test_suite() : test_suite("SceneNode_test_suite") { // create an instance of the test cases class boost::shared_ptr<SceneNode_test> instance(new SceneNode_test()); // create the test cases test_case* attachToParentNode_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_attachToParentNode, instance ); test_case* attachChildToNode_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_attachChildToNode, instance ); test_case* detachNodeFromParent_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_detachNodeFromParent, instance ); test_case* hasParent_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_hasParent, instance ); test_case* hasChild_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_hasChild, instance ); test_case* isFirstChild_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_isFirstChild, instance ); test_case* isLastChild_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_isLastChild, instance ); test_case* countChildNodes_test_case = BOOST_CLASS_TEST_CASE( &SceneNode_test::test_countChildNodes, instance ); // add the test cases to the test suite add(attachToParentNode_test_case); add(attachChildToNode_test_case); add(detachNodeFromParent_test_case); add(hasParent_test_case); add(hasChild_test_case); add(isFirstChild_test_case); add(isLastChild_test_case); add(countChildNodes_test_case); }
global_test_suite::global_test_suite() : test_suite("global Test Suite") { boost::shared_ptr<global_test> instance(new global_test); boost::unit_test::test_case *test_global = BOOST_CLASS_TEST_CASE(&global_test::test_global, instance); add(test_global); }
Suite_NetCore::Suite_NetCore (const string& ini_file, const string& log_name) { bool bLog; if (log_name == "") bLog =false; else bLog = true; boost::shared_ptr<Test_NetCore> instance (new Test_NetCore (ini_file, bLog, log_name)); add (boost::unit_test::make_test_case<Test_NetCore>(&Test_NetCore::Start, "Test_NetCore::Start", instance)); add (BOOST_CLASS_TEST_CASE (&Test_NetCore::TestSettingUserInfo, instance)); add (BOOST_CLASS_TEST_CASE (&Test_NetCore::TestSettingUrl, instance)); add (BOOST_CLASS_TEST_CASE (&Test_NetCore::TestGettingFileInfoAndFile, instance)); add (boost::unit_test::make_test_case<Test_NetCore>(&Test_NetCore::End, "Test_NetCore::End", instance)); }
Color_test_suite() : test_suite("Color_test_suite") { // create an instance of the test cases class boost::shared_ptr<Color_test> instance(new Color_test()); // create the test cases test_case* test_Color_test_case = BOOST_CLASS_TEST_CASE( &Color_test::test_Color, instance ); // add the test cases to the test suite add(test_Color_test_case); }
StringAlgoTestSuite() : boost::unit_test::test_suite( "StringAlgoTestSuite" ) { boost::shared_ptr<StringAlgoTest> instance( new StringAlgoTest() ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::noElements, instance ) ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::singleElement, instance ) ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::severalElements, instance ) ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::partial, instance ) ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::separator, instance ) ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::containers, instance ) ); add( BOOST_CLASS_TEST_CASE( &StringAlgoTest::notJustForStrings, instance ) ); }
DecomposeRQ3x3TestSuite() : boost::unit_test::test_suite( "DecomposeRQ3x3TestSuite" ) { boost::shared_ptr<DecomposeRQ3x3Test> instance( new DecomposeRQ3x3Test() ); add( BOOST_CLASS_TEST_CASE( &DecomposeRQ3x3Test::testDecomposeRQ3x3, instance ) ); }
CompoundDataTestSuite() : boost::unit_test::test_suite( "CompoundDataTestSuite" ) { boost::shared_ptr<CompoundDataTest> instance( new CompoundDataTest() ); add( BOOST_CLASS_TEST_CASE( &CompoundDataTest::testMemberRetrieval, instance ) ); add( BOOST_CLASS_TEST_CASE( &CompoundDataTest::testNullData, instance ) ); }