Fix tcu::TestStatus::isComplete()
authorPyry Haulos <phaulos@google.com>
Tue, 24 Mar 2015 19:40:29 +0000 (12:40 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 24 Mar 2015 19:40:29 +0000 (12:40 -0700)
Change-Id: Ie112bd5781a19edc8b19c2bbcb7ecb767b66e439

framework/common/tcuTestCase.hpp

index 4543ca7..00996c5 100644 (file)
@@ -181,7 +181,7 @@ class TestStatus
 public:
                                                TestStatus              (qpTestResult code, const std::string& description) : m_code(code), m_description(description) {}
 
-       bool                            isComplete              (void) const { return getCode() != QP_TEST_RESULT_LAST;                 }
+       bool                            isComplete              (void) const { return m_code != QP_TEST_RESULT_LAST;                    }
        qpTestResult            getCode                 (void) const { DE_ASSERT(isComplete()); return m_code;                  }
        const std::string&      getDescription  (void) const { DE_ASSERT(isComplete()); return m_description;   }