Commit 06ec57fd authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Declare KDevelop::ITestSuite* as metatype with the class definition

GIT_SILENT
parent a6fe60a1
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
#include "interfacesexport.h" #include "interfacesexport.h"
#include <QMetaType>
class KJob; class KJob;
class QString; class QString;
class QStringList; class QStringList;
...@@ -116,4 +118,6 @@ public: ...@@ -116,4 +118,6 @@ public:
} }
Q_DECLARE_METATYPE(KDevelop::ITestSuite*)
#endif // KDEVPLATFORM_ITESTSUITE_H #endif // KDEVPLATFORM_ITESTSUITE_H
...@@ -37,7 +37,6 @@ const char* TestCaseNameOne = "TestTestCaseOne"; ...@@ -37,7 +37,6 @@ const char* TestCaseNameOne = "TestTestCaseOne";
const char* TestCaseNameTwo = "TestTestCaseTwo"; const char* TestCaseNameTwo = "TestTestCaseTwo";
Q_DECLARE_METATYPE(KDevelop::TestResult) Q_DECLARE_METATYPE(KDevelop::TestResult)
Q_DECLARE_METATYPE(KDevelop::ITestSuite*)
class FakeTestSuite : public KDevelop::ITestSuite class FakeTestSuite : public KDevelop::ITestSuite
{ {
......
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
#include <QtTest> #include <QtTest>
#include <KJob> #include <KJob>
Q_DECLARE_METATYPE(KDevelop::ITestSuite*)
using namespace KDevelop; using namespace KDevelop;
void waitForSuites(IProject* project, int count, int max) void waitForSuites(IProject* project, int count, int max)
......
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