Re: Running the JUnit tests for Xindice
Todd Byrne <[email protected]>
| Newsgroups | gmane.text.xml.xindice.user |
|---|---|
| Message-ID | <[email protected]> |
Also in build.properties there is a line test.xmlrpc.hostport=localhost:8080 Just change it to point to the port that a xindice server is running. Todd Vadim Gritsenko wrote: > Geoffrey Shuetrim wrote: > >> I am trying to test a patch to TextWriter.java but am running into some >> problems with running the JUnit tests. >> >> Specifically, all tests that rely on AbstractXMLDbClient seem to be >> falling over with a null pointer exception. This is because the client >> field of that class is never being initialised. >> >> Is there something I should be sorting out in my configuration of the >> Xindice source to avoid this problem? > > > Following sequence works for me: > > svn up > rm -rf build > ./build.sh > ./xindice.sh [in second window] > ./build.sh test > > Results are in build/test-report/index.html or some such. > > Vadim