hudson.plugins.testlink.result.junit
Class AbstractJUnitTestResultSeeker<T>

java.lang.Object
  extended by hudson.plugins.testlink.result.TestResultSeeker<T>
      extended by hudson.plugins.testlink.result.junit.AbstractJUnitTestResultSeeker<T>
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
JUnitSuitesTestResultSeeker, JUnitTestCasesTestResultSeeker

public abstract class AbstractJUnitTestResultSeeker<T>
extends TestResultSeeker<T>

Since:
2.5
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hudson.plugins.testlink.result.TestResultSeeker
automatedTestCases, includePattern, keyCustomFieldName, listener
 
Constructor Summary
AbstractJUnitTestResultSeeker(java.lang.String includePattern, br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases, java.lang.String keyCustomFieldName, hudson.model.BuildListener listener)
           
 
Method Summary
protected  br.eti.kinoshita.testlinkjavaapi.model.Attachment getJUnitAttachment(java.io.File junitReportFile)
          Retrieves the JUnit report file as attachment for TestLink.
 
Methods inherited from class hudson.plugins.testlink.result.TestResultSeeker
getBase64FileContent, getKeyCustomField, scan, seek, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJUnitTestResultSeeker

public AbstractJUnitTestResultSeeker(java.lang.String includePattern,
                                     br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases,
                                     java.lang.String keyCustomFieldName,
                                     hudson.model.BuildListener listener)
Method Detail

getJUnitAttachment

protected br.eti.kinoshita.testlinkjavaapi.model.Attachment getJUnitAttachment(java.io.File junitReportFile)
                                                                        throws java.io.IOException
Retrieves the JUnit report file as attachment for TestLink.

Parameters:
junitReportFile - JUnit report file.
Returns:
attachment for TestLink.
Throws:
java.io.IOException


Copyright © 2010-2011 the Jenkins TestLink plug-in team-2011 Jenkins. All Rights Reserved.