Commit 5fd7c0bc authored by Eike Ziller's avatar Eike Ziller

Reactivate locator tests as part of core plugin tests

After the move of locator into core plugin

Change-Id: Ie2504ca96f6a77206f0b77a5fc5698adb86b6a4c
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent e47acb15
......@@ -65,6 +65,9 @@ private slots:
#if defined(WITH_TESTS)
void testVcsManager_data();
void testVcsManager();
// Locator:
void test_basefilefilter();
void test_basefilefilter_data();
#endif
private:
......
......@@ -77,11 +77,6 @@ public slots:
private slots:
void updatePlaceholderText(Core::Command *command = 0);
#ifdef WITH_TESTS
void test_basefilefilter();
void test_basefilefilter_data();
#endif
private:
void loadSettings();
......
......@@ -28,7 +28,7 @@
****************************************************************************/
#include "locator.h"
#include "coreplugin.h"
#include "basefilefilter.h"
#include "locatorfiltertest.h"
......@@ -44,7 +44,7 @@ using namespace Core::Tests;
namespace {
QTC_DECLARE_MYTESTDATADIR("../../../tests/locators/")
QTC_DECLARE_MYTESTDATADIR("../../../../tests/locators/")
class MyBaseFileFilter : public Core::BaseFileFilter
{
......@@ -80,7 +80,7 @@ public:
Q_DECLARE_METATYPE(ReferenceData)
Q_DECLARE_METATYPE(QList<ReferenceData>)
void Core::Internal::Locator::test_basefilefilter()
void Core::Internal::CorePlugin::test_basefilefilter()
{
QFETCH(QStringList, testFiles);
QFETCH(QList<ReferenceData>, referenceDataList);
......@@ -97,7 +97,7 @@ void Core::Internal::Locator::test_basefilefilter()
}
}
void Core::Internal::Locator::test_basefilefilter_data()
void Core::Internal::CorePlugin::test_basefilefilter_data()
{
QTest::addColumn<QStringList>("testFiles");
QTest::addColumn<QList<ReferenceData> >("referenceDataList");
......
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