Class WorkspaceReadMethodsTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class WorkspaceReadMethodsTest
    extends AbstractJCRTest
    WorkspaceReadMethodsTest...
    • Constructor Detail

      • WorkspaceReadMethodsTest

        public WorkspaceReadMethodsTest()
    • Method Detail

      • testGetSession

        public void testGetSession()
                            throws RepositoryException
        Tests the getSession() method which returns the same session object as this workspace was requested from.
        Throws:
        RepositoryException
      • testGetQueryManager

        public void testGetQueryManager()
                                 throws RepositoryException
        Tests Workspace.getQueryManager. This should just return correctly a QueryManager object.
        Throws:
        RepositoryException
      • testGetAccessibleWorkspaceNames

        public void testGetAccessibleWorkspaceNames()
                                             throws RepositoryException
        Tests Workspace.getAccessibleWorkspaceNames() by logging into the Workspaces given by the returned names. The credentials are the same as used for accessing the current workspace.
        Throws:
        RepositoryException