xref: /aoo4110/main/basegfx/test/basegfx3d.cxx (revision b1cdbd2c)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 
25 // MARKER(update_precomp.py): autogen include statement, do not remove
26 #include "precompiled_basegfx.hxx"
27 // autogenerated file with codegen.pl
28 
29 #include "preextstl.h"
30 #include "cppunit/TestAssert.h"
31 #include "cppunit/TestFixture.h"
32 #include "cppunit/extensions/HelperMacros.h"
33 #include "postextstl.h"
34 
35 namespace basegfx3d
36 {
37 
38 class b3dhommatrix : public CppUnit::TestFixture
39 {
40 public:
41     // initialise your test code values here.
setUp()42     void setUp()
43     {
44     }
45 
tearDown()46     void tearDown()
47     {
48     }
49 
50     // insert your test code here.
51     // this is only demonstration code
EmptyMethod()52     void EmptyMethod()
53     {
54     	  // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
55     }
56 
57     // Change the following lines only, if you add, remove or rename
58     // member functions of the current class,
59     // because these macros are need by auto register mechanism.
60 
61     CPPUNIT_TEST_SUITE(b3dhommatrix);
62     CPPUNIT_TEST(EmptyMethod);
63     CPPUNIT_TEST_SUITE_END();
64 }; // class b3dhommatrix
65 
66 
67 class b3dhompoint : public CppUnit::TestFixture
68 {
69 public:
70     // initialise your test code values here.
setUp()71     void setUp()
72     {
73     }
74 
tearDown()75     void tearDown()
76     {
77     }
78 
79     // insert your test code here.
EmptyMethod()80     void EmptyMethod()
81     {
82     }
83 
84     // Change the following lines only, if you add, remove or rename
85     // member functions of the current class,
86     // because these macros are need by auto register mechanism.
87 
88     CPPUNIT_TEST_SUITE(b3dhompoint);
89     CPPUNIT_TEST(EmptyMethod);
90     CPPUNIT_TEST_SUITE_END();
91 }; // class b3dhompoint
92 
93 
94 class b3dpoint : public CppUnit::TestFixture
95 {
96 public:
97     // initialise your test code values here.
setUp()98     void setUp()
99     {
100     }
101 
tearDown()102     void tearDown()
103     {
104     }
105 
106     // insert your test code here.
107     // this is only demonstration code
EmptyMethod()108     void EmptyMethod()
109     {
110     	  // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
111     }
112 
113     // Change the following lines only, if you add, remove or rename
114     // member functions of the current class,
115     // because these macros are need by auto register mechanism.
116 
117     CPPUNIT_TEST_SUITE(b3dpoint);
118     CPPUNIT_TEST(EmptyMethod);
119     CPPUNIT_TEST_SUITE_END();
120 }; // class b3dpoint
121 
122 
123 class b3drange : public CppUnit::TestFixture
124 {
125 public:
126     // initialise your test code values here.
setUp()127     void setUp()
128     {
129     }
130 
tearDown()131     void tearDown()
132     {
133     }
134 
135     // insert your test code here.
EmptyMethod()136     void EmptyMethod()
137     {
138     }
139 
140     // Change the following lines only, if you add, remove or rename
141     // member functions of the current class,
142     // because these macros are need by auto register mechanism.
143 
144     CPPUNIT_TEST_SUITE(b3drange);
145     CPPUNIT_TEST(EmptyMethod);
146     CPPUNIT_TEST_SUITE_END();
147 }; // class b3drange
148 
149 
150 class b3dtuple : public CppUnit::TestFixture
151 {
152 public:
153     // initialise your test code values here.
setUp()154     void setUp()
155     {
156     }
157 
tearDown()158     void tearDown()
159     {
160     }
161 
162     // insert your test code here.
163     // this is only demonstration code
EmptyMethod()164     void EmptyMethod()
165     {
166     	  // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
167     }
168 
169     // Change the following lines only, if you add, remove or rename
170     // member functions of the current class,
171     // because these macros are need by auto register mechanism.
172 
173     CPPUNIT_TEST_SUITE(b3dtuple);
174     CPPUNIT_TEST(EmptyMethod);
175     CPPUNIT_TEST_SUITE_END();
176 }; // class b3dtuple
177 
178 
179 class b3dvector : public CppUnit::TestFixture
180 {
181 public:
182     // initialise your test code values here.
setUp()183     void setUp()
184     {
185     }
186 
tearDown()187     void tearDown()
188     {
189     }
190 
191     // insert your test code here.
EmptyMethod()192     void EmptyMethod()
193     {
194     }
195 
196     // Change the following lines only, if you add, remove or rename
197     // member functions of the current class,
198     // because these macros are need by auto register mechanism.
199 
200     CPPUNIT_TEST_SUITE(b3dvector);
201     CPPUNIT_TEST(EmptyMethod);
202     CPPUNIT_TEST_SUITE_END();
203 }; // class b3dvector
204 
205 // -----------------------------------------------------------------------------
206 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhommatrix);
207 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhompoint);
208 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dpoint);
209 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3drange);
210 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dtuple);
211 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector);
212 } // namespace basegfx3d
213 
214 
215 // -----------------------------------------------------------------------------
216 
217 // this macro creates an empty function, which will called by the RegisterAllFunctions()
218 // to let the user the possibility to also register some functions by hand.
219 // NOADDITIONAL;
220 
221