Package org.apache.abdera.protocol.server

Examples of org.apache.abdera.protocol.server.WorkspaceInfo


        WorkspaceManager wm = p.getWorkspaceManager();

        Collection<WorkspaceInfo> workspaces = wm.getWorkspaces(null);
        assertEquals(1, workspaces.size());

        WorkspaceInfo w = workspaces.iterator().next();
        assertNotNull(w);
        assertEquals("Foo Workspace", w.getTitle(null));

        Collection<CollectionInfo> collections = w.getCollections(null);
        assertEquals(2, collections.size());

        assertEquals(2, p.getFilters(null).length); // Parameter isn't used
    }
View Full Code Here


        WorkspaceManager wm = p.getWorkspaceManager();
       
        Collection<WorkspaceInfo> workspaces = wm.getWorkspaces(null);
        assertEquals(1, workspaces.size());
       
        WorkspaceInfo w = workspaces.iterator().next();
        assertNotNull(w);
        assertEquals("Foo Workspace", w.getTitle(null));
       
        Collection<CollectionInfo> collections = w.getCollections(null);
        assertEquals(2, collections.size());
       
        assertEquals(2, p.getFilters(null).length); //Parameter isn't used
    }
View Full Code Here

TOP

Related Classes of org.apache.abdera.protocol.server.WorkspaceInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.