merge the formfield patch from ooo-build
[ooovba.git] / basegfx / test / basegfx3d.cxx
blob167fd54dca21c0293f6492dc2536ca38dfe773fa
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: basegfx3d.cxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 // MARKER(update_precomp.py): autogen include statement, do not remove
33 #include "precompiled_basegfx.hxx"
34 // autogenerated file with codegen.pl
36 #include <cppunit/simpleheader.hxx>
38 namespace basegfx3d
41 class b3dhommatrix : public CppUnit::TestFixture
43 public:
44 // initialise your test code values here.
45 void setUp()
49 void tearDown()
53 // insert your test code here.
54 // this is only demonstration code
55 void EmptyMethod()
57 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
58 CPPUNIT_ASSERT_STUB();
61 // Change the following lines only, if you add, remove or rename
62 // member functions of the current class,
63 // because these macros are need by auto register mechanism.
65 CPPUNIT_TEST_SUITE(b3dhommatrix);
66 CPPUNIT_TEST(EmptyMethod);
67 CPPUNIT_TEST_SUITE_END();
68 }; // class b3dhommatrix
71 class b3dhompoint : public CppUnit::TestFixture
73 public:
74 // initialise your test code values here.
75 void setUp()
79 void tearDown()
83 // insert your test code here.
84 void EmptyMethod()
86 CPPUNIT_ASSERT_STUB();
89 // Change the following lines only, if you add, remove or rename
90 // member functions of the current class,
91 // because these macros are need by auto register mechanism.
93 CPPUNIT_TEST_SUITE(b3dhompoint);
94 CPPUNIT_TEST(EmptyMethod);
95 CPPUNIT_TEST_SUITE_END();
96 }; // class b3dhompoint
99 class b3dpoint : public CppUnit::TestFixture
101 public:
102 // initialise your test code values here.
103 void setUp()
107 void tearDown()
111 // insert your test code here.
112 // this is only demonstration code
113 void EmptyMethod()
115 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
116 CPPUNIT_ASSERT_STUB();
119 // Change the following lines only, if you add, remove or rename
120 // member functions of the current class,
121 // because these macros are need by auto register mechanism.
123 CPPUNIT_TEST_SUITE(b3dpoint);
124 CPPUNIT_TEST(EmptyMethod);
125 CPPUNIT_TEST_SUITE_END();
126 }; // class b3dpoint
129 class b3drange : public CppUnit::TestFixture
131 public:
132 // initialise your test code values here.
133 void setUp()
137 void tearDown()
141 // insert your test code here.
142 void EmptyMethod()
144 CPPUNIT_ASSERT_STUB();
147 // Change the following lines only, if you add, remove or rename
148 // member functions of the current class,
149 // because these macros are need by auto register mechanism.
151 CPPUNIT_TEST_SUITE(b3drange);
152 CPPUNIT_TEST(EmptyMethod);
153 CPPUNIT_TEST_SUITE_END();
154 }; // class b3drange
157 class b3dtuple : public CppUnit::TestFixture
159 public:
160 // initialise your test code values here.
161 void setUp()
165 void tearDown()
169 // insert your test code here.
170 // this is only demonstration code
171 void EmptyMethod()
173 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
174 CPPUNIT_ASSERT_STUB();
177 // Change the following lines only, if you add, remove or rename
178 // member functions of the current class,
179 // because these macros are need by auto register mechanism.
181 CPPUNIT_TEST_SUITE(b3dtuple);
182 CPPUNIT_TEST(EmptyMethod);
183 CPPUNIT_TEST_SUITE_END();
184 }; // class b3dtuple
187 class b3dvector : public CppUnit::TestFixture
189 public:
190 // initialise your test code values here.
191 void setUp()
195 void tearDown()
199 // insert your test code here.
200 void EmptyMethod()
202 CPPUNIT_ASSERT_STUB();
205 // Change the following lines only, if you add, remove or rename
206 // member functions of the current class,
207 // because these macros are need by auto register mechanism.
209 CPPUNIT_TEST_SUITE(b3dvector);
210 CPPUNIT_TEST(EmptyMethod);
211 CPPUNIT_TEST_SUITE_END();
212 }; // class b3dvector
214 // -----------------------------------------------------------------------------
215 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(basegfx3d::b3dhommatrix, "basegfx3d");
216 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(basegfx3d::b3dhompoint, "basegfx3d");
217 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(basegfx3d::b3dpoint, "basegfx3d");
218 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(basegfx3d::b3drange, "basegfx3d");
219 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(basegfx3d::b3dtuple, "basegfx3d");
220 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(basegfx3d::b3dvector, "basegfx3d");
221 } // namespace basegfx3d
224 // -----------------------------------------------------------------------------
226 // this macro creates an empty function, which will called by the RegisterAllFunctions()
227 // to let the user the possibility to also register some functions by hand.
228 // NOADDITIONAL;