|
Last change
on this file since e651e7 was 53f32e, checked in by Saskia Metzler <metzler@…>, 16 years ago |
|
temp commit
|
-
Property mode
set to
100644
|
|
File size:
703 bytes
|
| Line | |
|---|
| 1 | /*
|
|---|
| 2 | * memoryallocatorunittest.hpp
|
|---|
| 3 | */
|
|---|
| 4 |
|
|---|
| 5 | #ifndef MEMORYALLOCATORTEST_HPP_
|
|---|
| 6 | #define MEMORYALLOCATORTEST_HPP_
|
|---|
| 7 |
|
|---|
| 8 | #include <cppunit/extensions/HelperMacros.h>
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | /********************************************** Test classes **************************************/
|
|---|
| 12 |
|
|---|
| 13 | class MemoryAllocatorTest : public CppUnit::TestFixture
|
|---|
| 14 | {
|
|---|
| 15 | CPPUNIT_TEST_SUITE( MemoryAllocatorTest) ;
|
|---|
| 16 | CPPUNIT_TEST ( MallocTest );
|
|---|
| 17 | CPPUNIT_TEST ( CallocTest );
|
|---|
| 18 | CPPUNIT_TEST ( ReAllocTest );
|
|---|
| 19 | CPPUNIT_TEST ( FreeTest );
|
|---|
| 20 | CPPUNIT_TEST_SUITE_END();
|
|---|
| 21 |
|
|---|
| 22 | public:
|
|---|
| 23 | void setUp();
|
|---|
| 24 | void tearDown();
|
|---|
| 25 |
|
|---|
| 26 | void MallocTest();
|
|---|
| 27 | void CallocTest();
|
|---|
| 28 | void ReAllocTest();
|
|---|
| 29 | void FreeTest();
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 | #endif /* MEMORYALLOCATORTEST_HPP_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.