[wadalabfont-kit] / jis2prim / BitmapFontFileTest.h  

Diff of /jis2prim/BitmapFontFileTest.h

Parent Directory | Revision Log

version 1.1, Thu Feb 21 11:57:39 2002 UTC version 1.3, Tue Aug 20 11:10:36 2002 UTC
Line 5 
Line 5 
 #include <cppunit/TestSuite.h>  #include <cppunit/TestSuite.h>
 #include <cppunit/TestResult.h>  #include <cppunit/TestResult.h>
 #include <cppunit/TextTestRunner.h>  #include <cppunit/TextTestRunner.h>
   #include <cppunit/extensions/HelperMacros.h>
 #include "BitmapFontFile.h"  #include "BitmapFontFile.h"
   
 using namespace CppUnit;  class BitmapFontFileTest : public CppUnit::TestFixture {
     CPPUNIT_TEST_SUITE( BitmapFontFileTest );
 class BitmapFontFileTest : public TestCase {    CPPUNIT_TEST( testShow );
     CPPUNIT_TEST_SUITE_END();
  private:   private:
   BitmapFontFile *ff;    BitmapFontFile *ff;
  public:   public:
   void setUp(){    void setUp();
     ff=new BitmapFontFile("jiskan24.bdf");    void tearDown();
   }    void testShow();
   void tearDown(){  
     delete ff;  
   }  
   void testShow(){  
     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 */  #endif /* _BITMAP_FONT_FILE_TEST_H */


Generate output suitable for use with a patch program
Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

ktanaka

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help