You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/07/17 13:05:05 UTC

[jira] [Created] (CAMEL-7608) XMLTokenizer tests fails in camel-core with JDK8

Claus Ibsen created CAMEL-7608:
----------------------------------

             Summary: 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
             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)