diff options
author | Alexander Tkachev | 2016-07-18 16:47:37 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 830c7b578caaec95594e190d6727892b1973df62 (patch) | |
tree | 4546a4645e213b3a06713a31dbde90ba674d1ca7 /engines/testbed/testbed.cpp | |
parent | b616cc3d574a4120440044b386f690f6d7f51a5f (diff) | |
download | scummvm-rg350-830c7b578caaec95594e190d6727892b1973df62.tar.gz scummvm-rg350-830c7b578caaec95594e190d6727892b1973df62.tar.bz2 scummvm-rg350-830c7b578caaec95594e190d6727892b1973df62.zip |
TESTBED: Add Webserver test suite
Two tests now: IP resolving and index page check.
Diffstat (limited to 'engines/testbed/testbed.cpp')
-rw-r--r-- | engines/testbed/testbed.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/testbed/testbed.cpp b/engines/testbed/testbed.cpp index a2f9aad16c..5943d47c58 100644 --- a/engines/testbed/testbed.cpp +++ b/engines/testbed/testbed.cpp @@ -42,6 +42,9 @@ #ifdef USE_LIBCURL #include "testbed/cloud.h" #endif +#ifdef USE_SDL_NET +#include "testbed/webserver.h" +#endif namespace Testbed { @@ -142,6 +145,11 @@ TestbedEngine::TestbedEngine(OSystem *syst) ts = new CloudTestSuite(); _testsuiteList.push_back(ts); #endif +#ifdef USE_SDL_NET + // Webserver + ts = new WebserverTestSuite(); + _testsuiteList.push_back(ts); +#endif } TestbedEngine::~TestbedEngine() { |