xrpld
Loading...
Searching...
No Matches
beast::unit_test::CaseResults Class Reference

Holds a set of test condition outcomes in a testcase. More...

#include <results.h>

Collaboration diagram for beast::unit_test::CaseResults:

Classes

struct  Test
 Holds the result of evaluating one test condition. More...
class  TestsT
class  LogT

Public Member Functions

 CaseResults (std::string name="")
std::string const & name () const
 Returns the name of this testcase.

Public Attributes

TestsT tests
 Memberspace for a container of test condition outcomes.
LogT log
 Memberspace for a container of testcase log messages.

Private Attributes

std::string name_

Detailed Description

Holds a set of test condition outcomes in a testcase.

Definition at line 16 of file results.h.

Constructor & Destructor Documentation

◆ CaseResults()

beast::unit_test::CaseResults::CaseResults ( std::string name = "")
explicit

Definition at line 87 of file results.h.

Member Function Documentation

◆ name()

std::string const & beast::unit_test::CaseResults::name ( ) const
nodiscard

Returns the name of this testcase.

Definition at line 93 of file results.h.

Member Data Documentation

◆ name_

std::string beast::unit_test::CaseResults::name_
private

Definition at line 84 of file results.h.

◆ tests

TestsT beast::unit_test::CaseResults::tests

Memberspace for a container of test condition outcomes.

Definition at line 99 of file results.h.

◆ log

LogT beast::unit_test::CaseResults::log

Memberspace for a container of testcase log messages.

Definition at line 102 of file results.h.