Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: adblock-android-tests/src/org/adblockplus/libadblockplus/NoOpUpdaterCallback.java

Issue 29857561: Fix libadblockplus-android tests, Part 2
Patch Set: Created Aug. 16, 2018, 11:48 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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++;
}
}

Powered by Google App Engine
This is Rietveld