Index: test/UpdateCheck.cpp |
diff --git a/test/UpdateCheck.cpp b/test/UpdateCheck.cpp |
index ddcbb8f5fc980b68bc0b8fc6ccd8cc8f579c1c90..d5ddf4e917db775ae193c49dc2b2a537f241c163 100644 |
--- a/test/UpdateCheck.cpp |
+++ b/test/UpdateCheck.cpp |
@@ -101,7 +101,7 @@ namespace |
TEST_F(UpdateCheckTest, RequestFailure) |
{ |
- webRequest->response.status = AdblockPlus::WebRequest::NS_ERROR_FAILURE; |
+ webRequest->response.status = IWebRequest::NS_ERROR_FAILURE; |
appInfo.name = "1"; |
appInfo.version = "3"; |
@@ -136,7 +136,7 @@ TEST_F(UpdateCheckTest, RequestFailure) |
TEST_F(UpdateCheckTest, UpdateAvailable) |
{ |
- webRequest->response.status = AdblockPlus::WebRequest::NS_OK; |
+ webRequest->response.status = IWebRequest::NS_OK; |
webRequest->response.responseStatus = 200; |
webRequest->response.responseText = "{\"1\": {\"version\":\"3.1\",\"url\":\"https://foo.bar/\"}}"; |
@@ -175,7 +175,7 @@ TEST_F(UpdateCheckTest, UpdateAvailable) |
TEST_F(UpdateCheckTest, ApplicationUpdateAvailable) |
{ |
- webRequest->response.status = AdblockPlus::WebRequest::NS_OK; |
+ webRequest->response.status = IWebRequest::NS_OK; |
webRequest->response.responseStatus = 200; |
webRequest->response.responseText = "{\"1/4\": {\"version\":\"3.1\",\"url\":\"https://foo.bar/\"}}"; |
@@ -199,7 +199,7 @@ TEST_F(UpdateCheckTest, ApplicationUpdateAvailable) |
TEST_F(UpdateCheckTest, WrongApplication) |
{ |
- webRequest->response.status = AdblockPlus::WebRequest::NS_OK; |
+ webRequest->response.status = IWebRequest::NS_OK; |
webRequest->response.responseStatus = 200; |
webRequest->response.responseText = "{\"1/3\": {\"version\":\"3.1\",\"url\":\"https://foo.bar/\"}}"; |
@@ -221,7 +221,7 @@ TEST_F(UpdateCheckTest, WrongApplication) |
TEST_F(UpdateCheckTest, WrongVersion) |
{ |
- webRequest->response.status = AdblockPlus::WebRequest::NS_OK; |
+ webRequest->response.status = IWebRequest::NS_OK; |
webRequest->response.responseStatus = 200; |
webRequest->response.responseText = "{\"1\": {\"version\":\"3\",\"url\":\"https://foo.bar/\"}}"; |
@@ -243,7 +243,7 @@ TEST_F(UpdateCheckTest, WrongVersion) |
TEST_F(UpdateCheckTest, WrongURL) |
{ |
- webRequest->response.status = AdblockPlus::WebRequest::NS_OK; |
+ webRequest->response.status = IWebRequest::NS_OK; |
webRequest->response.responseStatus = 200; |
webRequest->response.responseText = "{\"1\": {\"version\":\"3.1\",\"url\":\"http://insecure/\"}}"; |