forked from qt-creator/qt-creator
AutoTest: Introduce ITestTreeItem
Preparation for having separated test tree items with a common base. Change-Id: I3735f582cc96910e971f5a41c799cc0729a10a58 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -286,7 +286,7 @@ TestConfiguration *BoostTestTreeItem::testConfiguration() const
|
||||
if (itemType == TestSuite || itemType == TestCase) {
|
||||
QStringList testCases;
|
||||
if (itemType == TestSuite) {
|
||||
forFirstLevelChildren([&testCases](TestTreeItem *child) {
|
||||
forFirstLevelChildItems([&testCases](TestTreeItem *child) {
|
||||
QTC_ASSERT(child, return);
|
||||
if (auto boostItem = static_cast<BoostTestTreeItem *>(child)) {
|
||||
if (boostItem->enabled()) {
|
||||
|
||||
Reference in New Issue
Block a user