commit 5527ff0e53001cb6779a20494fd44c9a56d323b8 Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed May 17 15:26:36 2017 +0200
Update to metrics-lib 1.7.0.
Also resolve errors from not implementing newly introduced methods in test dummies. --- build.xml | 2 +- src/test/java/org/torproject/onionoo/updater/DummyConsensus.java | 4 ++++ src/test/java/org/torproject/onionoo/updater/DummyStatusEntry.java | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml index 4fe7073..e89b8a6 100644 --- a/build.xml +++ b/build.xml @@ -11,7 +11,7 @@ <property name="onionoo.protocol.version" value="4.0"/> <property name="release.version" value="${onionoo.protocol.version}-1.2.0-dev"/> - <property name="descriptorversion" value="1.6.0"/> + <property name="descriptorversion" value="1.7.0"/> <property name="jetty.version" value="-8.1.16.v20140903" /> <property name="warfile" value="onionoo-${release.version}.war"/> diff --git a/src/test/java/org/torproject/onionoo/updater/DummyConsensus.java b/src/test/java/org/torproject/onionoo/updater/DummyConsensus.java index 6af0b94..9147967 100644 --- a/src/test/java/org/torproject/onionoo/updater/DummyConsensus.java +++ b/src/test/java/org/torproject/onionoo/updater/DummyConsensus.java @@ -123,6 +123,10 @@ public class DummyConsensus implements RelayNetworkStatusConsensus { return null; }
+ public String getDigestSha1Hex() { + return null; + } + public List<String> getPackageLines() { return null; } diff --git a/src/test/java/org/torproject/onionoo/updater/DummyStatusEntry.java b/src/test/java/org/torproject/onionoo/updater/DummyStatusEntry.java index 7f97581..75359bb 100644 --- a/src/test/java/org/torproject/onionoo/updater/DummyStatusEntry.java +++ b/src/test/java/org/torproject/onionoo/updater/DummyStatusEntry.java @@ -56,6 +56,10 @@ public class DummyStatusEntry implements NetworkStatusEntry { return null; }
+ public Set<String> getMicrodescriptorDigestsSha256Base64() { + return null; + } + public List<String> getOrAddresses() { return null; }