Line | |
---|
1 | /*
|
---|
2 | * stackclassunittest.hpp
|
---|
3 | *
|
---|
4 | * Created on: Oct 27, 2009
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef STACKCLASSUNITTEST_HPP_
|
---|
9 | #define STACKCLASSUNITTEST_HPP_
|
---|
10 |
|
---|
11 | /*********************************************** includes ***********************************/
|
---|
12 |
|
---|
13 | #include <cppunit/extensions/HelperMacros.h>
|
---|
14 |
|
---|
15 | #include "stackclass.hpp"
|
---|
16 |
|
---|
17 | /********************************************** Test classes **************************************/
|
---|
18 |
|
---|
19 | class StackClassTest : public CppUnit::TestFixture
|
---|
20 | {
|
---|
21 | CPPUNIT_TEST_SUITE( StackClassTest) ;
|
---|
22 | CPPUNIT_TEST ( TestImplementation );
|
---|
23 | CPPUNIT_TEST_SUITE_END();
|
---|
24 |
|
---|
25 | public:
|
---|
26 | void setUp();
|
---|
27 | void tearDown();
|
---|
28 | void TestImplementation();
|
---|
29 |
|
---|
30 |
|
---|
31 | private:
|
---|
32 | StackClass<int *> *Stack;
|
---|
33 | };
|
---|
34 |
|
---|
35 |
|
---|
36 | #endif /* STACKCLASSUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.