00001 #include <cppunit/TestCaller.h> 00002 #include <cppunit/TestCase.h> 00003 #include <cppunit/TestSuite.h> 00004 #include "util.h" 00005 #include "type.h" 00006 00007 00008 class TypeTest : public CppUnit::TestCase { 00009 protected: 00010 00011 public: 00012 TypeTest(std::string name) : CppUnit::TestCase (name) 00013 {} 00014 00015 virtual void registerTests(CppUnit::TestSuite* suite); 00016 00017 int countTestCases () const; 00018 00019 void setUp (); 00020 void tearDown (); 00021 00022 void testTypeLong (); 00023 void testNotEqual (); 00024 void testCompound(); 00025 00026 void testDataInterval(); 00027 void testDataIntervalOverlaps(); 00028 }; 00029