Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal
diff options
context:
space:
mode:
authorPhil Nash2014-12-30 18:24:31 +0000
committerPhil Nash2014-12-30 18:24:31 +0000
commit6817bb099db44744cc32da193cbe710ffcead8b8 (patch)
tree7763a90b53f3c10dd3af4525ce3da103c0c068e8 /include/internal
parent3e0c5018123e7e32b3c35f4169cbdca4bcb8f332 (diff)
downloadcatch3-6817bb099db44744cc32da193cbe710ffcead8b8.tar.gz
Fixed up xml reporter and rebased
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/catch_totals.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/catch_totals.hpp b/include/internal/catch_totals.hpp
index 75386ae8..551e2947 100644
--- a/include/internal/catch_totals.hpp
+++ b/include/internal/catch_totals.hpp
@@ -35,6 +35,9 @@ namespace Catch {
bool allPassed() const {
return failed == 0 && failedButOk == 0;
}
+ bool allOk() const {
+ return failed == 0;
+ }
std::size_t passed;
std::size_t failed;