mirror of https://github.com/apache/lucene.git
LUCENE-8626: standardise 3 more Lucene test names (#2440)
This commit is contained in:
parent
e9ddaaca51
commit
d53b3da0ea
|
@ -38,7 +38,7 @@ import org.junit.AfterClass;
|
|||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
public class BaseTestRangeFilter extends LuceneTestCase {
|
||||
public class TestBaseRangeFilter extends LuceneTestCase {
|
||||
|
||||
public static final boolean F = false;
|
||||
public static final boolean T = true;
|
|
@ -32,7 +32,7 @@ import org.junit.Assert;
|
|||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
public class TestMultiTermConstantScore extends BaseTestRangeFilter {
|
||||
public class TestMultiTermConstantScore extends TestBaseRangeFilter {
|
||||
|
||||
/** threshold for comparing floats */
|
||||
public static final float SCORE_COMP_THRESH = 1e-6f;
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.stream.Collectors;
|
|||
import java.util.stream.LongStream;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
|
||||
public class LongHashSetTests extends LuceneTestCase {
|
||||
public class TestLongHashSet extends LuceneTestCase {
|
||||
|
||||
private void assertEquals(Set<Long> set1, LongHashSet set2) {
|
||||
LuceneTestCase.assertEquals(set1, set2);
|
|
@ -48,12 +48,12 @@ import org.locationtech.spatial4j.shape.Point;
|
|||
import org.locationtech.spatial4j.shape.Shape;
|
||||
|
||||
/** This class serves as example code to show how to use the Lucene spatial module. */
|
||||
public class SpatialExample extends LuceneTestCase {
|
||||
public class TestSpatialExample extends LuceneTestCase {
|
||||
|
||||
// Note: Test invoked via TestTestFramework.spatialExample()
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
new SpatialExample().test();
|
||||
new TestSpatialExample().test();
|
||||
}
|
||||
|
||||
public void test() throws Exception {
|
|
@ -59,6 +59,6 @@ public class TestTestFramework extends LuceneTestCase {
|
|||
public void spatialExample() throws Exception {
|
||||
// kind of a hack so that SpatialExample is tested despite
|
||||
// it not starting or ending with "Test".
|
||||
SpatialExample.main(null);
|
||||
TestSpatialExample.main(null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue