Skip to content

Apache Lucene open-source search software

delegate these methods for completeness, in case delegate overrides them (the huper stuff in bufferedindexinput is being tested in a roundabout way with CFS)

Robert Muirfed96d4fc6e1
diff --git a/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java b/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
index 6897f86511b..66e972d2ec0 100644
--- a/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
+++ b/lucene/src/test-framework/org/apache/lucene/store/MockIndexInputWrapper.java
@@ -137,4 +137,14 @@ public class MockIndexInputWrapper extends IndexInput {
public Map<String,String> readStringStringMap() throws IOException {
return delegate.readStringStringMap();
}
+
+ @Override
+ public int readVInt() throws IOException {
+ return delegate.readVInt();
+ }
+
+ @Override
+ public long readVLong() throws IOException {
+ return delegate.readVLong();
+ }
}