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 2013/06/05 10:20:20 UTC

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

Bertrand Delacretaz created SLING-2903:
------------------------------------------

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