Generated on for Gecode by doxygen 1.15.0
Test::TestExecutionControl Class Reference

Public Member Functions

 TestExecutionControl (const std::vector< Base * > &tests0, const Options &options0, int thread_count)
int get_result ()
 Get the current result (either EXIT_SUCCESS or EXIT_FAILURE). Requires all threads to be done first.
void await_test_runners_completed ()

Detailed Description

Class that manages the state and control for running tests.

Definition at line 300 of file test.cpp.

Constructor & Destructor Documentation

◆ TestExecutionControl()

Test::TestExecutionControl::TestExecutionControl ( const std::vector< Base * > & tests0,
const Options & options0,
int thread_count )
inline

Definition at line 333 of file test.cpp.

Member Function Documentation

◆ get_result()

int Test::TestExecutionControl::get_result ( )
inline

Get the current result (either EXIT_SUCCESS or EXIT_FAILURE). Requires all threads to be done first.

Definition at line 339 of file test.cpp.

◆ await_test_runners_completed()

void Test::TestExecutionControl::await_test_runners_completed ( )
inline

Wait for test-runners to be completed.

Important: may only be called once by a single thread!

Definition at line 348 of file test.cpp.


The documentation for this class was generated from the following file: