Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / basegfx / test / basegfx3d.cxx
blob951553e8d64d18d4838336fc1f78d99e6d03677b
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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>
25 namespace basegfx3d
28 class b3dhommatrix : public CppUnit::TestFixture
30 public:
32 // insert your test code here.
33 // this is only demonstration code
34 void EmptyMethod()
36 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
39 // Change the following lines only, if you add, remove or rename
40 // member functions of the current class,
41 // because these macros are need by auto register mechanism.
43 CPPUNIT_TEST_SUITE(b3dhommatrix);
44 CPPUNIT_TEST(EmptyMethod);
45 CPPUNIT_TEST_SUITE_END();
46 }; // class b3dhommatrix
48 class b3dpoint : public CppUnit::TestFixture
50 public:
52 // insert your test code here.
53 // this is only demonstration code
54 void EmptyMethod()
56 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
59 // Change the following lines only, if you add, remove or rename
60 // member functions of the current class,
61 // because these macros are need by auto register mechanism.
63 CPPUNIT_TEST_SUITE(b3dpoint);
64 CPPUNIT_TEST(EmptyMethod);
65 CPPUNIT_TEST_SUITE_END();
66 }; // class b3dpoint
68 class b3drange : public CppUnit::TestFixture
70 public:
72 // insert your test code here.
73 void EmptyMethod()
77 // Change the following lines only, if you add, remove or rename
78 // member functions of the current class,
79 // because these macros are need by auto register mechanism.
81 CPPUNIT_TEST_SUITE(b3drange);
82 CPPUNIT_TEST(EmptyMethod);
83 CPPUNIT_TEST_SUITE_END();
84 }; // class b3drange
86 class b3dtuple : public CppUnit::TestFixture
88 public:
90 // insert your test code here.
91 // this is only demonstration code
92 void EmptyMethod()
94 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
97 // Change the following lines only, if you add, remove or rename
98 // member functions of the current class,
99 // because these macros are need by auto register mechanism.
101 CPPUNIT_TEST_SUITE(b3dtuple);
102 CPPUNIT_TEST(EmptyMethod);
103 CPPUNIT_TEST_SUITE_END();
104 }; // class b3dtuple
106 class b3dvector : public CppUnit::TestFixture
108 public:
110 // insert your test code here.
111 void EmptyMethod()
115 // Change the following lines only, if you add, remove or rename
116 // member functions of the current class,
117 // because these macros are need by auto register mechanism.
119 CPPUNIT_TEST_SUITE(b3dvector);
120 CPPUNIT_TEST(EmptyMethod);
121 CPPUNIT_TEST_SUITE_END();
122 }; // class b3dvector
124 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhommatrix);
125 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dpoint);
126 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3drange);
127 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dtuple);
128 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector);
129 } // namespace basegfx3d
131 // this macro creates an empty function, which will called by the RegisterAllFunctions()
132 // to let the user the possibility to also register some functions by hand.
133 // NOADDITIONAL;
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */