Commit 5b6d31cd authored by Christian Stenger's avatar Christian Stenger

Tests: Enable externaltool auto tests

Change-Id: I39e610fa911cbbec93c32403392a0c35e3dfdb42
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 90b33316
......@@ -7,6 +7,7 @@ SUBDIRS += \
debugger \
diff \
extensionsystem \
externaltool \
environment \
generichighlighter \
profilewriter \
......
IDE_BUILD_TREE = $$OUT_PWD/../../../
QTC_PLUGIN_DEPENDS += coreplugin
include(../qttest.pri)
include(../../../src/plugins/coreplugin/coreplugin.pri)
include($$IDE_SOURCE_TREE/src/plugins/coreplugin/coreplugin_dependencies.pri)
include($$IDE_SOURCE_TREE/src/libs/utils/utils_dependencies.pri)
LIBS *= -L$$IDE_PLUGIN_PATH/QtProject
INCLUDEPATH *= $$IDE_SOURCE_TREE/src/plugins/coreplugin
INCLUDEPATH *= $$IDE_BUILD_TREE/src/plugins/coreplugin
SOURCES += tst_externaltooltest.cpp \
$$IDE_SOURCE_TREE/src/plugins/coreplugin/externaltool.cpp
......
......@@ -50,8 +50,7 @@ static const char TEST_XML1[] =
" <arguments>%{CurrentProjectFilePath}</arguments>"
" <workingdirectory>%{CurrentProjectPath}</workingdirectory>"
" </executable>"
"</externaltool>"
;
"</externaltool>";
static const char TEST_XML2[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
......@@ -213,7 +212,8 @@ void ExternaltoolTest::testReadLocale()
QCOMPARE(tool->description(), QString::fromLatin1("Grüezi"));
QCOMPARE(tool->displayName(), QString::fromLatin1("Grüezi"));
QCOMPARE(tool->displayCategory(), QString::fromLatin1("Grüezi"));
delete tool;}
delete tool;
}
QTEST_APPLESS_MAIN(ExternaltoolTest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment