rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
beast::unit_test::case_results::test Struct Reference

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

#include <results.h>

Collaboration diagram for beast::unit_test::case_results::test:
Collaboration graph
[legend]

Public Member Functions

 test (bool pass_)
 
 test (bool pass_, std::string const &reason_)
 

Public Attributes

bool pass
 
std::string reason
 

Detailed Description

Holds the result of evaluating one test condition.

Definition at line 21 of file results.h.

Constructor & Destructor Documentation

◆ test() [1/2]

beast::unit_test::case_results::test::test ( bool  pass_)
explicit

Definition at line 23 of file results.h.

◆ test() [2/2]

beast::unit_test::case_results::test::test ( bool  pass_,
std::string const &  reason_ 
)

Definition at line 27 of file results.h.

Member Data Documentation

◆ pass

bool beast::unit_test::case_results::test::pass

Definition at line 32 of file results.h.

◆ reason

std::string beast::unit_test::case_results::test::reason

Definition at line 33 of file results.h.