xref: /Lucene/lucene/test-framework/src/java/module-info.java (revision b8da9f32c8d436cc39601264dbb1f039b9882b57)
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements.  See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License.  You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 /** Lucene test framework. */
19 @SuppressWarnings({"module", "requires-automatic", "requires-transitive-automatic"})
20 module org.apache.lucene.test_framework {
21   requires org.apache.lucene.core;
22   requires org.apache.lucene.codecs;
23   requires transitive junit;
24   requires transitive randomizedtesting.runner;
25 
26   // Open certain packages for junit because it scans methods via reflection.
27   opens org.apache.lucene.tests.index to
28       junit;
29 
30   exports org.apache.lucene.tests.analysis.standard;
31   exports org.apache.lucene.tests.analysis;
32   exports org.apache.lucene.tests.codecs.asserting;
33   exports org.apache.lucene.tests.codecs.blockterms;
34   exports org.apache.lucene.tests.codecs.bloom;
35   exports org.apache.lucene.tests.codecs.cheapbastard;
36   exports org.apache.lucene.tests.codecs.compressing.dummy;
37   exports org.apache.lucene.tests.codecs.compressing;
38   exports org.apache.lucene.tests.codecs.cranky;
39   exports org.apache.lucene.tests.codecs.mockrandom;
40   exports org.apache.lucene.tests.codecs.ramonly;
41   exports org.apache.lucene.tests.codecs.uniformsplit.sharedterms;
42   exports org.apache.lucene.tests.codecs.uniformsplit;
43   exports org.apache.lucene.tests.geo;
44   exports org.apache.lucene.tests.index;
45   exports org.apache.lucene.tests.mockfile;
46   exports org.apache.lucene.tests.search.similarities;
47   exports org.apache.lucene.tests.search;
48   exports org.apache.lucene.tests.store;
49   exports org.apache.lucene.tests.util.automaton;
50   exports org.apache.lucene.tests.util.fst;
51   exports org.apache.lucene.tests.util;
52 
53   provides org.apache.lucene.codecs.Codec with
54       org.apache.lucene.tests.codecs.asserting.AssertingCodec,
55       org.apache.lucene.tests.codecs.cheapbastard.CheapBastardCodec,
56       org.apache.lucene.tests.codecs.compressing.DeflateWithPresetCompressingCodec,
57       org.apache.lucene.tests.codecs.compressing.FastCompressingCodec,
58       org.apache.lucene.tests.codecs.compressing.FastDecompressionCompressingCodec,
59       org.apache.lucene.tests.codecs.compressing.HighCompressionCompressingCodec,
60       org.apache.lucene.tests.codecs.compressing.LZ4WithPresetCompressingCodec,
61       org.apache.lucene.tests.codecs.compressing.dummy.DummyCompressingCodec;
62   provides org.apache.lucene.codecs.DocValuesFormat with
63       org.apache.lucene.tests.codecs.asserting.AssertingDocValuesFormat;
64   provides org.apache.lucene.codecs.KnnVectorsFormat with
65       org.apache.lucene.tests.codecs.asserting.AssertingKnnVectorsFormat;
66   provides org.apache.lucene.codecs.PostingsFormat with
67       org.apache.lucene.tests.codecs.mockrandom.MockRandomPostingsFormat,
68       org.apache.lucene.tests.codecs.ramonly.RAMOnlyPostingsFormat,
69       org.apache.lucene.tests.codecs.blockterms.LuceneFixedGap,
70       org.apache.lucene.tests.codecs.blockterms.LuceneVarGapFixedInterval,
71       org.apache.lucene.tests.codecs.blockterms.LuceneVarGapDocFreqInterval,
72       org.apache.lucene.tests.codecs.bloom.TestBloomFilteredLucenePostings,
73       org.apache.lucene.tests.codecs.asserting.AssertingPostingsFormat,
74       org.apache.lucene.tests.codecs.uniformsplit.UniformSplitRot13PostingsFormat,
75       org.apache.lucene.tests.codecs.uniformsplit.sharedterms.STUniformSplitRot13PostingsFormat;
76 }
77