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 25 of file results.h.

Constructor & Destructor Documentation

◆ Test() [1/2]

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

Definition at line 27 of file results.h.

◆ Test() [2/2]

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

Definition at line 31 of file results.h.

Member Data Documentation

◆ pass

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

Definition at line 35 of file results.h.

◆ reason

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

Definition at line 36 of file results.h.