diff options
author | Jarek Kobus <[email protected]> | 2023-01-14 13:37:33 +0100 |
---|---|---|
committer | Jarek Kobus <[email protected]> | 2023-01-25 09:35:39 +0000 |
commit | 18aebc785f80685ce46b45185f30833adf62098e (patch) | |
tree | d9dde0710197ebff410b9626e62474d7eb52a5c2 /src/plugins/autotest/testresult.h | |
parent | f9090dab0cfa835a0cc116a554d47ce011580634 (diff) |
TestResult: Change semantic for createIntermediateResultFor
Don't pass the other test result into createIntermediateResultFor().
Rename it to createIntermediateResult() and create a new result based
on this object. Fix the caller so that it calls
createIntermediateResult() for previously passed "other".
Change-Id: I2c87cee1daa4f400c867852d071bd5c91b84dfd5
Reviewed-by: <[email protected]>
Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/autotest/testresult.h')
-rw-r--r-- | src/plugins/autotest/testresult.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotest/testresult.h b/src/plugins/autotest/testresult.h index a136d356e18..08136db6f54 100644 --- a/src/plugins/autotest/testresult.h +++ b/src/plugins/autotest/testresult.h @@ -105,7 +105,7 @@ public: bool isDirectParentOf(const TestResult *other, bool *needsIntermediate) const; bool isIntermediateFor(const TestResult *other) const; - TestResult *createIntermediateResultFor(const TestResult *other) const; + TestResult *createIntermediateResult() const; private: QString m_id; |