Refactored internal interfaces to use Totals instead of success/ fail
This commit is contained in:
1 parent
8d93949b19
commit
9bbaeba3ae
7 files changed
+43
-45
No files matched your search
@@ -391,21 +391,13 @@ namespace Catch
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
virtual std::size_t getSuccessCount
|
||||
virtual Totals getTotals
|
||||
()
|
||||
const
|
||||
{
|
||||
return m_totals.assertions.passed;
|
||||
return m_totals;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
virtual std:: size_t getFailureCount
|
||||
()
|
||||
const
|
||||
{
|
||||
return m_totals.assertions.failed;
|
||||
}
|
||||
|
||||
private: // IResultCapture
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user