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

launchpad/testing TestSuite fails with JUnit 4 tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Launchpad Testing 10
    • Testing
    • 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

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: