mirror of https://github.com/apache/lucene.git
move this from offsets offender to general offender in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c52fbb46b9
commit
5e6bc35ffe
|
@ -146,7 +146,9 @@ public class TestRandomChains extends BaseTokenStreamTestCase {
|
|||
CrankyTokenFilter.class,
|
||||
// Not broken: we forcefully add this, so we shouldn't
|
||||
// also randomly pick it:
|
||||
ValidatingTokenFilter.class)) {
|
||||
ValidatingTokenFilter.class,
|
||||
// TODO: needs to be a tokenizer, doesnt handle graph inputs properly (a shingle or similar following will then cause pain)
|
||||
WordDelimiterFilter.class)) {
|
||||
for (Constructor<?> ctor : c.getConstructors()) {
|
||||
brokenConstructors.put(ctor, ALWAYS);
|
||||
}
|
||||
|
@ -173,9 +175,7 @@ public class TestRandomChains extends BaseTokenStreamTestCase {
|
|||
// TODO: LUCENE-4983
|
||||
CommonGramsFilter.class,
|
||||
// TODO: doesn't handle graph inputs
|
||||
CommonGramsQueryFilter.class,
|
||||
// TODO: probably doesnt handle graph inputs, too afraid to try
|
||||
WordDelimiterFilter.class)) {
|
||||
CommonGramsQueryFilter.class)) {
|
||||
for (Constructor<?> ctor : c.getConstructors()) {
|
||||
brokenOffsetsConstructors.put(ctor, ALWAYS);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue