Index: adblock-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java |
diff --git a/adblock-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java b/adblock-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java |
index 780c97e86800b3236c80cc13ee33929f314bc8ad..9b05efa01553ab2622e882b94b99a7a957ea71d6 100644 |
--- a/adblock-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java |
+++ b/adblock-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java |
@@ -19,8 +19,16 @@ package org.adblockplus.libadblockplus; |
public class NoOpUpdaterCallback extends UpdateCheckDoneCallback |
{ |
+ private volatile int updateCount; |
+ |
+ public int getUpdateCount() |
+ { |
+ return updateCount; |
+ } |
+ |
@Override |
public void updateCheckDoneCallback(String error) |
{ |
+ updateCount++; |
} |
} |