/* * ElementUnitTest.hpp * * Created on: Oct 29, 2009 * Author: heber */ #ifndef ELEMENTUNITTEST_HPP_ #define ELEMENTUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include class element; /********************************************** Test classes **************************************/ class ElementTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( ElementTest) ; CPPUNIT_TEST ( SetterTest ); CPPUNIT_TEST ( GetterTest ); CPPUNIT_TEST ( ComparisonTest ); CPPUNIT_TEST ( AssignmentTest ); CPPUNIT_TEST ( SerializeTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void AssignmentTest(); void GetterTest(); void SetterTest(); void ComparisonTest(); void SerializeTest(); private: element *testelement; }; #endif /* ELEMENTUNITTEST_HPP_ */