1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28 29 // MARKER(update_precomp.py): autogen include statement, do not remove 30 #include "precompiled_basegfx.hxx" 31 // autogenerated file with codegen.pl 32 33 #include "preextstl.h" 34 #include "cppunit/TestAssert.h" 35 #include "cppunit/TestFixture.h" 36 #include "cppunit/extensions/HelperMacros.h" 37 #include "postextstl.h" 38 39 namespace basegfx3d 40 { 41 42 class b3dhommatrix : public CppUnit::TestFixture 43 { 44 public: 45 // initialise your test code values here. 46 void setUp() 47 { 48 } 49 50 void tearDown() 51 { 52 } 53 54 // insert your test code here. 55 // this is only demonstration code 56 void EmptyMethod() 57 { 58 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1); 59 } 60 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. 64 65 CPPUNIT_TEST_SUITE(b3dhommatrix); 66 CPPUNIT_TEST(EmptyMethod); 67 CPPUNIT_TEST_SUITE_END(); 68 }; // class b3dhommatrix 69 70 71 class b3dhompoint : public CppUnit::TestFixture 72 { 73 public: 74 // initialise your test code values here. 75 void setUp() 76 { 77 } 78 79 void tearDown() 80 { 81 } 82 83 // insert your test code here. 84 void EmptyMethod() 85 { 86 } 87 88 // Change the following lines only, if you add, remove or rename 89 // member functions of the current class, 90 // because these macros are need by auto register mechanism. 91 92 CPPUNIT_TEST_SUITE(b3dhompoint); 93 CPPUNIT_TEST(EmptyMethod); 94 CPPUNIT_TEST_SUITE_END(); 95 }; // class b3dhompoint 96 97 98 class b3dpoint : public CppUnit::TestFixture 99 { 100 public: 101 // initialise your test code values here. 102 void setUp() 103 { 104 } 105 106 void tearDown() 107 { 108 } 109 110 // insert your test code here. 111 // this is only demonstration code 112 void EmptyMethod() 113 { 114 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1); 115 } 116 117 // Change the following lines only, if you add, remove or rename 118 // member functions of the current class, 119 // because these macros are need by auto register mechanism. 120 121 CPPUNIT_TEST_SUITE(b3dpoint); 122 CPPUNIT_TEST(EmptyMethod); 123 CPPUNIT_TEST_SUITE_END(); 124 }; // class b3dpoint 125 126 127 class b3drange : public CppUnit::TestFixture 128 { 129 public: 130 // initialise your test code values here. 131 void setUp() 132 { 133 } 134 135 void tearDown() 136 { 137 } 138 139 // insert your test code here. 140 void EmptyMethod() 141 { 142 } 143 144 // Change the following lines only, if you add, remove or rename 145 // member functions of the current class, 146 // because these macros are need by auto register mechanism. 147 148 CPPUNIT_TEST_SUITE(b3drange); 149 CPPUNIT_TEST(EmptyMethod); 150 CPPUNIT_TEST_SUITE_END(); 151 }; // class b3drange 152 153 154 class b3dtuple : public CppUnit::TestFixture 155 { 156 public: 157 // initialise your test code values here. 158 void setUp() 159 { 160 } 161 162 void tearDown() 163 { 164 } 165 166 // insert your test code here. 167 // this is only demonstration code 168 void EmptyMethod() 169 { 170 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1); 171 } 172 173 // Change the following lines only, if you add, remove or rename 174 // member functions of the current class, 175 // because these macros are need by auto register mechanism. 176 177 CPPUNIT_TEST_SUITE(b3dtuple); 178 CPPUNIT_TEST(EmptyMethod); 179 CPPUNIT_TEST_SUITE_END(); 180 }; // class b3dtuple 181 182 183 class b3dvector : public CppUnit::TestFixture 184 { 185 public: 186 // initialise your test code values here. 187 void setUp() 188 { 189 } 190 191 void tearDown() 192 { 193 } 194 195 // insert your test code here. 196 void EmptyMethod() 197 { 198 } 199 200 // Change the following lines only, if you add, remove or rename 201 // member functions of the current class, 202 // because these macros are need by auto register mechanism. 203 204 CPPUNIT_TEST_SUITE(b3dvector); 205 CPPUNIT_TEST(EmptyMethod); 206 CPPUNIT_TEST_SUITE_END(); 207 }; // class b3dvector 208 209 // ----------------------------------------------------------------------------- 210 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhommatrix); 211 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhompoint); 212 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dpoint); 213 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3drange); 214 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dtuple); 215 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector); 216 } // namespace basegfx3d 217 218 219 // ----------------------------------------------------------------------------- 220 221 // this macro creates an empty function, which will called by the RegisterAllFunctions() 222 // to let the user the possibility to also register some functions by hand. 223 // NOADDITIONAL; 224 225