|
||||||||||
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.junit.AbstractJUnitTestResultSeeker<TestSuite>
hudson.plugins.testlink.result.junit.JUnitSuitesTestResultSeeker<T>
public class JUnitSuitesTestResultSeeker<T extends TestSuite>
Seeks for test results of JUnit test suites.
Field Summary | |
---|---|
protected JUnitParser |
parser
|
protected java.util.Map<java.lang.Integer,TestCaseWrapper<TestSuite>> |
results
|
Fields inherited from class hudson.plugins.testlink.result.TestResultSeeker |
---|
automatedTestCases, includePattern, keyCustomFieldName, listener |
Constructor Summary | |
---|---|
JUnitSuitesTestResultSeeker(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<TestSuite> testResult)
Adds a test result to the map of test results. |
protected void |
findTestResults(TestSuite junitSuite,
br.eti.kinoshita.testlinkjavaapi.model.TestCase testLinkTestCase,
java.io.File junitFile)
Looks for test results in a JUnit suite. |
protected br.eti.kinoshita.testlinkjavaapi.model.ExecutionStatus |
getJUnitExecutionStatus(TestSuite testSuite)
Gets the execution status of the JUnit suite. |
protected java.lang.String |
getJUnitNotes(TestSuite testSuite)
Gets the notes about the JUnit suite. |
protected void |
processJUnitReports(java.io.File directory,
java.lang.String[] junitReports)
Processes all JUnit reports. |
protected void |
processJUnitSuite(TestSuite junitSuite,
java.io.File junitFile)
Processes JUnit suite. |
java.util.Map<java.lang.Integer,TestCaseWrapper<TestSuite>> |
seek(java.io.File directory)
Seeks for Test Results in a directory. |
Methods inherited from class hudson.plugins.testlink.result.junit.AbstractJUnitTestResultSeeker |
---|
getJUnitAttachment |
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 JUnitParser parser
protected final java.util.Map<java.lang.Integer,TestCaseWrapper<TestSuite>> results
Constructor Detail |
---|
public JUnitSuitesTestResultSeeker(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<TestSuite>> seek(java.io.File directory) throws TestResultSeekerException
TestResultSeeker
seek
in class TestResultSeeker<TestSuite>
directory
- Directory to look for test results
TestResultSeekerException
protected void processJUnitReports(java.io.File directory, java.lang.String[] junitReports)
protected void processJUnitSuite(TestSuite junitSuite, java.io.File junitFile)
protected void findTestResults(TestSuite junitSuite, br.eti.kinoshita.testlinkjavaapi.model.TestCase testLinkTestCase, java.io.File junitFile)
protected void addOrUpdate(TestCaseWrapper<TestSuite> testResult)
protected br.eti.kinoshita.testlinkjavaapi.model.ExecutionStatus getJUnitExecutionStatus(TestSuite testSuite)
protected java.lang.String getJUnitNotes(TestSuite testSuite)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |