AutoTest: Limit search for test tree items to respective root

If searching for a test tree item matching a QtTestResult
we can safely limit searching to the subtree holding
QtTests or QuickTests.
Additionally store information whether it is a Quick or
pure Qt test into the result to limit it to a single root.

Change-Id: I240e778448d99434d188d90a110dfa4f1934c950
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2017-10-25 14:31:57 +02:00
parent eaf4b67461
commit e412a800b0
9 changed files with 66 additions and 26 deletions

View File

@@ -28,6 +28,14 @@
#include "../itestframework.h"
namespace Autotest {
namespace QuickTest {
namespace Constants {
const char FRAMEWORK_NAME[] = "QtQuickTest";
} // namespace Constants
} // namespace QuickTest
namespace Internal {
class QuickTestFramework : public ITestFramework