You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2013/07/08 17:43:49 UTC

[jira] [Commented] (SLING-2903) launchpad/testing TestSuite fails with JUnit 4 tests

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

Robert Munteanu commented on SLING-2903:
----------------------------------------

This seems to still happen in Jenkins, see https://builds.apache.org/view/S-Z/view/Sling/job/sling-trunk-1.6/1720/console .
                
> launchpad/testing TestSuite fails with JUnit 4 tests
> ----------------------------------------------------
>
>                 Key: SLING-2903
>                 URL: https://issues.apache.org/jira/browse/SLING-2903
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>             Fix For: Launchpad Testing 7
>
>
> I changed the ServerSideScriptsTest to JUnit 4 style yesterday and failed to notice that this breaks the launchpad/testing test suite:
> junit.framework.AssertionFailedError: org.apache.sling.launchpad.webapp.integrationtest.ServerSideScriptsTest.ScriptableTest does not extend TestCase
> 	at junit.framework.Assert.fail(Assert.java:50)
> ...
> 	at junit.framework.TestSuite.runTest(TestSuite.java:243)
> 	at org.apache.sling.launchpad.testing.LoggingSuite.runTest(LoggingSuite.java:77)
> 	at junit.framework.TestSuite.run(TestSuite.java:238)
> 	at org.apache.sling.launchpad.testing.LoggingSuite.run(LoggingSuite.java:65)
> ...

--
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