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

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

Issue 29536604: Issue 5556 - Update to use libadblockplus revision hg:566f64c8a2a8 (Closed) Base URL: github.com:abby-sergz/libadblockplus-android.git
Patch Set: address comment Created Sept. 7, 2017, 12:54 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 cc8b6acda05c6ce70c2feeaf4c47bfbbddeb8c39..8e482f809539f2d123c07b850b7f948cae1e3e04 100644
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/tests/UpdaterTest.java
@@ -21,19 +21,17 @@ import org.adblockplus.libadblockplus.AppInfo;
import org.adblockplus.libadblockplus.FilterEngine;
import org.adblockplus.libadblockplus.JsEngine;
import org.adblockplus.libadblockplus.MockWebRequest;
+import org.adblockplus.libadblockplus.WebRequest;
import android.test.AndroidTestCase;
-public class UpdaterTest extends AndroidTestCase
+public class UpdaterTest extends BaseFilterEngineTest
{
protected MockWebRequest mockWebRequest;
- protected FilterEngine filterEngine;
@Override
protected void setUp() throws Exception
{
- super.setUp();
-
AppInfo appInfo = AppInfo
.builder()
.setName("test")
@@ -41,7 +39,7 @@ public class UpdaterTest extends AndroidTestCase
.build();
mockWebRequest = new MockWebRequest();
- JsEngine jsEngine = new JsEngine(appInfo, null, mockWebRequest,
+ jsEngine = new JsEngine(appInfo, null, mockWebRequest,
getContext().getFilesDir().getAbsolutePath());
filterEngine = new FilterEngine(jsEngine);

Powered by Google App Engine
This is Rietveld