[
https://issues.apache.org/jira/browse/CAMEL-7608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-7608:
-------------------------------
Assignee: Akitoshi Yoshida
> 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)