[Simple-support] Test failure in simple xml
Brought to you by:
niallg
|
From: Gábor B. <bos...@gm...> - 2018-01-06 20:27:49
|
Dear Simple Xml developers! I have a problem running the tests of this project. I consistently get: Test org.simpleframework.xml.convert.RegistryStrategyTest failed Test report: Seems an ordering issue. The expected result has the dog first, then the cat, but this is reversed. Testsuite: org.simpleframework.xml.convert.RegistryStrategyTest Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.195 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.184 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) Can you tell me what this means? Is it safe to ignore this? Further information: https://github.com/Boskovits/guix/issues/61 If you need any further information, please contact me. Thanks for your assistance! |