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

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

Issue 29524565: Issue 5556 - remove LogSystem setters (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: address comments Created Aug. 24, 2017, 1:38 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 a4cf8ac4630e4b75990cf7e66a374471b91554fc..8de255939fbdf9ca9864a942f0c5e9bafa2e8759 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java
@@ -85,8 +85,7 @@ public class UpdateCheckTest extends BaseJsTest
public void reset()
{
- jsEngine = new JsEngine(appInfo);
- jsEngine.setLogSystem(new LazyLogSystem());
+ jsEngine = new JsEngine(appInfo, new LazyLogSystem());
jsEngine.setDefaultFileSystem(getContext().getFilesDir().getAbsolutePath());
jsEngine.setWebRequest(webRequest);
jsEngine.setEventCallback("updateAvailable", eventCallback);

Powered by Google App Engine
This is Rietveld