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

Public Member Functions

 TestExecutionControl (const std::vector< Base * > &tests0, const Options &options0, int thread_count)
int report_result ()
 Report the results after all threads have finished and return the exit status.
void await_test_runners_completed ()

Detailed Description

Class that manages the state and control for running tests.

Definition at line 424 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 458 of file test.cpp.

Member Function Documentation

◆ report_result()

int Test::TestExecutionControl::report_result ( )
inline

Report the results after all threads have finished and return the exit status.

Definition at line 464 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 474 of file test.cpp.


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