mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
support Unity testing
This commit is contained in:
@@ -34,9 +34,11 @@ class WebAPIService {
|
||||
|
||||
void webAPIService(AsyncWebServerRequest * request, JsonVariant json);
|
||||
|
||||
#ifdef EMSESP_TEST
|
||||
// for test.cpp
|
||||
void webAPIService(AsyncWebServerRequest * request);
|
||||
#if defined(EMSESP_TEST)
|
||||
// for test.cpp and running unit tests
|
||||
void webAPIService(AsyncWebServerRequest * request);
|
||||
void storeResponse(JsonObject response);
|
||||
const char * getResponse();
|
||||
#endif
|
||||
|
||||
static uint32_t api_count() {
|
||||
|
||||
Reference in New Issue
Block a user