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

Allow to embed a complete classes directory in the test bundle

    XMLWordPrintableJSON

    Details

      Description

      Currently only

      1. directly referenced dependencies from the IT can be automatically be embedded (by whitelisting the package prefixes via ClientSideTeleporter.includeDependencyPrefix(...)
      2. invididual fully-qualified classes can be embedded manually as well via ClientSideTeleporter.embedClass(...)

      This is not enough in case the teleporter-based IT is part of the bundle which is supposed to be tested. The mechanism in 1) will not detect any implementation classes like OSGi services (because the IT itself only references the according interface). The mechanism 2) causes a lot of effort as each class name needs to be given separately. In this case it would be best to be able to include a full directory containing java classes in the testing bundle.

        Attachments

          Activity

            People

            • Assignee:
              kwin Konrad Windszus
              Reporter:
              kwin Konrad Windszus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: