SaturateAtoms_singleDegree
Last change
on this file since cdac1d was 592be9, checked in by Frederik Heber <heber@…>, 13 years ago |
Moved unitests on Element... into subfolder src/Element/unittests.
- new Makefile is included in src/unitests/Makefile.am.
|
-
Property mode
set to
100644
|
File size:
938 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * ElementUnitTest.hpp
|
---|
3 | *
|
---|
4 | * Created on: Oct 29, 2009
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef ELEMENTUNITTEST_HPP_
|
---|
9 | #define ELEMENTUNITTEST_HPP_
|
---|
10 |
|
---|
11 | // include config.h
|
---|
12 | #ifdef HAVE_CONFIG_H
|
---|
13 | #include <config.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 |
|
---|
17 | #include <cppunit/extensions/HelperMacros.h>
|
---|
18 |
|
---|
19 |
|
---|
20 | class element;
|
---|
21 |
|
---|
22 | /********************************************** Test classes **************************************/
|
---|
23 |
|
---|
24 | class ElementTest : public CppUnit::TestFixture
|
---|
25 | {
|
---|
26 | CPPUNIT_TEST_SUITE( ElementTest) ;
|
---|
27 | CPPUNIT_TEST ( SetterTest );
|
---|
28 | CPPUNIT_TEST ( GetterTest );
|
---|
29 | CPPUNIT_TEST ( ComparisonTest );
|
---|
30 | CPPUNIT_TEST ( AssignmentTest );
|
---|
31 | CPPUNIT_TEST ( SerializeTest );
|
---|
32 | CPPUNIT_TEST_SUITE_END();
|
---|
33 |
|
---|
34 | public:
|
---|
35 | void setUp();
|
---|
36 | void tearDown();
|
---|
37 | void AssignmentTest();
|
---|
38 | void GetterTest();
|
---|
39 | void SetterTest();
|
---|
40 | void ComparisonTest();
|
---|
41 | void SerializeTest();
|
---|
42 |
|
---|
43 | private:
|
---|
44 | element *testelement;
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif /* ELEMENTUNITTEST_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.