Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecSuiteRunResult.h
Go to the documentation of this file.
1#pragma once
2
3#include <Specs/API.h>
4
5namespace SpecsCpp {
6
8 std::uint32_t _passed = 0;
9 std::uint32_t _failed = 0;
10 std::uint32_t _not_run = 0;
11 std::uint32_t _timed_out = 0;
12
13 public:
14 std::uint32_t passed() const override { return _passed; }
15 std::uint32_t failed() const override { return _failed; }
16 std::uint32_t not_run() const override { return _not_run; }
17 std::uint32_t timed_out() const override { return _timed_out; }
18
19 void increment_passed() { ++_passed; }
20 void increment_failed() { ++_failed; }
21 void increment_not_run() { ++_not_run; }
22 void increment_timed_out() { ++_timed_out; }
23 };
24}
std::uint32_t failed() const override
std::uint32_t timed_out() const override
std::uint32_t passed() const override
std::uint32_t not_run() const override
Definition API.h:3