Resolves tdf#138051 - UI picker text blocks buttons
[LibreOffice.git] / basegfx / test / basegfx3d.cxx
blobb03560d6588ee9062932c4abfc0a30bc7627a673
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 <cppunit/TestFixture.h>
21 #include <cppunit/extensions/HelperMacros.h>
23 namespace basegfx3d
25 class b3dhommatrix : public CppUnit::TestFixture
27 public:
28 // insert your test code here.
29 // this is only demonstration code
30 void EmptyMethod()
32 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
35 // Change the following lines only, if you add, remove or rename
36 // member functions of the current class,
37 // because these macros are need by auto register mechanism.
39 CPPUNIT_TEST_SUITE(b3dhommatrix);
40 CPPUNIT_TEST(EmptyMethod);
41 CPPUNIT_TEST_SUITE_END();
42 }; // class b3dhommatrix
44 class b3dpoint : public CppUnit::TestFixture
46 public:
47 // insert your test code here.
48 // this is only demonstration code
49 void EmptyMethod()
51 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
54 // Change the following lines only, if you add, remove or rename
55 // member functions of the current class,
56 // because these macros are need by auto register mechanism.
58 CPPUNIT_TEST_SUITE(b3dpoint);
59 CPPUNIT_TEST(EmptyMethod);
60 CPPUNIT_TEST_SUITE_END();
61 }; // class b3dpoint
63 class b3drange : public CppUnit::TestFixture
65 public:
66 // insert your test code here.
67 void EmptyMethod() {}
69 // Change the following lines only, if you add, remove or rename
70 // member functions of the current class,
71 // because these macros are need by auto register mechanism.
73 CPPUNIT_TEST_SUITE(b3drange);
74 CPPUNIT_TEST(EmptyMethod);
75 CPPUNIT_TEST_SUITE_END();
76 }; // class b3drange
78 class b3dtuple : public CppUnit::TestFixture
80 public:
81 // insert your test code here.
82 // this is only demonstration code
83 void EmptyMethod()
85 // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
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.
92 CPPUNIT_TEST_SUITE(b3dtuple);
93 CPPUNIT_TEST(EmptyMethod);
94 CPPUNIT_TEST_SUITE_END();
95 }; // class b3dtuple
97 class b3dvector : public CppUnit::TestFixture
99 public:
100 // insert your test code here.
101 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(b3dvector);
108 CPPUNIT_TEST(EmptyMethod);
109 CPPUNIT_TEST_SUITE_END();
110 }; // class b3dvector
112 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dhommatrix);
113 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dpoint);
114 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3drange);
115 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dtuple);
116 CPPUNIT_TEST_SUITE_REGISTRATION(basegfx3d::b3dvector);
117 } // namespace basegfx3d
119 // this macro creates an empty function, which will called by the RegisterAllFunctions()
120 // to let the user the possibility to also register some functions by hand.
121 // NOADDITIONAL;
123 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */