Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java |
similarity index 76% |
copy from libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java |
copy to libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java |
index c3e766416f6dae1a9e28158f5542dd0648a50455..b3784feb64510369c5eb87464fdca897684a4e86 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java |
@@ -17,7 +17,14 @@ |
package org.adblockplus.libadblockplus; |
-public interface Disposable |
+import java.util.List; |
+ |
+public class MockWebRequest extends WebRequest |
{ |
- public void dispose(); |
+ public ServerResponse response = new ServerResponse(); |
+ |
+ public ServerResponse httpGET(String url, List<HeaderEntry> headers) |
+ { |
+ return response; |
+ } |
} |