camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9708) Multiple tests not using equality predicate correctly
Date Wed, 16 Mar 2016 08:05:33 GMT

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

Claus Ibsen commented on CAMEL-9708:
------------------------------------

Okay the tests are all fixed now

> Multiple tests not using equality predicate correctly
> -----------------------------------------------------
>
>                 Key: CAMEL-9708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9708
>             Project: Camel
>          Issue Type: Test
>          Components: tests
>            Reporter: Jarosław Strzelecki
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.17.0
>
>
> There are multiple test having similar 'assertion' that do not verify equality:
> {quote}
>  mockEndpoint.message(0).body().equals(body);
> {quote}
> The correct syntax would be:
> {quote}
>  mockEndpoint.message(0).body().isEqualTo(body);
> {quote}



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

Mime
View raw message