Definition at line 62 of file LoopbackTestRunner.h.
62 {
63
64
67 runTest(
"GET /",
"http://localhost:8080/",
69 break;
70
72 runTest(
"GET /ping",
"http://localhost:8080/ping",
74 break;
75
77 runTest(
"GET /test",
"http://localhost:8080/test",
79 break;
80
83
85 Serial.println(
"======================");
86 Serial.print(
"Test Results: ");
91 Serial.println(
"======================");
92
94 if (success) {
95 Serial.println(
"✓ All loopback tests PASSED");
96 } else {
97 Serial.println(
"✗ Loopback tests FAILED");
98 }
99
100
103 }
105 break;
106
107 default:
108
109 break;
110 }
111 }
CompletionCallback completion_callback
void runTest(const char *name, const char *url, const char *expected, TestSequenceState next_state)
References callback_invoked, COMPLETED, completion_callback, has_failure, IDLE, RUNNING_GET_PING, RUNNING_GET_ROOT, RUNNING_GET_TEST, runTest(), Serial, state, tests_passed, and tests_run.