hudson.plugins.testlink.result
Class AbstractTestNGResultSeeker

java.lang.Object
  extended by hudson.plugins.testlink.result.ResultSeeker
      extended by hudson.plugins.testlink.result.AbstractTestNGResultSeeker
All Implemented Interfaces:
hudson.model.Describable<ResultSeeker>, java.io.Serializable, java.lang.Comparable<ResultSeeker>
Direct Known Subclasses:
TestNGClassNameResultSeeker, TestNGMethodNameDataProviderNameResultSeeker, TestNGMethodNameResultSeeker, TestNGSuiteNameResultSeeker

public abstract class AbstractTestNGResultSeeker
extends ResultSeeker

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

Field Summary
static java.lang.String FAIL
           
protected  TestNGParser parser
           
static java.lang.String PASS
           
static java.lang.String SKIP
           
static java.lang.String TEXT_XML_CONTENT_TYPE
           
 
Fields inherited from class hudson.plugins.testlink.result.ResultSeeker
includeNotes, includePattern, keyCustomField
 
Constructor Summary
AbstractTestNGResultSeeker(java.lang.String includePattern, java.lang.String keyCustomField, boolean attachTestNGXML, boolean markSkippedTestAsBlocked, boolean includeNotes)
           
 
Method Summary
protected  void handleResult(TestCaseWrapper automatedTestCase, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener, TestLinkSite testlink, br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus status, Suite suiteResult)
           
 boolean isAttachTestNGXML()
           
 boolean isMarkSkippedTestAsBlocked()
           
 void setAttachTestNGXML(boolean attachTestNGXML)
           
 void setMarkSkippedTestAsBlocked(boolean markSkippedTestAsBlocked)
           
 
Methods inherited from class hudson.plugins.testlink.result.ResultSeeker
all, allExcept, compareTo, getBase64FileContent, getDescriptor, getIncludePattern, getKeyCustomField, getKeyCustomField, isIncludeNotes, scan, seek
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PASS

public static final java.lang.String PASS
See Also:
Constant Field Values

FAIL

public static final java.lang.String FAIL
See Also:
Constant Field Values

SKIP

public static final java.lang.String SKIP
See Also:
Constant Field Values

TEXT_XML_CONTENT_TYPE

public static final java.lang.String TEXT_XML_CONTENT_TYPE
See Also:
Constant Field Values

parser

protected final TestNGParser parser
Constructor Detail

AbstractTestNGResultSeeker

public AbstractTestNGResultSeeker(java.lang.String includePattern,
                                  java.lang.String keyCustomField,
                                  boolean attachTestNGXML,
                                  boolean markSkippedTestAsBlocked,
                                  boolean includeNotes)
Method Detail

setAttachTestNGXML

public void setAttachTestNGXML(boolean attachTestNGXML)

isAttachTestNGXML

public boolean isAttachTestNGXML()

setMarkSkippedTestAsBlocked

public void setMarkSkippedTestAsBlocked(boolean markSkippedTestAsBlocked)

isMarkSkippedTestAsBlocked

public boolean isMarkSkippedTestAsBlocked()

handleResult

protected void handleResult(TestCaseWrapper automatedTestCase,
                            hudson.model.AbstractBuild<?,?> build,
                            hudson.model.BuildListener listener,
                            TestLinkSite testlink,
                            br.eti.kinoshita.testlinkjavaapi.constants.ExecutionStatus status,
                            Suite suiteResult)


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