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:
Robert Muir 2014-09-06 14:05:50 +00:00
parent c52fbb46b9
commit 5e6bc35ffe
1 changed files with 4 additions and 4 deletions

View File

@ -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);
}