|
FastLED 3.9.15
|
Definition at line 28 of file LoopbackTestRunner.h.
#include <LoopbackTestRunner.h>
Collaboration diagram for LoopbackTestRunner:Public Types | |
| using | CompletionCallback = fl::function<void(bool success, int passed, int total)> |
| enum | TestSequenceState { IDLE , RUNNING_GET_ROOT , WAITING_GET_ROOT , RUNNING_GET_PING , WAITING_GET_PING , RUNNING_GET_TEST , WAITING_GET_TEST , COMPLETED } |
Public Member Functions | |
| LoopbackTestRunner () | |
| TestSequenceState | getState () const |
| bool | isRunning () const |
| void | startTests (CompletionCallback callback) |
| void | update () |
Private Member Functions | |
| void | runTest (const char *name, const char *url, const char *expected, TestSequenceState next_state) |
Private Attributes | |
| bool | callback_invoked |
| CompletionCallback | completion_callback |
| bool | has_failure |
| TestSequenceState | state |
| int | tests_passed |
| int | tests_run |