Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2903

launchpad/testing TestSuite fails with JUnit 4 tests

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Launchpad Testing 10
    • Component/s: Testing
    • Labels:
      None

      Description

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

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              bdelacretaz Bertrand Delacretaz
              Reporter:
              bdelacretaz Bertrand Delacretaz

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment