From b2462b3fea5f2477ceff51518070eeb64cea2bcf Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 17 Jan 2015 03:19:46 +0100 Subject: remove unused file Change-Id: I8cc33007e99da38869daa48ff898593abc52c4ac --- basegfx/CppunitTest_basegfx.mk | 1 - basegfx/test/basegfx1d.cxx | 63 ------------------------------------------ basegfx/test/basegfx2d.cxx | 5 ++-- 3 files changed, 2 insertions(+), 67 deletions(-) delete mode 100644 basegfx/test/basegfx1d.cxx (limited to 'basegfx') 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 - -#include -#include -#include -#include - -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 #include #include +#include #include #include @@ -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: */ -- cgit