*** empty log message ***
#ifndef _BITMAP_FONT_FILE_TEST_H #define _BITMAP_FONT_FILE_TEST_H #include <cppunit/TestCase.h> #include <cppunit/TestCaller.h> #include <cppunit/TestSuite.h> #include <cppunit/TestResult.h> #include <cppunit/TextTestRunner.h> #include "BitmapFontFile.h" using namespace CppUnit; class BitmapFontFileTest : public TestCase { private: BitmapFontFile *ff; public: void setUp(){ ff=new BitmapFontFile("jiskan24.bdf"); } void tearDown(){ delete ff; } void testShow(){ std::cout << ff->find(0x3021); } static Test *suite(){ TestSuite *suiteOfTests = new TestSuite; suiteOfTests->addTest (new TestCaller<BitmapFontFileTest>("testShow", &BitmapFontFileTest::testShow)); return suiteOfTests; } }; #endif /* _BITMAP_FONT_FILE_TEST_H */
ktanaka Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |