mirror of https://github.com/apache/lucene.git
LUCENE-10328: open up certain packages for junit and the test framework (reflective access).
This commit is contained in:
parent
ff547e7bbd
commit
b8da9f32c8
|
@ -52,6 +52,9 @@ module org.apache.lucene.core {
|
|||
// Only export internal packages to the test framework.
|
||||
exports org.apache.lucene.internal.tests to
|
||||
org.apache.lucene.test_framework;
|
||||
// Open certain packages for the test framework (ram usage tester).
|
||||
opens org.apache.lucene.document to
|
||||
org.apache.lucene.test_framework;
|
||||
|
||||
provides org.apache.lucene.analysis.TokenizerFactory with
|
||||
org.apache.lucene.analysis.standard.StandardTokenizerFactory;
|
||||
|
|
|
@ -23,6 +23,10 @@ module org.apache.lucene.test_framework {
|
|||
requires transitive junit;
|
||||
requires transitive randomizedtesting.runner;
|
||||
|
||||
// Open certain packages for junit because it scans methods via reflection.
|
||||
opens org.apache.lucene.tests.index to
|
||||
junit;
|
||||
|
||||
exports org.apache.lucene.tests.analysis.standard;
|
||||
exports org.apache.lucene.tests.analysis;
|
||||
exports org.apache.lucene.tests.codecs.asserting;
|
||||
|
|
Loading…
Reference in New Issue