/* * DiscreteValueTest.hpp * * Created on: Sep 28, 2011 * Author: heber */ #ifndef DISCRETEVALUETEST_HPP_ #define DISCRETEVALUETEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include class DiscreteValueTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( DiscreteValueTest ) ; CPPUNIT_TEST ( findIndexOfValueTest ); CPPUNIT_TEST ( isValidAsStringTest ); CPPUNIT_TEST ( isValidTest ); CPPUNIT_TEST ( appendValidValueTest ); CPPUNIT_TEST ( settergetterTest ); CPPUNIT_TEST ( settergetterAsStringTest ); CPPUNIT_TEST ( comparatorTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void findIndexOfValueTest(); void isValidAsStringTest(); void isValidTest(); void appendValidValueTest(); void settergetterTest(); void settergetterAsStringTest(); void comparatorTest(); private: std::vector ValidValues; }; #endif /* DISCRETEVALUETEST_HPP_ */