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-7608) XMLTokenizer tests fails in camel-core with JDK8
Date Wed, 23 Jul 2014 08:15:39 GMT

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

Claus Ibsen commented on CAMEL-7608:
------------------------------------

Aki, do you mind taking a look if you have JDK8 installed? If not let me know, and I can try
to fix it. But it seems a bit of a work as the attributes are in different order on jdk8 than
on 7.

> XMLTokenizer tests fails in camel-core with JDK8
> ------------------------------------------------
>
>                 Key: CAMEL-7608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7608
>             Project: Camel
>          Issue Type: Test
>          Components: camel-core, tests
>    Affects Versions: 2.14.0
>            Reporter: Claus Ibsen
>            Assignee: Akitoshi Yoshida
>             Fix For: 2.14.0
>
>
> I suspect its the xml attributes that may be outputted in different order on JDK8 than
7 etc.
> {code}
> Results :
> Failed tests:
>   XMLTokenizeLanguageTest>TestSupport.runBare:58->testSendMoreParentsMessageToTokenize:117->ContextTestSupport.assertMockEndpointsSatisfied:343
mock://result Body of message: 0. Expected: <<c:child some_attr='a' anotherAttr='a'
xmlns:g="urn:g" xmlns:d="urn:d" xmlns:c="urn:c"></c:child>> but was: <<c:child
some_attr='a' anotherAttr='a' xmlns:c="urn:c" xmlns:d="urn:d" xmlns:g="urn:g"></c:child>>
>   XMLTokenExpressionIteratorTest.testExtractChildInjected:214->invokeAndVerify:315
mismatch [0] expected:<...otherAttr='a' xmlns:[g="urn:g" xmlns:d="urn:d" xmlns:c="urn:c]"></c:child>>
but was:<...otherAttr='a' xmlns:[c="urn:c" xmlns:d="urn:d" xmlns:g="urn:g]"></c:child>>
>   XMLTokenExpressionIteratorTest.testExtractChildNSMixedInjected:222->invokeAndVerify:315
mismatch [0] expected:<...xmlns="urn:c" xmlns:[g="urn:g" xmlns:c="urn:c]"></child>>
but was:<...xmlns="urn:c" xmlns:[c="urn:c" xmlns:g="urn:g]"></child>>
>   XMLTokenExpressionIteratorTest.testExtractCxxxd:230->invokeAndVerify:315 mismatch
[0] expected:<...otherAttr='a' xmlns:[g="urn:g" xmlns:d="urn:d" xmlns:c="urn:c]"></c:child>>
but was:<...otherAttr='a' xmlns:[c="urn:c" xmlns:d="urn:d" xmlns:g="urn:g]"></c:child>>
> Tests run: 4986, Failures: 4, Errors: 0, Skipped: 3
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message