You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/06/17 18:35:00 UTC

[jira] [Commented] (SOLR-7696) SolrTestCaseJ4.assertFailedU message not enforced

    [ https://issues.apache.org/jira/browse/SOLR-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14590048#comment-14590048 ] 

Hoss Man commented on SOLR-7696:
--------------------------------

I don't understand what " is not enforced in checkUpdateU" means.

the "message" param is just the assertion message reported if the assertion does not pass - checkUpdateU uses the message param when calling the fail() method.

> SolrTestCaseJ4.assertFailedU message not enforced
> -------------------------------------------------
>
>                 Key: SOLR-7696
>                 URL: https://issues.apache.org/jira/browse/SOLR-7696
>             Project: Solr
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 5.2.1
>            Reporter: Markus Jelsma
>              Labels: test
>             Fix For: 5.3
>
>
> The message specified in this test method is not enforced in checkUpdateU().
> {code}
>   /** Validates an update XML String failed
>    */
>   public static void assertFailedU(String message, String update) {
>     checkUpdateU(message, update, false);
>   }
> {code}



--
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