forked from qt-creator/qt-creator
TestRunner: Merge 2 public methods into one
Merge setSelectedTests() and prepareToRunTests() into runTests(). Change-Id: I908c41483f05eeaec186f362391941a797d66e6a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -42,12 +42,10 @@ public:
|
||||
|
||||
static TestRunner* instance();
|
||||
|
||||
void setSelectedTests(const QList<ITestConfiguration *> &selected);
|
||||
void runTests(TestRunMode mode, const QList<ITestConfiguration *> &selectedTests);
|
||||
void runTest(TestRunMode mode, const ITestTreeItem *item);
|
||||
bool isTestRunning() const { return m_executingTests; }
|
||||
|
||||
void prepareToRunTests(TestRunMode mode);
|
||||
|
||||
signals:
|
||||
void testRunStarted();
|
||||
void testRunFinished();
|
||||
@@ -71,7 +69,7 @@ private:
|
||||
void onProcessDone();
|
||||
void resetInternalPointers();
|
||||
|
||||
void runTests();
|
||||
void runTestsHelper();
|
||||
void debugTests();
|
||||
void runOrDebugTests();
|
||||
void reportResult(ResultType type, const QString &description);
|
||||
|
||||
Reference in New Issue
Block a user