summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-17 03:19:46 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-18 16:36:26 +0100
commitb2462b3fea5f2477ceff51518070eeb64cea2bcf (patch)
tree7fc92142ba6ffc4ed3db01f82377f3171d19a0ed /basegfx
parentd53103dd83bf20ac63485e229069f145e35b3009 (diff)
remove unused file
Change-Id: I8cc33007e99da38869daa48ff898593abc52c4ac
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/CppunitTest_basegfx.mk1
-rw-r--r--basegfx/test/basegfx1d.cxx63
-rw-r--r--basegfx/test/basegfx2d.cxx5
3 files changed, 2 insertions, 67 deletions
diff --git a/basegfx/CppunitTest_basegfx.mk b/basegfx/CppunitTest_basegfx.mk
index 8f34f3bb6728..fdffba3b1f7d 100644
--- a/basegfx/CppunitTest_basegfx.mk
+++ b/basegfx/CppunitTest_basegfx.mk
@@ -26,7 +26,6 @@ $(eval $(call gb_CppunitTest_use_libraries,basegfx,\
))
$(eval $(call gb_CppunitTest_add_exception_objects,basegfx,\
- basegfx/test/basegfx1d \
basegfx/test/basegfx2d \
basegfx/test/basegfx3d \
basegfx/test/boxclipper \
diff --git a/basegfx/test/basegfx1d.cxx b/basegfx/test/basegfx1d.cxx
deleted file mode 100644
index 9058956961c5..000000000000
--- a/basegfx/test/basegfx1d.cxx
+++ /dev/null
@@ -1,63 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <sal/types.h>
-
-#include <cppunit/TestAssert.h>
-#include <cppunit/TestFixture.h>
-#include <cppunit/extensions/HelperMacros.h>
-#include <cppunit/plugin/TestPlugIn.h>
-
-namespace basegfx1d
-{
-
-class b1drange : public CppUnit::TestFixture
-{
-public:
- // initialise your test code values here.
- void setUp() SAL_OVERRIDE
- {
- }
-
- void tearDown() SAL_OVERRIDE
- {
- }
-
- // insert your test code here.
- // this is only demonstration code
- void EmptyMethod()
- {
- // CPPUNIT_ASSERT_MESSAGE("a message", 1 == 1);
- }
-
- // Change the following lines only, if you add, remove or rename
- // member functions of the current class,
- // because these macros are need by auto register mechanism.
-
- CPPUNIT_TEST_SUITE(b1drange);
- CPPUNIT_TEST(EmptyMethod);
- CPPUNIT_TEST_SUITE_END();
-}; // class b1drange
-
-CPPUNIT_TEST_SUITE_REGISTRATION(basegfx1d::b1drange);
-} // namespace basegfx1d
-
-CPPUNIT_PLUGIN_IMPLEMENT();
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basegfx/test/basegfx2d.cxx b/basegfx/test/basegfx2d.cxx
index d9c3fe25fbb1..717fde0a538d 100644
--- a/basegfx/test/basegfx2d.cxx
+++ b/basegfx/test/basegfx2d.cxx
@@ -20,6 +20,7 @@
#include <cppunit/TestAssert.h>
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
+#include <cppunit/plugin/TestPlugIn.h>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
@@ -1292,8 +1293,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION(basegfx2d::b2dtuple);
CPPUNIT_TEST_SUITE_REGISTRATION(basegfx2d::bcolor);
} // namespace basegfx2d
-// this macro creates an empty function, which will called by the RegisterAllFunctions()
-// to let the user the possibility to also register some functions by hand.
-// NOADDITIONAL;
+CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */