/* * DiscreteValueUnitTest.hpp * * Created on: Sep 28, 2011 * Author: heber */ #ifndef DISCRETEVALUEUNITTEST_HPP_ #define DISCRETEVALUEUNITTEST_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 ( isValidValueTest ); CPPUNIT_TEST ( isValidTest ); CPPUNIT_TEST ( appendValidValueTest ); CPPUNIT_TEST ( settergetterTest ); CPPUNIT_TEST ( settergetterValueTest ); CPPUNIT_TEST ( comparatorTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void findIndexOfValueTest(); void isValidValueTest(); void isValidTest(); void appendValidValueTest(); void settergetterTest(); void settergetterValueTest(); void comparatorTest(); private: std::vector ValidValues; }; #endif /* DISCRETEVALUEUNITTEST_HPP_ */