/* * FactoryUnitTest.hpp * * Created on: Jan 03, 2011 * Author: heber */ #ifndef FACTORYUNITTEST_HPP_ #define FACTORYUNITTEST_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif class ICreatorStub; #include class FactoryTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( FactoryTest ); CPPUNIT_TEST ( DistributionTest ); CPPUNIT_TEST ( getProductEnumTest ); CPPUNIT_TEST ( getProductNameTest ); CPPUNIT_TEST ( getProductTypeTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void DistributionTest(); void getProductEnumTest(); void getProductNameTest(); void getProductTypeTest(); private: ICreatorStub * rndA; ICreatorStub * rndB; ICreatorStub * rndA_1; }; #endif /* FACTORYUNITTEST_HPP_ */