Index: libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
similarity index 71% |
copy from libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java |
copy to libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
index d92e47b05b8e7406c90f2e3e94c3088c2d64d167..ecad4287f7d4d04b4c2b7af2b2398bf6945e8713 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockWebRequest.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/android/Subscription.java |
@@ -15,16 +15,16 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-package org.adblockplus.libadblockplus; |
+package org.adblockplus.libadblockplus.android; |
-import java.util.List; |
+import java.io.Serializable; |
-public class MockWebRequest extends WebRequest |
+public class Subscription implements Serializable |
{ |
- public ServerResponse response = new ServerResponse(); |
- |
- public ServerResponse httpGET(String url, List<HeaderEntry> headers) |
- { |
- return response; |
- } |
+ public String title; |
+ public String specialization; |
+ public String url; |
+ public String homepage; |
+ public String[] prefixes; |
+ public String author; |
} |