-
Notifications
You must be signed in to change notification settings - Fork 36
Description
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)