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

Unified Diff: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java

Issue 29526696: Issue 5556 - remove WebRequest setter (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: Created Aug. 24, 2017, 5:24 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
Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
index 3ea81d2bad3aa3c7778b6b83b2a1874a9f62c810..9c2b920b37b0613fdea7350613da6dd62cd27916 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
@@ -40,9 +40,8 @@ public class UpdaterTest extends AndroidTestCase
.setVersion("1.0.1")
.build();
- JsEngine jsEngine = new JsEngine(appInfo);
mockWebRequest = new MockWebRequest();
- jsEngine.setWebRequest(mockWebRequest);
+ JsEngine jsEngine = new JsEngine(appInfo, mockWebRequest);
jsEngine.setDefaultFileSystem(getContext().getFilesDir().getAbsolutePath());
filterEngine = new FilterEngine(jsEngine);

Powered by Google App Engine
This is Rietveld