[
https://issues.apache.org/jira/browse/LUCENE-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17380256#comment-17380256
]
Robert Muir commented on LUCENE-5595:
-------------------------------------
One thing bogus about the existing test is that it tries to do stuff with
{{Normalizer2.getInstance(null, "nfkc", Normalizer2.Mode.DECOMPOSE)}}
I'm surprised it doesn't get IAE for this, it makes no sense.
Also its not great to test different modes all in the same method anyway.
I am looking into splitting this into NFC, NFKC, NFKC_CF, NFD, NFKD tests.
> TestICUNormalizer2CharFilter test failure
> -----------------------------------------
>
> Key: LUCENE-5595
> URL: https://issues.apache.org/jira/browse/LUCENE-5595
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Priority: Major
>
> Seems it does the offsets differently with a spoonfed reader.
> seed for 4.x:
> ant test -Dtestcase=TestICUNormalizer2CharFilter
> -Dtests.method=testRandomStrings -Dtests.seed=19423CE8988D3E11
> -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en
> -Dtests.timezone=America/Bahia_Banderas -Dtests.file.encoding=UTF-8
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]