Index: libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockFilterChangeCallback.java |
diff --git a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockFilterChangeCallback.java b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockFilterChangeCallback.java |
index a300d7c1aa4856fb101b928bef62d20967349fad..974b54da2addaa5e4d8f965ed73a91ca82cecbe3 100644 |
--- a/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockFilterChangeCallback.java |
+++ b/libadblockplus-android-tests/src/org/adblockplus/libadblockplus/MockFilterChangeCallback.java |
@@ -17,9 +17,15 @@ |
package org.adblockplus.libadblockplus; |
+import android.util.Log; |
+ |
+import org.adblockplus.libadblockplus.android.Utils; |
+ |
public class MockFilterChangeCallback extends FilterChangeCallback |
{ |
- private int timesCalled; |
+ private static final String TAG = Utils.getTag(MockFilterChangeCallback.class); |
+ |
+ private volatile int timesCalled; |
public MockFilterChangeCallback(int timesCalled) |
{ |
@@ -34,6 +40,7 @@ public class MockFilterChangeCallback extends FilterChangeCallback |
@Override |
public void filterChangeCallback(String action, JsValue jsValue) |
{ |
+ Log.d(TAG, "callback: action=" + action + ", jsValue=" + jsValue); |
timesCalled++; |
} |
} |