Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/yacs.git] / src / yacsloader / Test / YacsLoaderTest.hxx
1 // Copyright (C) 2006-2012  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef _YACSLOADERTEST_HXX_
21 #define _YACSLOADERTEST_HXX_
22
23 #include <cppunit/extensions/HelperMacros.h>
24 #include <string>
25 #include <map>
26
27 namespace YACS
28 {
29   class YacsLoaderTest: public CppUnit::TestFixture
30   {
31     CPPUNIT_TEST_SUITE( YacsLoaderTest );
32     CPPUNIT_TEST(aschema);
33     CPPUNIT_TEST(bschema);
34     CPPUNIT_TEST(cschema);
35     CPPUNIT_TEST(dschema);
36     CPPUNIT_TEST(eschema);
37     CPPUNIT_TEST(fschema);
38     CPPUNIT_TEST(oschema);
39     CPPUNIT_TEST(pschema);
40     CPPUNIT_TEST(schema);
41     CPPUNIT_TEST(schema2);
42     CPPUNIT_TEST(forloop1);
43     CPPUNIT_TEST(forloop2);
44     CPPUNIT_TEST(forloop3);
45     CPPUNIT_TEST(forloop4);
46     CPPUNIT_TEST(forloop5);
47     CPPUNIT_TEST(forloop6);
48     CPPUNIT_TEST(forloop7);
49     CPPUNIT_TEST(switch1);
50     CPPUNIT_TEST(switch2);
51     CPPUNIT_TEST(switch3);
52     CPPUNIT_TEST(switch4);
53     CPPUNIT_TEST(switch5);
54     CPPUNIT_TEST(switch6);
55     CPPUNIT_TEST(switch7);
56     CPPUNIT_TEST(switch8);
57     CPPUNIT_TEST(switch9);
58     CPPUNIT_TEST(whiles);
59     CPPUNIT_TEST(forwhile1);
60     CPPUNIT_TEST(blocs);
61     CPPUNIT_TEST(refcnt);
62     CPPUNIT_TEST(foreachs);
63     //CPPUNIT_TEST(sinlines);
64     CPPUNIT_TEST(bools);
65     CPPUNIT_TEST(integers);
66     CPPUNIT_TEST(doubles);
67     CPPUNIT_TEST(strings);
68     CPPUNIT_TEST(objrefs);
69     CPPUNIT_TEST(structs);
70     CPPUNIT_TEST(cpps);
71     CPPUNIT_TEST(datanodes);
72     CPPUNIT_TEST(optimizers);
73     CPPUNIT_TEST(pyremotes);
74     CPPUNIT_TEST_SUITE_END();
75       
76   public:
77       
78     void setUp();
79     void tearDown();
80       
81     void aschema();
82     void bschema();
83     void cschema();
84     void dschema();
85     void eschema();
86     void fschema();
87     void oschema();
88     void pschema();
89     void schema();
90     void schema2();
91     void forloop1();
92     void forloop2();
93     void forloop3();
94     void forloop4();
95     void forloop5();
96     void forloop6();
97     void forloop7();
98     void switch1();
99     void switch2();
100     void switch3();
101     void switch4();
102     void switch5();
103     void switch6();
104     void switch7();
105     void switch8();
106     void switch9();
107     void whiles();
108     void forwhile1();
109     void blocs();
110     void refcnt();
111     void foreachs();
112     void sinlines();
113     void bools();
114     void integers();
115     void doubles();
116     void strings();
117     void objrefs();
118     void structs();
119     void cpps();
120     void datanodes();
121     void optimizers();
122     void pyremotes();
123      
124   protected:
125       
126   private:
127
128   };
129
130 }
131
132 #endif