[ 
https://issues.apache.org/jira/browse/SLING-3016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742911#comment-13742911
 ] 

Oliver Lietz commented on SLING-3016:
-------------------------------------

Yes, you can fully configure your container and bundles before boot.

You will have working repositories with your tests but no completely 
initialized Sling instances. You can check with

    @Test
    public void testVarSlingExists() throws RepositoryException {
        final Session session = repository.loginAdministrative(null);
        session.getRootNode().getNode("var/sling");
        session.logout();
    }

in SlingRepositoryITBase.

                
> OSGi-level integration tests for SlingRepository implementations
> ----------------------------------------------------------------
>
>                 Key: SLING-3016
>                 URL: https://issues.apache.org/jira/browse/SLING-3016
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>
> As we're going to create an Oak-based SlingRepository implementation, it 
> would be useful to have pax exam based integration tests that validate such 
> an implementation in an OSGi environment.
> We can then setup the tests to run on both the existing jackrabbit server 
> bundle and the new Oak one, to have a quick way of comparing the 
> implementations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to