|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.testlink.result.TestResultSeeker<T>
hudson.plugins.testlink.result.testng.AbstractTestNGTestResultSeeker<Suite>
hudson.plugins.testlink.result.testng.TestNGSuitesTestResultSeeker<T>
public class TestNGSuitesTestResultSeeker<T extends Suite>
Seeks for test results of TestNG suites.
Field Summary | |
---|---|
protected TestNGParser |
parser
|
protected java.util.Map<java.lang.Integer,TestCaseWrapper<Suite>> |
results
|
Fields inherited from class hudson.plugins.testlink.result.TestResultSeeker |
---|
automatedTestCases, includePattern, keyCustomFieldName, listener |
Constructor Summary | |
---|---|
TestNGSuitesTestResultSeeker(java.lang.String includePattern,
br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases,
java.lang.String keyCustomFieldName,
hudson.model.BuildListener listener)
|
Method Summary | |
---|---|
protected void |
addOrUpdate(TestCaseWrapper<Suite> testResult)
Adds a test result to the map of test results. |
protected void |
findTestResults(Suite testNGSuite,
br.eti.kinoshita.testlinkjavaapi.model.TestCase testLinkTestCase,
java.io.File testNGFile)
Looks for test results in a TestNG suite. |
protected br.eti.kinoshita.testlinkjavaapi.model.ExecutionStatus |
getTestNGExecutionStatus(Suite suite)
Retrieves the Execution Status for a TestNG test class. |
protected java.lang.String |
getTestNGNotes(Suite suite)
Retrieves notes for TestNG suite. |
protected void |
processTestNGReports(java.io.File directory,
java.lang.String[] testNGReports)
Processes TestNG reports. |
protected void |
processTestNGSuite(Suite testNGSuite,
java.io.File testNGFile)
Processes TestNG Suite. |
java.util.Map<java.lang.Integer,TestCaseWrapper<Suite>> |
seek(java.io.File directory)
Seeks for Test Results in a directory. |
Methods inherited from class hudson.plugins.testlink.result.testng.AbstractTestNGTestResultSeeker |
---|
getTestNGAttachment |
Methods inherited from class hudson.plugins.testlink.result.TestResultSeeker |
---|
getBase64FileContent, getKeyCustomField, scan, split |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final TestNGParser parser
protected final java.util.Map<java.lang.Integer,TestCaseWrapper<Suite>> results
Constructor Detail |
---|
public TestNGSuitesTestResultSeeker(java.lang.String includePattern, br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases, java.lang.String keyCustomFieldName, hudson.model.BuildListener listener)
Method Detail |
---|
public java.util.Map<java.lang.Integer,TestCaseWrapper<Suite>> seek(java.io.File directory) throws TestResultSeekerException
TestResultSeeker
seek
in class TestResultSeeker<Suite>
directory
- Directory to look for test results
TestResultSeekerException
protected void processTestNGReports(java.io.File directory, java.lang.String[] testNGReports)
protected void processTestNGSuite(Suite testNGSuite, java.io.File testNGFile)
protected void findTestResults(Suite testNGSuite, br.eti.kinoshita.testlinkjavaapi.model.TestCase testLinkTestCase, java.io.File testNGFile)
protected void addOrUpdate(TestCaseWrapper<Suite> testResult)
protected java.lang.String getTestNGNotes(Suite suite)
suite
- TestNG suite.
protected br.eti.kinoshita.testlinkjavaapi.model.ExecutionStatus getTestNGExecutionStatus(Suite suite)
suite
- The TestNG Test suite.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |