From 6d530e085701e32e593395ef54ec402ad40a2fb9 Mon Sep 17 00:00:00 2001 From: Steve Rowe Date: Fri, 27 May 2016 13:49:20 -0400 Subject: [PATCH] LUCENE-7278: Get Clover working again --- .../spatial/prefix/tree/DateRangePrefixTreeTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java index d76454e6ae3..d29a192c6d6 100644 --- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java +++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest.java @@ -32,16 +32,17 @@ import org.locationtech.spatial4j.shape.SpatialRelation; public class DateRangePrefixTreeTest extends LuceneTestCase { - @ParametersFactory + @ParametersFactory(argumentFormatting = "calendar=%s") public static Iterable parameters() { return Arrays.asList(new Object[][]{ - {DateRangePrefixTree.DEFAULT_CAL}, {DateRangePrefixTree.JAVA_UTIL_TIME_COMPAT_CAL} + {"default", DateRangePrefixTree.DEFAULT_CAL}, + {"compat", DateRangePrefixTree.JAVA_UTIL_TIME_COMPAT_CAL} }); } private final DateRangePrefixTree tree; - public DateRangePrefixTreeTest(Calendar templateCal) { + public DateRangePrefixTreeTest(String suiteName, Calendar templateCal) { tree = new DateRangePrefixTree(templateCal); }