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

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

Issue 29819555: Fix libadblockplus-android tests
Patch Set: Added missing files, removed a whitespace Created Aug. 16, 2018, 12:27 p.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