Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #include <sal/types.h>
21 : #include <cppunit/TestAssert.h>
22 : #include <cppunit/TestFixture.h>
23 : #include <cppunit/extensions/HelperMacros.h>
24 :
25 : namespace basegfx3d
26 : {
27 :
28 3 : class b3dhommatrix : public CppUnit::TestFixture
29 : {
30 : public:
31 : // initialise your test code values here.
32 1 : void setUp() SAL_OVERRIDE
33 : {
34 1 : }
35 :
36 1 : void tearDown() SAL_OVERRIDE
37 : {
38 1 : }
39 :
40 : // insert your test code here.
41 : // this is only demonstration code
42 1 : void EmptyMethod()
43 : {
44 : // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
45 1 : }
46 :
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.
50 :
51 2 : CPPUNIT_TEST_SUITE(b3dhommatrix);
52 1 : CPPUNIT_TEST(EmptyMethod);
53 5 : CPPUNIT_TEST_SUITE_END();
54 : }; // class b3dhommatrix
55 :
56 3 : class b3dpoint : public CppUnit::TestFixture
57 : {
58 : public:
59 : // initialise your test code values here.
60 1 : void setUp() SAL_OVERRIDE
61 : {
62 1 : }
63 :
64 1 : void tearDown() SAL_OVERRIDE
65 : {
66 1 : }
67 :
68 : // insert your test code here.
69 : // this is only demonstration code
70 1 : void EmptyMethod()
71 : {
72 : // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
73 1 : }
74 :
75 : // Change the following lines only, if you add, remove or rename
76 : // member functions of the current class,
77 : // because these macros are need by auto register mechanism.
78 :
79 2 : CPPUNIT_TEST_SUITE(b3dpoint);
80 1 : CPPUNIT_TEST(EmptyMethod);
81 5 : CPPUNIT_TEST_SUITE_END();
82 : }; // class b3dpoint
83 :
84 3 : class b3drange : public CppUnit::TestFixture
85 : {
86 : public:
87 : // initialise your test code values here.
88 1 : void setUp() SAL_OVERRIDE
89 : {
90 1 : }
91 :
92 1 : void tearDown() SAL_OVERRIDE
93 : {
94 1 : }
95 :
96 : // insert your test code here.
97 1 : void EmptyMethod()
98 : {
99 1 : }
100 :
101 : // Change the following lines only, if you add, remove or rename
102 : // member functions of the current class,
103 : // because these macros are need by auto register mechanism.
104 :
105 2 : CPPUNIT_TEST_SUITE(b3drange);
106 1 : CPPUNIT_TEST(EmptyMethod);
107 5 : CPPUNIT_TEST_SUITE_END();
108 : }; // class b3drange
109 :
110 3 : class b3dtuple : public CppUnit::TestFixture
111 : {
112 : public:
113 : // initialise your test code values here.
114 1 : void setUp() SAL_OVERRIDE
115 : {
116 1 : }
117 :
118 1 : void tearDown() SAL_OVERRIDE
119 : {
120 1 : }
121 :
122 : // insert your test code here.
123 : // this is only demonstration code
124 1 : void EmptyMethod()
125 : {
126 : // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
127 1 : }
128 :
129 : // Change the following lines only, if you add, remove or rename
130 : // member functions of the current class,
131 : // because these macros are need by auto register mechanism.
132 :
133 2 : CPPUNIT_TEST_SUITE(b3dtuple);
134 1 : CPPUNIT_TEST(EmptyMethod);
135 5 : CPPUNIT_TEST_SUITE_END();
136 : }; // class b3dtuple
137 :
138 3 : class b3dvector : public CppUnit::TestFixture
139 : {
140 : public:
141 : // initialise your test code values here.
142 1 : void setUp() SAL_OVERRIDE
143 : {
144 1 : }
145 :
146 1 : void tearDown() SAL_OVERRIDE
147 : {
148 1 : }
149 :
150 : // insert your test code here.
151 1 : void EmptyMethod()
152 : {
153 1 : }
154 :
155 : // Change the following lines only, if you add, remove or rename
156 : // member functions of the current class,
157 : // because these macros are need by auto register mechanism.
158 :
159 2 : CPPUNIT_TEST_SUITE(b3dvector);
160 1 : CPPUNIT_TEST(EmptyMethod);
161 5 : CPPUNIT_TEST_SUITE_END();
162 : }; // class b3dvector
163 :
164 1 : CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhommatrix);
165 1 : CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dpoint);
166 1 : CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3drange);
167 1 : CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dtuple);
168 1 : CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector);
169 3 : } // namespace basegfx3d
170 :
171 : // this macro creates an empty function, which will called by the RegisterAllFunctions()
172 : // to let the user the possibility to also register some functions by hand.
173 : // NOADDITIONAL;
174 :
175 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|