xrpld
Loading...
Searching...
No Matches
beast::unit_test::detail::Reporter< class >::Results Struct Reference
Collaboration diagram for beast::unit_test::detail::Reporter< class >::Results:

Public Types

using run_time = std::pair<std::string, clock_type::duration>

Public Member Functions

void add (SuiteResults const &r)

Public Attributes

std::size_t suites = 0
std::size_t cases = 0
std::size_t total = 0
std::size_t failed = 0
std::vector< run_timetop
clock_type::time_point start = clock_type::now()

Static Public Attributes

static constexpr auto kMaxTop = 10

Detailed Description

template<class = void>
struct beast::unit_test::detail::Reporter< class >::Results

Definition at line 61 of file reporter.h.

Member Typedef Documentation

◆ run_time

template<class = void>
using beast::unit_test::detail::Reporter< class >::Results::run_time = std::pair<std::string, clock_type::duration>

Definition at line 63 of file reporter.h.

Member Function Documentation

◆ add()

template<class Unused>
void beast::unit_test::detail::Reporter< Unused >::Results::add ( SuiteResults const & r)

Definition at line 131 of file reporter.h.

Member Data Documentation

◆ kMaxTop

template<class = void>
auto beast::unit_test::detail::Reporter< class >::Results::kMaxTop = 10
staticconstexpr

Definition at line 65 of file reporter.h.

◆ suites

template<class = void>
std::size_t beast::unit_test::detail::Reporter< class >::Results::suites = 0

Definition at line 67 of file reporter.h.

◆ cases

template<class = void>
std::size_t beast::unit_test::detail::Reporter< class >::Results::cases = 0

Definition at line 68 of file reporter.h.

◆ total

template<class = void>
std::size_t beast::unit_test::detail::Reporter< class >::Results::total = 0

Definition at line 69 of file reporter.h.

◆ failed

template<class = void>
std::size_t beast::unit_test::detail::Reporter< class >::Results::failed = 0

Definition at line 70 of file reporter.h.

◆ top

template<class = void>
std::vector<run_time> beast::unit_test::detail::Reporter< class >::Results::top

Definition at line 71 of file reporter.h.

◆ start

template<class = void>
clock_type::time_point beast::unit_test::detail::Reporter< class >::Results::start = clock_type::now()

Definition at line 72 of file reporter.h.