Hi Thomas, Thomas Fuller wrote:
> Hi Jörg > > There is an integration test in the attached file which demonstrates the > problem I'm facing -- it is located here: > > wb-client-core- it\src\test\java\com\coherentlogic\wb\client\core\builders\* > QueryBuilderTest.java* > > The specific tests worth looking at are listed below -- the problem is > that the value property in the IdValuePair class is never set. I've done > enough research on this and think I'm probably missing something. > > wb-client-core\src\main\java\com\coherentlogic\wb\client\core\domain\* > Topic.java* (etc.) > wb-client-core\src\main\java\com\coherentlogic\wb\client\core\domain\* > IdValuePair.java* > > These are the tests -- of particular interest is each class on the right, > which extends from IdValuePair. > > testIncomeLevels (IncomeLevel -- test on line # 308) > testLendingTypes (LendingType # 448) > testTopics (Topic # 470) > > Thanks for your help, Sorry, but this is not the way it works. > On Sat, May 11, 2013 at 7:04 AM, Jörg Schaible > <[email protected]>wrote: [snip] >> Best would be to write a little unit test with a minimal set of classes >> (just like above) that demonstrates the problem. You've send me now a fill blown application with several modules based on Spring and Groovy integration. Actually to demonstrate a problem with marshalling from Java object to XML and back, you will not need any of those stuff. See, this is my unpaid spare time, it is 1:30am and I already spent now some time to look at some classes, but that's it. You will have to spent *your* time to strip your code down. I am quite sure, that you can create a unit test with ~3 classes of your domain model (i.e. what gets marshalled) and and setup in the test an XStream instance that is comparable to the one you're using in your project and that demonstrates the problem with the XML - no Spring or Groovy or something else required. Be sure, that I will really try to help you then, but please value my time as high a yours. Cheers, Jörg --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
