1 #ifndef __XAO_FIELD_TEST_HXX__
2 #define __XAO_FIELD_TEST_HXX__
4 #include <cppunit/extensions/HelperMacros.h>
6 #include "../XAO_Xao.hxx"
7 #include "../XAO_Field.hxx"
8 #include "../XAO_Step.hxx"
12 class FieldTest: public CppUnit::TestFixture
14 CPPUNIT_TEST_SUITE(FieldTest);
15 CPPUNIT_TEST(testBooleanField);
16 CPPUNIT_TEST(testDoubleField);
17 CPPUNIT_TEST(testIntegerField);
18 CPPUNIT_TEST(testStringField);
19 CPPUNIT_TEST(testBooleanStep);
20 CPPUNIT_TEST(testIntegerStep);
21 CPPUNIT_TEST(testDoubleStep);
22 CPPUNIT_TEST(testStringStep);
23 CPPUNIT_TEST(testBooleanStepValues);
24 CPPUNIT_TEST(testIntegerStepValues);
25 CPPUNIT_TEST(testDoubleStepValues);
26 CPPUNIT_TEST(testStringStepValues);
27 CPPUNIT_TEST(testSetComponents);
28 CPPUNIT_TEST_SUITE_END();
35 Field* testField(XAO::Type type);
36 void testBooleanField();
37 void testIntegerField();
38 void testDoubleField();
39 void testStringField();
41 void testStep(XAO::Type type, Step* step);
42 void testBooleanStep();
43 void testIntegerStep();
44 void testDoubleStep();
45 void testStringStep();
47 void testBooleanStepValues();
48 void testIntegerStepValues();
49 void testDoubleStepValues();
50 void testStringStepValues();
51 void testSetComponents();
55 #endif // __XAO_FIELD_TEST_HXX__