HuangRongzhen/AddressBook — Issue #1: unit test failure
Author: honnix
Created: 2012-03-08 08:29:57+00:00
State: open
Labels: bug

Failed tests: XMLtoStringTest(om.ericsson.javatraining.contacts.util.ContactUtilTest): expected:<...[
saveDataTest(com.ericsson.javatraining.contacts.storage.StorageTest):

are you comparing xml by plain string? this is absolutely not correct. you might get different result on different platform, or even differnt JAXP version.

if you want to write your own xml comparator, you need lots of effort, you can have a try.