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); |