xrpld
Loading...
Searching...
No Matches
beast::unit_test::CaseResults::Test Struct Reference

Holds the result of evaluating one test condition. More...

#include <results.h>

Collaboration diagram for beast::unit_test::CaseResults::Test:

Public Member Functions

 Test (bool pass)
 Test (bool pass, std::string reason)

Public Attributes

bool pass
std::string reason

Detailed Description

Holds the result of evaluating one test condition.

Definition at line 20 of file results.h.

Constructor & Destructor Documentation

◆ Test() [1/2]

beast::unit_test::CaseResults::Test::Test ( bool pass)
explicit

Definition at line 22 of file results.h.

◆ Test() [2/2]

beast::unit_test::CaseResults::Test::Test ( bool pass,
std::string reason )

Definition at line 26 of file results.h.

Member Data Documentation

◆ pass

bool beast::unit_test::CaseResults::Test::pass

Definition at line 30 of file results.h.

◆ reason

std::string beast::unit_test::CaseResults::Test::reason

Definition at line 31 of file results.h.