00001 #include <cppunit/TestCaller.h> 00002 #include <cppunit/TestCase.h> 00003 #include <cppunit/TestSuite.h> 00004 00005 #include "prog.h" 00006 00007 class ParserTest : public CppUnit::TestCase { 00008 protected: 00009 00010 public: 00011 ParserTest(std::string name) : CppUnit::TestCase (name) 00012 {} 00013 00014 virtual void registerTests(CppUnit::TestSuite* suite); 00015 00016 int countTestCases () const; 00017 00018 void setUp (); 00019 void tearDown (); 00020 00021 void testRead (); 00022 void testExp (); 00023 }; 00024