/* * memoryallocatorunittest.hpp */ #ifndef MEMORYALLOCATORTEST_HPP_ #define MEMORYALLOCATORTEST_HPP_ #include /********************************************** Test classes **************************************/ class MemoryAllocatorTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE( MemoryAllocatorTest) ; CPPUNIT_TEST ( MallocTest ); CPPUNIT_TEST ( CallocTest ); CPPUNIT_TEST ( ReAllocTest ); CPPUNIT_TEST ( FreeTest ); CPPUNIT_TEST_SUITE_END(); public: void setUp(); void tearDown(); void MallocTest(); void CallocTest(); void ReAllocTest(); void FreeTest(); }; #endif /* MEMORYALLOCATORTEST_HPP_ */