Index: adblock-android-tests/src/org/adblockplus/libadblockplus/UpdaterTest.java |
diff --git a/adblock-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java b/adblock-android-tests/src/org/adblockplus/libadblockplus/UpdaterTest.java |
similarity index 69% |
rename from adblock-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java |
rename to adblock-android-tests/src/org/adblockplus/libadblockplus/UpdaterTest.java |
index 6af8ab8df43a3db3036ab833900a70f802cd1ab7..fd9967a752d390e6112c22cb0452e3f40dcf5797 100644 |
--- a/adblock-android-tests/src/org/adblockplus/libadblockplus/LazyWebRequest.java |
+++ b/adblock-android-tests/src/org/adblockplus/libadblockplus/UpdaterTest.java |
@@ -17,16 +17,19 @@ |
package org.adblockplus.libadblockplus; |
-import java.util.List; |
- |
-public class LazyWebRequest implements WebRequest |
+public class UpdaterTest extends BaseFilterEngineTest |
{ |
+ protected MockWebRequest mockWebRequest; |
+ |
@Override |
- public ServerResponse httpGET(String url, List<HeaderEntry> headers) |
+ protected void setUp() throws Exception |
{ |
- while (true) |
- { |
- |
- } |
+ mockWebRequest = new MockWebRequest(); |
+ setWebRequest(mockWebRequest); |
+ setAppInfo(AppInfo.builder() |
+ .setName("test") |
+ .setVersion("1.0.1") |
+ .build()); |
+ super.setUp(); |
} |
} |