You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2016/04/25 19:46:12 UTC

[jira] [Created] (LUCENE-7252) add TestCoreParser.testTermQueryEmptyXML test

Christine Poerschke created LUCENE-7252:
-------------------------------------------

             Summary: add TestCoreParser.testTermQueryEmptyXML test
                 Key: LUCENE-7252
                 URL: https://issues.apache.org/jira/browse/LUCENE-7252
             Project: Lucene - Core
          Issue Type: Test
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke
            Priority: Minor


* Test that parsing of {{<TermQuery fieldName="contents"></TermQuery>}} fails.
* Add a {{parseShouldFail}} helper method to {{TestCoreParser}} which deriving classes can use to test that parsing of other more complex queries also fails as expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org