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

Unified Diff: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.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/UpdateCheckTest.java
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java
index 8de255939fbdf9ca9864a942f0c5e9bafa2e8759..b888f325eb45af9642dc5038bbba3fd349b111a6 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java
@@ -85,9 +85,8 @@ public class UpdateCheckTest extends BaseJsTest
public void reset()
{
- jsEngine = new JsEngine(appInfo, new LazyLogSystem());
+ jsEngine = new JsEngine(appInfo, new LazyLogSystem(), webRequest);
jsEngine.setDefaultFileSystem(getContext().getFilesDir().getAbsolutePath());
- jsEngine.setWebRequest(webRequest);
jsEngine.setEventCallback("updateAvailable", eventCallback);
filterEngine = new FilterEngine(jsEngine);

Powered by Google App Engine
This is Rietveld