You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2014/11/25 18:37:13 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-4101.
----------------------------------------
    Resolution: Fixed

Thanks very much for your contribution, applied in revision 1641657

> 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
>            Assignee: Bertrand Delacretaz
>         Attachments: SlingAnnotationsTestRunner.patch.txt
>
>
> 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)