rippled
Public Member Functions | Public Attributes | List of all members
ripple::test::detail::multi_runner_base< IsParent >::inner Struct Reference
Collaboration diagram for ripple::test::detail::multi_runner_base< IsParent >::inner:
Collaboration graph
[legend]

Public Member Functions

std::size_t checkout_job_index ()
 
std::size_t checkout_test_index ()
 
bool any_failed () const
 
void any_failed (bool v)
 
std::size_t tests () const
 
std::size_t suites () const
 
void inc_keep_alive_count ()
 
std::size_t get_keep_alive_count ()
 
void add (results const &r)
 
template<class S >
void print_results (S &s)
 

Public Attributes

std::atomic< std::size_tjob_index_ {0}
 
std::atomic< std::size_ttest_index_ {0}
 
std::atomic< bool > any_failed_ {false}
 
std::atomic< std::size_tkeep_alive_ {0}
 
boost::interprocess::interprocess_mutex m_
 
detail::results results_
 

Detailed Description

template<bool IsParent>
struct ripple::test::detail::multi_runner_base< IsParent >::inner

Definition at line 109 of file multi_runner.h.

Member Function Documentation

◆ checkout_job_index()

template<bool IsParent>
std::size_t ripple::test::detail::multi_runner_base< IsParent >::inner::checkout_job_index

Definition at line 160 of file multi_runner.cpp.

◆ checkout_test_index()

template<bool IsParent>
std::size_t ripple::test::detail::multi_runner_base< IsParent >::inner::checkout_test_index

Definition at line 167 of file multi_runner.cpp.

◆ any_failed() [1/2]

template<bool IsParent>
bool ripple::test::detail::multi_runner_base< IsParent >::inner::any_failed

Definition at line 174 of file multi_runner.cpp.

◆ any_failed() [2/2]

template<bool IsParent>
void ripple::test::detail::multi_runner_base< IsParent >::inner::any_failed ( bool  v)

Definition at line 181 of file multi_runner.cpp.

◆ tests()

template<bool IsParent>
std::size_t ripple::test::detail::multi_runner_base< IsParent >::inner::tests

Definition at line 188 of file multi_runner.cpp.

◆ suites()

template<bool IsParent>
std::size_t ripple::test::detail::multi_runner_base< IsParent >::inner::suites

Definition at line 196 of file multi_runner.cpp.

◆ inc_keep_alive_count()

template<bool IsParent>
void ripple::test::detail::multi_runner_base< IsParent >::inner::inc_keep_alive_count

Definition at line 204 of file multi_runner.cpp.

◆ get_keep_alive_count()

template<bool IsParent>
std::size_t ripple::test::detail::multi_runner_base< IsParent >::inner::get_keep_alive_count

Definition at line 211 of file multi_runner.cpp.

◆ add()

template<bool IsParent>
void ripple::test::detail::multi_runner_base< IsParent >::inner::add ( results const &  r)

Definition at line 218 of file multi_runner.cpp.

◆ print_results()

template<bool IsParent>
template<class S >
void ripple::test::detail::multi_runner_base< IsParent >::inner::print_results ( S &  s)

Definition at line 227 of file multi_runner.cpp.

Member Data Documentation

◆ job_index_

template<bool IsParent>
std::atomic<std::size_t> ripple::test::detail::multi_runner_base< IsParent >::inner::job_index_ {0}

Definition at line 111 of file multi_runner.h.

◆ test_index_

template<bool IsParent>
std::atomic<std::size_t> ripple::test::detail::multi_runner_base< IsParent >::inner::test_index_ {0}

Definition at line 112 of file multi_runner.h.

◆ any_failed_

template<bool IsParent>
std::atomic<bool> ripple::test::detail::multi_runner_base< IsParent >::inner::any_failed_ {false}

Definition at line 113 of file multi_runner.h.

◆ keep_alive_

template<bool IsParent>
std::atomic<std::size_t> ripple::test::detail::multi_runner_base< IsParent >::inner::keep_alive_ {0}

Definition at line 118 of file multi_runner.h.

◆ m_

template<bool IsParent>
boost::interprocess::interprocess_mutex ripple::test::detail::multi_runner_base< IsParent >::inner::m_
mutable

Definition at line 120 of file multi_runner.h.

◆ results_

template<bool IsParent>
detail::results ripple::test::detail::multi_runner_base< IsParent >::inner::results_

Definition at line 121 of file multi_runner.h.