Skip to content

org.simpleframework.xml.convert.RegistryStrategyTest consistently fails on java8 #33

@Boskovits

Description

@Boskovits

Testsuite: org.simpleframework.xml.convert.RegistryStrategyTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec
------------- Standard Output ---------------
<a:petShop xmlns:a="http://domain/a">
<b:pets xmlns:b="http://domain/b">

Kitty
2


</b:pets>
</a:petShop>------------- ---------------- ---------------

Testcase: testConverter took 0.159 sec
FAILED
Document does not match expression '/petShop/pets/pet[1]' with attribute name='Lassie' for <a:petShop xmlns:a="http://domain/a">
<b:pets xmlns:b="http://domain/b">

Kitty
2


</b:pets>
</a:petShop>
junit.framework.AssertionFailedError: Document does not match expression '/petShop/pets/pet[1]' with attribute name='Lassie' for <a:petShop xmlns:a="http://domain/a">
<b:pets xmlns:b="http://domain/b">

Kitty
2


</b:pets>
</a:petShop>
at org.simpleframework.xml.ValidationTestCase.assertMatch(ValidationTestCase.java:179)
at org.simpleframework.xml.ValidationTestCase.assertElementHasAttribute(ValidationTestCase.java:146)
at org.simpleframework.xml.convert.RegistryStrategyTest.testConverter(RegistryStrategyTest.java:69)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions