add API to test suite

This commit is contained in:
proddy
2021-06-10 23:10:26 +02:00
parent fad1b09e19
commit 50540f1f82
5 changed files with 34 additions and 7 deletions

View File

@@ -76,6 +76,7 @@ class AsyncWebServerRequest {
void * _tempObject;
AsyncWebServerRequest(AsyncWebServer *, AsyncClient *){};
AsyncWebServerRequest(){};
~AsyncWebServerRequest(){};
AsyncClient * client() {
@@ -119,6 +120,10 @@ class AsyncWebServerRequest {
return false;
}
bool hasParam(const char * name) const {
return false;
}
bool hasParam(const __FlashStringHelper * data) const {
return false;
}
@@ -139,6 +144,10 @@ class AsyncWebServerRequest {
return nullptr;
}
AsyncWebParameter * getParam(const char * name) const {
return nullptr;
}
AsyncWebParameter * getParam(size_t num) const {
return nullptr;
}