Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/FilterEngine.cpp

Issue 29428650: Issue 5180 - introduce asynchronous web request (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: Created May 3, 2017, 2:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/BaseJsTest.cpp ('k') | test/Notification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/FilterEngine.cpp
diff --git a/test/FilterEngine.cpp b/test/FilterEngine.cpp
index 7791054f840376335cfb3f950ba56003b94b12cb..0ca2eaf189cbfdb864944f3bae3925441e680bf0 100644
--- a/test/FilterEngine.cpp
+++ b/test/FilterEngine.cpp
@@ -222,7 +222,7 @@ namespace
subscriptionUrlPrefix = "http://example";
ServerResponse exampleSubscriptionResponse;
exampleSubscriptionResponse.responseStatus = 200;
- exampleSubscriptionResponse.status = WebRequest::NS_OK;
+ exampleSubscriptionResponse.status = IWebRequest::NS_OK;
exampleSubscriptionResponse.responseText = "[Adblock Plus 2.0]\n||example.com";
webRequest->responses.emplace(subscriptionUrlPrefix, exampleSubscriptionResponse);
createParams.preconfiguredPrefs.emplace("first_run_subscription_auto_select", jsEngine->NewValue(false));
« no previous file with comments | « test/BaseJsTest.cpp ('k') | test/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld