diff options
author | Thierry Crozat | 2016-09-09 23:51:40 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-09-10 01:12:42 +0100 |
commit | 1f2a50bcd354e3aae80ce4f99e50f618a7b83e3c (patch) | |
tree | 872c1e77f3264360936c029e20a9ebc6bea6d1da /engines/testbed/webserver.cpp | |
parent | dff88b105885e0ed3766f5e86c0d7f606348634a (diff) | |
download | scummvm-rg350-1f2a50bcd354e3aae80ce4f99e50f618a7b83e3c.tar.gz scummvm-rg350-1f2a50bcd354e3aae80ce4f99e50f618a7b83e3c.tar.bz2 scummvm-rg350-1f2a50bcd354e3aae80ce4f99e50f618a7b83e3c.zip |
CLOUD: Move openUrl to OSystem
Diffstat (limited to 'engines/testbed/webserver.cpp')
-rw-r--r-- | engines/testbed/webserver.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/testbed/webserver.cpp b/engines/testbed/webserver.cpp index b4c69b278d..d46cea5585 100644 --- a/engines/testbed/webserver.cpp +++ b/engines/testbed/webserver.cpp @@ -23,7 +23,6 @@ #include "testbed/webserver.h" #include "backends/networking/sdl_net/localwebserver.h" #include "common/config-manager.h" -#include "backends/networking/browser/openurl.h" namespace Testbed { @@ -92,7 +91,7 @@ TestExitStatus WebserverTests::testIndexPage() { return kTestSkipped; } - Networking::Browser::openUrl(LocalServer.getAddress()); + g_system->openUrl(LocalServer.getAddress()); if (Testsuite::handleInteractiveInput( Common::String::format("The %s page opens well?", LocalServer.getAddress().c_str()), "Yes", "No", kOptionRight)) { @@ -118,7 +117,7 @@ TestExitStatus WebserverTests::testFilesPageInvalidParameterValue() { return kTestSkipped; } - Networking::Browser::openUrl(LocalServer.getAddress()+"files?path=error"); + g_system->openUrl(LocalServer.getAddress()+"files?path=error"); if (Testsuite::handleInteractiveInput( Common::String::format("The %sfiles?path=error page displays error message?", LocalServer.getAddress().c_str()), "Yes", "No", kOptionRight)) { @@ -144,7 +143,7 @@ TestExitStatus WebserverTests::testFilesPageCreateDirectory() { return kTestSkipped; } - Networking::Browser::openUrl(LocalServer.getAddress() + "files?path=/root/"); + g_system->openUrl(LocalServer.getAddress() + "files?path=/root/"); if (Testsuite::handleInteractiveInput( Common::String::format("You could go to %sfiles page, navigate to some directory with write access and create a directory there?", LocalServer.getAddress().c_str()), "Yes", "No", kOptionRight)) { @@ -170,7 +169,7 @@ TestExitStatus WebserverTests::testFilesPageUploadFile() { return kTestSkipped; } - Networking::Browser::openUrl(LocalServer.getAddress() + "files?path=/root/"); + g_system->openUrl(LocalServer.getAddress() + "files?path=/root/"); if (Testsuite::handleInteractiveInput( Common::String::format("You're able to upload a file in some directory with write access through %sfiles page?", LocalServer.getAddress().c_str()), "Yes", "No", kOptionRight)) { @@ -196,7 +195,7 @@ TestExitStatus WebserverTests::testFilesPageUploadDirectory() { return kTestSkipped; } - Networking::Browser::openUrl(LocalServer.getAddress() + "files?path=/root/"); + g_system->openUrl(LocalServer.getAddress() + "files?path=/root/"); if (Testsuite::handleInteractiveInput( Common::String::format("You're able to upload a directory into some directory with write access through %sfiles page using Chrome?", LocalServer.getAddress().c_str()), "Yes", "No", kOptionRight)) { @@ -222,7 +221,7 @@ TestExitStatus WebserverTests::testFilesPageDownloadFile() { return kTestSkipped; } - Networking::Browser::openUrl(LocalServer.getAddress() + "files?path=/root/"); + g_system->openUrl(LocalServer.getAddress() + "files?path=/root/"); if (Testsuite::handleInteractiveInput( Common::String::format("You're able to download a file through %sfiles page?", LocalServer.getAddress().c_str()), "Yes", "No", kOptionRight)) { |