Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java |
similarity index 75% |
copy from libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java |
copy to libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java |
index c3e766416f6dae1a9e28158f5542dd0648a50455..6b0f3d1c51ffa2d0354e489f7ff6f9dc538f8050 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingWebRequest.java |
@@ -17,7 +17,12 @@ |
package org.adblockplus.libadblockplus; |
-public interface Disposable |
-{ |
- public void dispose(); |
+import java.util.List; |
+ |
+public class ThrowingWebRequest extends WebRequest { |
+ |
+ @Override |
+ public ServerResponse httpGET(String url, List<HeaderEntry> headers) { |
+ throw new RuntimeException("Unexpected GET: " + url); |
+ } |
} |