Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingLogSystem.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingLogSystem.java |
similarity index 77% |
copy from libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java |
copy to libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingLogSystem.java |
index c3e766416f6dae1a9e28158f5542dd0648a50455..320abdf65322b4f319642152a2049e69efd0c2ab 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/Disposable.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/ThrowingLogSystem.java |
@@ -17,7 +17,10 @@ |
package org.adblockplus.libadblockplus; |
-public interface Disposable |
-{ |
- public void dispose(); |
+public class ThrowingLogSystem extends LogSystem { |
+ |
+ @Override |
+ public void logCallback(LogLevel level, String message, String source) { |
+ throw new RuntimeException("Unexpected error: " + message); |
+ } |
} |