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

@TestReference annotation should support 'target' attribute

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Testing
    • None

    Description

      As per [1], I am trying to use @TestReference annotation to inject a
      reference in my test class. While it is working as expected, if I specify a
      'target' attribute on this annotation as in [2], it does not get applied.

      Related user's forum mail thread on this at [3]

      [1] -
      https://sling.apache.org/documentation/development/sling-testing-tools.html
      [2] -
      http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html#reference
      [3] - http://apache-sling.73963.n3.nabble.com/Using-TestReference-for-serverside-tests-td4050955.html

      Attachments

        Activity

          People

            Unassigned Unassigned
            satyadeep Satya Deep Maheshwari
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: