7#include <xrpl/beast/unit_test/results.h>
8#include <xrpl/beast/unit_test/runner.h>
52 if (!
case_.tests.empty())
65 case_.tests.fail(reason);
Holds a set of test condition outcomes in a testcase.
Results const & report() const
Returns a report with the results of all completed suites.
void onCaseBegin(std::string const &name) override
Called when a new case starts.
void onSuiteBegin(SuiteInfo const &info) override
Called when a new suite starts.
void onCaseEnd() override
Called when a new case ends.
void onFail(std::string const &reason) override
Called for each failing condition.
void onSuiteEnd() override
Called when a suite ends.
void onPass() override
Called for each passing condition.
void onLog(std::string const &s) override
Called when a test logs output.
Holds the results of running a set of testsuites.
Associates a unit test type with metadata.
std::string fullName() const
Return the canonical suite name as a string.
Holds the set of testcase results in a suite.