[ 
https://issues.jenkins-ci.org/browse/JENKINS-12969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160563#comment-160563
 ] 

SCM/JIRA link daemon commented on JENKINS-12969:
------------------------------------------------

Code changed in jenkins
User: Bruno P. Kinoshita
Path:
 src/main/java/hudson/plugins/testlink/result/AbstractTestNGResultSeeker.java
 src/main/java/hudson/plugins/testlink/result/TestCaseWrapper.java
 
src/main/java/hudson/plugins/testlink/result/TestNGMethodNameDataProviderNameResultSeeker.java
 src/main/java/hudson/plugins/testlink/testng/TestMethod.java
 src/main/java/hudson/plugins/testlink/testng/TestNGXmlHandler.java
 
src/main/resources/hudson/plugins/testlink/result/TestNGMethodNameDataProviderNameResultSeeker/config.jelly
 src/main/resources/hudson/plugins/testlink/util/Messages.properties
 src/main/resources/hudson/plugins/testlink/util/Messages_en.properties
 src/main/resources/hudson/plugins/testlink/util/Messages_es.properties
 src/main/resources/hudson/plugins/testlink/util/Messages_fr.properties
 src/main/resources/hudson/plugins/testlink/util/Messages_pt.properties
 src/test/java/hudson/plugins/testlink/result/issue12969/TestIssue12969.java
 src/test/resources/hudson/plugins/testlink/result/issue12969/testng-results.xml
http://jenkins-ci.org/commit/testlink-plugin/3499f86843ce520744c30391178a2382e75c5111
Log:
  FIXED JENKINS-12969





                
> Create result seeking strategy that uses TestNG data provider
> -------------------------------------------------------------
>
>                 Key: JENKINS-12969
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12969
>             Project: Jenkins
>          Issue Type: Improvement
>          Components: testlink
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>
> From https://issues.jenkins-ci.org/browse/JENKINS-12916
> 2.And one more question: I'm using dataproviders in my tests. Do I have any 
> mechanism to map the pairs (test-methode,dataprovider Object[]) to the tests.
> I mean if I have
> @DataProvider(name = "test1")
> public Object[][] createData1() {
> return new Object[][] {
> { "Cedric", new Integer(36) },
> { "Anne", new Integer(37)},
> };
> }
> //This test method declares that its data should be supplied by the Data 
> Provider
> //named "test1"
> @Test(dataProvider = "test1")
> public void verifyData1(String n1, Integer n2) { AssertJUnit.assertTrue( 
> n1.equals("Anne")); }
> And I have 2 test in Testlink: 1. for { "Cedric", new Integer(36) }, 2. for { 
> "Anne", new Integer(37)}.
> And the results should map to each test
> The issue created in TestNG is: https://github.com/cbeust/testng/issues/181
> Bruno

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to