23 #ifndef _SALOMEDSTEST_HXX_
24 #define _SALOMEDSTEST_HXX_
26 #include <cppunit/extensions/HelperMacros.h>
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(SALOMEDS)
32 # if defined SALOMEDSTEST_EXPORTS || defined SALOMEDSTest_EXPORTS
33 # define SALOMEDSTEST_EXPORT __declspec( dllexport )
35 # define SALOMEDSTEST_EXPORT __declspec( dllimport )
38 # define SALOMEDSTEST_EXPORT
47 CPPUNIT_TEST( testAttributeComment );
48 CPPUNIT_TEST( testAttributeDrawable );
49 CPPUNIT_TEST( testAttributeExpandable );
50 CPPUNIT_TEST( testAttributeExternalFileDef );
51 CPPUNIT_TEST( testAttributeFileType );
52 CPPUNIT_TEST( testAttributeFlags );
53 CPPUNIT_TEST( testAttributeGraphic );
54 CPPUNIT_TEST( testAttributeIOR );
55 CPPUNIT_TEST( testAttributeInteger );
56 CPPUNIT_TEST( testAttributeLocalID );
57 CPPUNIT_TEST( testAttributeName );
58 CPPUNIT_TEST( testAttributeOpened );
59 CPPUNIT_TEST( testAttributeParameter );
60 CPPUNIT_TEST( testAttributePersistentRef );
61 CPPUNIT_TEST( testAttributePixMap );
62 CPPUNIT_TEST( testAttributePythonObject );
63 CPPUNIT_TEST( testAttributeReal );
64 CPPUNIT_TEST( testAttributeSelectable );
65 CPPUNIT_TEST( testAttributeSequenceOfInteger );
66 CPPUNIT_TEST( testAttributeSequenceOfReal );
67 CPPUNIT_TEST( testAttributeStudyProperties );
68 CPPUNIT_TEST( testAttributeTableOfInteger );
69 CPPUNIT_TEST( testAttributeTableOfReal );
70 CPPUNIT_TEST( testAttributeTableOfString );
71 CPPUNIT_TEST( testAttributeTarget );
72 CPPUNIT_TEST( testAttributeTextColor );
73 CPPUNIT_TEST( testAttributeTextHighlightColor );
74 CPPUNIT_TEST( testAttributeTreeNode );
75 CPPUNIT_TEST( testAttributeUserID );
76 CPPUNIT_TEST( testChildIterator );
77 CPPUNIT_TEST( testSComponent );
78 CPPUNIT_TEST( testSComponentIterator );
79 CPPUNIT_TEST( testSObject );
80 CPPUNIT_TEST( testStudy );
81 CPPUNIT_TEST( testStudyBuilder );
82 CPPUNIT_TEST( testStudyManager );
83 CPPUNIT_TEST( testUseCase );
86 CPPUNIT_TEST_SUITE_END();
91 virtual void tearDown();
94 void testAttributeComment();
95 void testAttributeDrawable();
96 void testAttributeExpandable();
97 void testAttributeExternalFileDef();
98 void testAttributeFileType();
99 void testAttributeFlags();
100 void testAttributeGraphic();
101 void testAttributeIOR();
102 void testAttributeInteger();
103 void testAttributeLocalID();
104 void testAttributeName();
105 void testAttributeOpened();
106 void testAttributeParameter();
107 void testAttributePersistentRef();
108 void testAttributePixMap();
109 void testAttributePythonObject();
110 void testAttributeReal();
111 void testAttributeSelectable();
112 void testAttributeSequenceOfInteger();
113 void testAttributeSequenceOfReal();
114 void testAttributeStudyProperties();
115 void testAttributeTableOfInteger();
116 void testAttributeTableOfReal();
117 void testAttributeTableOfString();
118 void testAttributeTarget();
119 void testAttributeTextColor();
120 void testAttributeTextHighlightColor();
121 void testAttributeTreeNode();
122 void testAttributeUserID();
125 void testChildIterator();
126 void testSComponent();
127 void testSComponentIterator();
130 void testStudyBuilder();
131 void testStudyManager();
136 SALOMEDS::StudyManager_var
_sm;
192 virtual void setUp();