[wadalabfont-kit] / jis2prim / MatchersTest.h  

View of /jis2prim/MatchersTest.h

Parent Directory | Revision Log
Revision: 1.4 - (download) (as text) (annotate)
Tue Aug 20 11:10:37 2002 UTC (22 years, 3 months ago) by ktanaka
Branch: MAIN
CVS Tags: SNAP-20040518, SNAP-20030702, SNAP-20030630, SNAP-20030624, HEAD
Changes since 1.3: +14 -60 lines
*** 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