OTest2
A C++ testing framework
Namespaces | Functions
OTest2::Controls Namespace Reference

Namespaces

 Private
 

Functions

template<typename... Args_>
void switchState (void(*state_)(Args_... args_), int delay_) TEST_CONTROLS_SWITCH_STATE()
 Prepare next test state. More...
 

Function Documentation

◆ switchState()

template<typename... Args_>
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.

Parameters
state_The next state
delay_Delay in milliseconds between end of the current state and run of the next state.