OTest2
A C++ testing framework
|
Namespaces | |
Private | |
Functions | |
template<typename... Args_> | |
void | switchState (void(*state_)(Args_... args_), int delay_) TEST_CONTROLS_SWITCH_STATE() |
Prepare next test state. More... | |
void OTest2::Controls::switchState | ( | void(*)(Args_... args_) | state_, |
int | delay_ | ||
) |
Prepare next test state.
This method prepares run of a state, which will be run after leaving of current test state.
state_ | The next state |
delay_ | Delay in milliseconds between end of the current state and run of the next state. |