1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include <sal/types.h>
21 #include "cppunit/TestAssert.h"
22 #include "cppunit/TestFixture.h"
23 #include "cppunit/extensions/HelperMacros.h"
28 class b3dhommatrix
: public CppUnit::TestFixture
31 // initialise your test code values here.
40 // insert your test code here.
41 // this is only demonstration code
44 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
47 // Change the following lines only, if you add, remove or rename
48 // member functions of the current class,
49 // because these macros are need by auto register mechanism.
51 CPPUNIT_TEST_SUITE(b3dhommatrix
);
52 CPPUNIT_TEST(EmptyMethod
);
53 CPPUNIT_TEST_SUITE_END();
54 }; // class b3dhommatrix
57 class b3dpoint
: public CppUnit::TestFixture
60 // initialise your test code values here.
69 // insert your test code here.
70 // this is only demonstration code
73 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
76 // Change the following lines only, if you add, remove or rename
77 // member functions of the current class,
78 // because these macros are need by auto register mechanism.
80 CPPUNIT_TEST_SUITE(b3dpoint
);
81 CPPUNIT_TEST(EmptyMethod
);
82 CPPUNIT_TEST_SUITE_END();
86 class b3drange
: public CppUnit::TestFixture
89 // initialise your test code values here.
98 // insert your test code here.
103 // Change the following lines only, if you add, remove or rename
104 // member functions of the current class,
105 // because these macros are need by auto register mechanism.
107 CPPUNIT_TEST_SUITE(b3drange
);
108 CPPUNIT_TEST(EmptyMethod
);
109 CPPUNIT_TEST_SUITE_END();
113 class b3dtuple
: public CppUnit::TestFixture
116 // initialise your test code values here.
125 // insert your test code here.
126 // this is only demonstration code
129 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
132 // Change the following lines only, if you add, remove or rename
133 // member functions of the current class,
134 // because these macros are need by auto register mechanism.
136 CPPUNIT_TEST_SUITE(b3dtuple
);
137 CPPUNIT_TEST(EmptyMethod
);
138 CPPUNIT_TEST_SUITE_END();
142 class b3dvector
: public CppUnit::TestFixture
145 // initialise your test code values here.
154 // insert your test code here.
159 // Change the following lines only, if you add, remove or rename
160 // member functions of the current class,
161 // because these macros are need by auto register mechanism.
163 CPPUNIT_TEST_SUITE(b3dvector
);
164 CPPUNIT_TEST(EmptyMethod
);
165 CPPUNIT_TEST_SUITE_END();
166 }; // class b3dvector
168 // -----------------------------------------------------------------------------
169 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhommatrix
);
170 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dpoint
);
171 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3drange
);
172 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dtuple
);
173 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector
);
174 } // namespace basegfx3d
177 // -----------------------------------------------------------------------------
179 // this macro creates an empty function, which will called by the RegisterAllFunctions()
180 // to let the user the possibility to also register some functions by hand.
183 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */