fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / basegfx / test / basegfx3d.cxx
bloba6faf6a4e92db14192fa40cd216e83c412d93cb8
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:
31 // initialise your test code values here.
32 void setUp()
36 void tearDown()
40 // insert your test code here.
41 // this is only demonstration code
42 void EmptyMethod()
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
59 public:
60 // initialise your test code values here.
61 void setUp()
65 void tearDown()
69 // insert your test code here.
70 // this is only demonstration code
71 void EmptyMethod()
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();
83 }; // class b3dpoint
86 class b3drange : public CppUnit::TestFixture
88 public:
89 // initialise your test code values here.
90 void setUp()
94 void tearDown()
98 // insert your test code here.
99 void EmptyMethod()
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();
110 }; // class b3drange
113 class b3dtuple : public CppUnit::TestFixture
115 public:
116 // initialise your test code values here.
117 void setUp()
121 void tearDown()
125 // insert your test code here.
126 // this is only demonstration code
127 void EmptyMethod()
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();
139 }; // class b3dtuple
142 class b3dvector : public CppUnit::TestFixture
144 public:
145 // initialise your test code values here.
146 void setUp()
150 void tearDown()
154 // insert your test code here.
155 void EmptyMethod()
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.
181 // NOADDITIONAL;
183 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */