On Fri, May 16, 2008 at 1:47 PM, Vincent Massol <[email protected]> wrote:
Hi Fabio,
I was looking at the new XMLRPC tests and I think there are some unfinished stuff we need to clean up/align. Right now there are 2 series of tests: ones in com.xpn package and one in org.xwiki package:
addTestCase(suite, AnonymousAccessTest.class); addTestCase(suite, AttachmentsTest.class); addTestCase(suite, CommentsTest.class); addTestCase(suite, PagesTest.class); addTestCase(suite, SpacesTest.class);
addTestCase(suite, org.xwiki.xmlrpc.AttachmentsTest.class); addTestCase(suite, org.xwiki.xmlrpc.AuthenticationTest.class); addTestCase(suite, org.xwiki.xmlrpc.CommentsTest.class); addTestCase(suite, org.xwiki.xmlrpc.PagesTest.class); addTestCase(suite, org.xwiki.xmlrpc.SpacesTest.class); addTestCase(suite, org.xwiki.xmlrpc.XWikiClassesTest.class); addTestCase(suite, org.xwiki.xmlrpc.XWikiObjectsTest.class); addTestCase(suite, org.xwiki.xmlrpc.SearchTest.class);
We need to merge them (not sure why there are 2 locations). The correct package is probably com.xpn since the org.xwiki one is reserved for new components.
The tests under com.xpn are the old ones (written before 1.4 refactoring), the org.xwiki are the new ones. I don't understand why the org.xwiki package should be reserved for new components, can you explain it ? -- Jean-Vincent Drean