*** empty log message ***
#ifndef _MATCHERS_TEST_TEST_H #define _MATCHERS_TEST_TEST_H #include <cppunit/TestCase.h> #include <cppunit/TestCaller.h> #include <cppunit/TestSuite.h> #include <cppunit/TestResult.h> #include <cppunit/TextTestRunner.h> #include <cppunit/extensions/HelperMacros.h> #include "Matchers.h" #include <vector> #include <iostream> class MatchersTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( MatchersTest ); CPPUNIT_TEST( testShow ); CPPUNIT_TEST( testMatch ); CPPUNIT_TEST( testCover ); CPPUNIT_TEST_SUITE_END(); private: BitmapFont *a; Matchers *mat; BitmapFontFile *ff; public: void setUp(); void tearDown(); void testShow(); void testMatch(); void testCover(); #if 0 static Test *suite(){ TestSuite *suiteOfTests = new TestSuite; suiteOfTests->addTest (new TestCaller<MatchersTest>("testShow", &MatchersTest::testShow)); suiteOfTests->addTest (new TestCaller<MatchersTest>("testMatch", &MatchersTest::testMatch)); suiteOfTests->addTest (new TestCaller<MatchersTest>("testCover", &MatchersTest::testCover)); return suiteOfTests; } #endif }; #endif /* _MATCHERS_TEST_TEST_H */
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |