You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Satya Deep Maheshwari (JIRA)" <ji...@apache.org> on 2015/05/18 13:13:00 UTC

[jira] [Updated] (SLING-4722) @TestReference annotation should support 'target' attribute

     [ https://issues.apache.org/jira/browse/SLING-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Satya Deep Maheshwari updated SLING-4722:
-----------------------------------------
    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

  was:
As per [1], I am trying to use @TestReference annotation to inject a 
reference in my test class. While it 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


> @TestReference annotation should support 'target' attribute
> -----------------------------------------------------------
>
>                 Key: SLING-4722
>                 URL: https://issues.apache.org/jira/browse/SLING-4722
>             Project: Sling
>          Issue Type: Wish
>          Components: Testing
>            Reporter: Satya Deep Maheshwari
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)