You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/15 12:57:33 UTC

[jira] [Commented] (CAMEL-9708) Multiple tests not using equality predicate correctly

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

ASF GitHub Bot commented on CAMEL-9708:
---------------------------------------

GitHub user jarst opened a pull request:

    https://github.com/apache/camel/pull/902

    CAMEL-9708: Multiple tests not using equality predicate correctly

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jarst/camel CAMEL-9708

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/902.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #902
    
----
commit 9cb2e361082276a23c59b40c2dc2624e0acbc3dd
Author: Jaroslaw Strzelecki <ja...@gmail.com>
Date:   2016-03-15T11:55:23Z

    CAMEL-9708: Multiple tests not using equality predicate correctly

----


> Multiple tests not using equality predicate correctly
> -----------------------------------------------------
>
>                 Key: CAMEL-9708
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9708
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-avro, camel-boon, camel-core, camel-gson, camel-jackson, camel-mybatis, camel-netty4, camel-snakeyaml, camel-xstream
>            Reporter: Jarosław Strzelecki
>            Priority: Minor
>
> 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)