You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Rob Ryan (JIRA)" <ji...@apache.org> on 2014/10/24 01:20:36 UTC

[jira] [Created] (SLING-4101) SlingAnnotationsTestRunner doesn't work with SlingRemoteExecutionRule

Rob Ryan created SLING-4101:
-------------------------------

             Summary: SlingAnnotationsTestRunner doesn't work with SlingRemoteExecutionRule
                 Key: SLING-4101
                 URL: https://issues.apache.org/jira/browse/SLING-4101
             Project: Sling
          Issue Type: Bug
          Components: Testing
    Affects Versions: JUnit Remote Tests Runners 1.0.8
            Reporter: Rob Ryan


When SlingAnnotationsTestRunner is used together with SlingRemoteExecutionRule the test errors out with an NPE at:

org.apache.sling.junit.annotations.SlingAnnotationsTestRunner.createTest() line: 43	

It is expecting to run in an  OSGI environment  but e.g. when launching from Eclipse the test is not  connected to an OSGI environment.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)