/* * IonUnitTest.hpp * * Created on: Mar 10, 2014 * Author: heber */ #ifndef IONUNITTEST_HPP_ #define IONUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include class element; class ion; /********************************************** Test classes **************************************/ class IonTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( IonTest) ; CPPUNIT_TEST ( CreationTest ); CPPUNIT_TEST ( GetterTest ); CPPUNIT_TEST ( ComparisonTest ); CPPUNIT_TEST ( AssignmentTest ); CPPUNIT_TEST ( SerializeTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void CreationTest(); void AssignmentTest(); void GetterTest(); void ComparisonTest(); void SerializeTest(); private: element *testelement; ion *testion; }; #endif /* IONUNITTEST_HPP_ */