|
||||||||||
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<Class>
hudson.plugins.testlink.result.testng.TestNGClassesTestResultSeeker<T>
public class TestNGClassesTestResultSeeker<T extends Class>
Seeks for test results of TestNG tests.
Field Summary | |
---|---|
protected TestNGParser |
parser
|
protected java.util.Map<java.lang.Integer,TestCaseWrapper<Class>> |
results
Map of Wrappers for TestLink Test Cases. |
Fields inherited from class hudson.plugins.testlink.result.TestResultSeeker |
---|
automatedTestCases, includePattern, keyCustomFieldName, listener |
Constructor Summary | |
---|---|
TestNGClassesTestResultSeeker(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<Class> testResult)
Adds or updates a test result. |
protected void |
findTestResults(Suite testNGSuite,
Class clazz,
br.eti.kinoshita.testlinkjavaapi.model.TestCase testLinkTestCase,
java.io.File testNGFile)
Looks for test results in a TestNG test case. |
protected br.eti.kinoshita.testlinkjavaapi.model.ExecutionStatus |
getTestNGExecutionStatus(Class clazz)
Retrieves the Execution Status for a TestNG test class. |
protected java.lang.String |
getTestNGNotes(Suite suite,
Class clazz)
Retrieves notes for TestNG suite and test class. |
protected void |
processTestClass(Class clazz,
Suite testNGSuite,
java.io.File testNGFile)
Processes a TestNG test class. |
protected void |
processTestNGReports(java.io.File directory,
java.lang.String[] testNGReports)
Processes TestNG reports. |
protected void |
processTestNGSuite(Suite testNGSuite,
java.io.File testNGFile)
Processes a TestNG suite. |
protected void |
processTestNGTest(Test testNGTest,
Suite testNGSuite,
java.io.File testNGFile)
Processes a TestNG test. |
java.util.Map<java.lang.Integer,TestCaseWrapper<Class>> |
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<Class>> results
Constructor Detail |
---|
public TestNGClassesTestResultSeeker(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<Class>> seek(java.io.File directory) throws TestResultSeekerException
TestResultSeeker
seek
in class TestResultSeeker<Class>
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 processTestNGTest(Test testNGTest, Suite testNGSuite, java.io.File testNGFile)
protected void processTestClass(Class clazz, Suite testNGSuite, java.io.File testNGFile)
protected void findTestResults(Suite testNGSuite, Class clazz, br.eti.kinoshita.testlinkjavaapi.model.TestCase testLinkTestCase, java.io.File testNGFile)
protected void addOrUpdate(TestCaseWrapper<Class> testResult)
protected br.eti.kinoshita.testlinkjavaapi.model.ExecutionStatus getTestNGExecutionStatus(Class clazz)
clazz
- The TestNG Test class.
protected java.lang.String getTestNGNotes(Suite suite, Class clazz)
suite
- TestNG suite.clazz
- TestNG test class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |