You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martin Gainty (JIRA)" <ji...@apache.org> on 2017/05/01 10:57:04 UTC
[jira] [Updated] (LUCENE-7812) modified test for testing payload
[ https://issues.apache.org/jira/browse/LUCENE-7812?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Gainty updated LUCENE-7812:
----------------------------------
Attachment: TestPayloadCheckQuery.java
> modified test for testing payload
> ---------------------------------
>
> Key: LUCENE-7812
> URL: https://issues.apache.org/jira/browse/LUCENE-7812
> Project: Lucene - Core
> Issue Type: Test
> Components: core/queryparser
> Affects Versions: 6.5.1
> Environment: jdk 1.8
> mvn 3.3
> Reporter: Martin Gainty
> Priority: Minor
> Attachments: TestPayloadCheckQuery.java
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> no specific test for SpanPayloadCheckQuery method specifically
> matches = payloadToMatch.get(upto).bytesEquals(payload);
> the only implementation i could locate was in collectLeaf of SpanPayloadCheckQuery
> modified SpanPayloadCheckQueryTest now tests collectLeaf of SpanPayloadCheckQuery
> patch for test attached
> suggestions/advice are most welcome
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org