blob: 2ce4c67cc9c2d65fdbc82be4ea8c01121ad1afd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2019 Jochen Seemann
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "../testresult.h"
namespace Autotest {
namespace Internal {
class CatchResult : public TestResult
{
public:
CatchResult(const QString &id, const QString &name);
bool isDirectParentOf(const TestResult *other, bool *needsIntermediate) const override;
const ITestTreeItem *findTestTreeItem() const override;
void setSectionDepth(int depth) { m_sectionDepth = depth; }
int sectionDepth() const { return m_sectionDepth; }
private:
int m_sectionDepth = 0;
};
} // namespace Internal
} // namespace Autotest
|