diff --git a/addons/externaltools/autotests/CMakeLists.txt b/addons/externaltools/autotests/CMakeLists.txt index f460356d9..87666f4a2 100644 --- a/addons/externaltools/autotests/CMakeLists.txt +++ b/addons/externaltools/autotests/CMakeLists.txt @@ -1,11 +1,11 @@ include(ECMMarkAsTest) include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ) # Project Plugin -add_executable(toolrunner_test toolrunnertest.cpp) -add_test(plugin-toolrunner_test toolrunner_test) -target_link_libraries(toolrunner_test kdeinit_kate Qt5::Test) -ecm_mark_as_test(toolrunner_test) +add_executable(externaltools_test externaltooltest.cpp) +add_test(plugin-externaltools_test externaltools_test) +target_link_libraries(externaltools_test kdeinit_kate Qt5::Test) +ecm_mark_as_test(externaltools_test) diff --git a/addons/externaltools/autotests/toolrunnertest.cpp b/addons/externaltools/autotests/externaltooltest.cpp similarity index 97% rename from addons/externaltools/autotests/toolrunnertest.cpp rename to addons/externaltools/autotests/externaltooltest.cpp index c94aff7cf..a0dc6af8a 100644 --- a/addons/externaltools/autotests/toolrunnertest.cpp +++ b/addons/externaltools/autotests/externaltooltest.cpp @@ -1,43 +1,43 @@ /* This file is part of the KDE project * * Copyright 2019 Dominik Haumann * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library 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 * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with this library; see the file COPYING.LIB. If not, write to * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. */ -#include "toolrunnertest.h" +#include "externaltooltest.h" #include "../kateexternaltool.h" #include #include QTEST_MAIN(ToolRunnerTest) void ToolRunnerTest::initTestCase() { } void ToolRunnerTest::cleanupTestCase() { } void ToolRunnerTest::testToolRunner() { // QCOMPARE(FileUtil::commonParent(QLatin1String("~/dev/proj1"), QLatin1String("~/dev/proj222")), QLatin1String("~/dev/")); } // kate: space-indent on; indent-width 4; replace-tabs on; diff --git a/addons/externaltools/autotests/toolrunnertest.h b/addons/externaltools/autotests/externaltooltest.h similarity index 100% rename from addons/externaltools/autotests/toolrunnertest.h rename to addons/externaltools/autotests/externaltooltest.h