I've been working on getting the xml-rpc driver passing all of the
integration unit tests. One of the tests that fails is
testGetParentCollection():

    public void testGetParentCollection() throws Exception {
        Collection col = this.client.createCollection(TEST_COLLECTION_PATH, 
"childcol");

        Collection parent = col.getParentCollection();
        assertNotNull(parent);
        assertEquals("current", parent.getName());

        parent = parent.getParentCollection();
        assertNotNull(parent);
        assertEquals("testing", parent.getName());

        parent = parent.getParentCollection();
        assertNull(parent);

        this.client.dropCollection(TEST_COLLECTION_PATH, "childcol");
    }

This fails because calling getParentCollection() on "testing" returns the
database collection "db". After looking at the specs it still isn't clear
to me if this is an error in the xml-rpc dirver or the test (and the
embeded implementation). 

Any guidence or thoughts?

-k.

Reply via email to