]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Get rid of empty test file
authorsfan5 <sfan5@live.de>
Sun, 9 Jan 2022 17:34:36 +0000 (18:34 +0100)
committersfan5 <sfan5@live.de>
Sun, 30 Jan 2022 12:49:26 +0000 (13:49 +0100)
src/unittest/CMakeLists.txt
src/unittest/test_player.cpp [deleted file]

index 9364363644c1150f3f1e8ad47d8a1f951b38e55a..92f31ecaca942234769ff6d767ab4e324c781fa8 100644 (file)
@@ -20,7 +20,6 @@ set (UNITTEST_SRCS
        ${CMAKE_CURRENT_SOURCE_DIR}/test_noderesolver.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/test_noise.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/test_objdef.cpp
-       ${CMAKE_CURRENT_SOURCE_DIR}/test_player.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/test_profiler.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/test_random.cpp
        ${CMAKE_CURRENT_SOURCE_DIR}/test_schematic.cpp
diff --git a/src/unittest/test_player.cpp b/src/unittest/test_player.cpp
deleted file mode 100644 (file)
index 6990b40..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Minetest
-Copyright (C) 2010-2016 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU Lesser General Public License as published by
-the Free Software Foundation; either version 2.1 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU Lesser General Public License for more details.
-
-You should have received a copy of the GNU Lesser General Public License along
-with this program; if not, write to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-*/
-
-#include "test.h"
-
-#include "exceptions.h"
-#include "remoteplayer.h"
-#include "server.h"
-
-class TestPlayer : public TestBase
-{
-public:
-       TestPlayer() { TestManager::registerTestModule(this); }
-       const char *getName() { return "TestPlayer"; }
-
-       void runTests(IGameDef *gamedef);
-};
-
-static TestPlayer g_test_instance;
-
-void TestPlayer::runTests(IGameDef *gamedef)
-{
-}