Index: adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
diff --git a/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java b/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
index 2aa5c139002e268952c385f8fbd9cac51cb0ed2a..c474d977c83160a70211f4ef7afaf9ccf2ae29f3 100644 |
--- a/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
+++ b/adblock-android-tests/src/org/adblockplus/libadblockplus/tests/UpdateCheckTest.java |
@@ -31,7 +31,7 @@ import org.junit.Test; |
import java.util.List; |
-public class UpdateCheckTest extends BaseFilterEngineTest |
+public class UpdateCheckTest extends BaseUpdaterTest |
{ |
protected String previousRequestUrl; |
@@ -82,7 +82,7 @@ public class UpdateCheckTest extends BaseFilterEngineTest |
public void reset() throws InterruptedException |
{ |
- disposeFilterEngine(); |
+ disposeUpdater(); |
if (platform != null) |
{ |
platform.dispose(); |
@@ -91,7 +91,7 @@ public class UpdateCheckTest extends BaseFilterEngineTest |
getContext().getFilesDir().getAbsolutePath()); |
platform.setUpJsEngine(appInfo); |
platform.getJsEngine().setEventCallback("updateAvailable", eventCallback); |
- filterEngine = platform.getFilterEngine(); |
+ updater = platform.getUpdater(); |
} |
@Override |
@@ -106,7 +106,7 @@ public class UpdateCheckTest extends BaseFilterEngineTest |
public void forceUpdateCheck() |
{ |
- filterEngine.forceUpdateCheck(updateCallback); |
+ updater.forceUpdateCheck(updateCallback); |
} |
@Test |
@@ -132,7 +132,7 @@ public class UpdateCheckTest extends BaseFilterEngineTest |
assertTrue(updateCallbackCalled); |
assertNotNull(updateError); |
- String expectedUrl = filterEngine.getPref("update_url_release").asString(); |
+ String expectedUrl = updater.getPref("update_url_release").asString(); |
String platform = "libadblockplus"; |
String platformVersion = "1.0"; |