|
Hi Werner, Please let me know when you commit this patch to svn. Please noted that I don't have permission to do commit in both castor and castor-jaxb-2.0 projects. Thank you, Updated patch, with the following changes:
Here's what I'd like to see changed before committing this patch. a) Please switch to a more java-style way of dealing with results of XMLDiff. Returning an integer result somehow seems odd to me. Maybe switching towards an AssertionfailedException and/or the use of an enumeration would make sense. You might want to have a look at the test suite Joachim has implemented for the JAXB 2.0 code. Hello Werner, Could you please update dependencies for castor-xml-schema in order to run tests. It depends on castor-testsuite-xml-framework. thanks, Sorry, I am not 100% sure where you want my help ? the patch attached to this (http://jira.codehaus.org/secure/attachment/34793/patch.c2384.20080527.txt |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Good stuff, Bao. Just a few random observations and comments:
a) Please drop these section delimiter stuff from all source files ...
. This is Java, and with a decent editor (such as Eclipse), there's no need to have //---------
b) I think we'll need test code that checks for errors as well, i.e. where a condition is not met. What do you think about adding some more (abstract) test case classes that make it really easy to write such a failing test case.
Other than that, I think we can go ahead and commit this patch; all future changes will be (once again) based against SVN trunk.