|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.plugins.testlink.result.TestResultSeeker<T>
public abstract class TestResultSeeker<T>
Seeks for Test Results.
Field Summary | |
---|---|
protected br.eti.kinoshita.testlinkjavaapi.model.TestCase[] |
automatedTestCases
|
protected java.lang.String |
includePattern
|
protected java.lang.String |
keyCustomFieldName
|
protected hudson.model.BuildListener |
listener
|
Constructor Summary | |
---|---|
TestResultSeeker(java.lang.String includePattern,
br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases,
java.lang.String keyCustomFieldName,
hudson.model.BuildListener listener)
Default constructor. |
Method Summary | |
---|---|
protected java.lang.String |
getBase64FileContent(java.io.File file)
Retrieves the file content encoded in Base64. |
protected br.eti.kinoshita.testlinkjavaapi.model.CustomField |
getKeyCustomField(java.util.List<br.eti.kinoshita.testlinkjavaapi.model.CustomField> customFields)
Gets the key custom field out of a list using the key custom field name. |
protected java.lang.String[] |
scan(java.io.File directory,
java.lang.String includes,
hudson.model.BuildListener listener)
Scans a directory for files matching the includes pattern. |
abstract java.util.Map<java.lang.Integer,TestCaseWrapper<T>> |
seek(java.io.File directory)
Seeks for Test Results in a directory. |
protected java.lang.String[] |
split(java.lang.String input)
Splits a String by comma and gets an array of Strings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String includePattern
protected final br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases
protected final java.lang.String keyCustomFieldName
protected final hudson.model.BuildListener listener
Constructor Detail |
---|
public TestResultSeeker(java.lang.String includePattern, br.eti.kinoshita.testlinkjavaapi.model.TestCase[] automatedTestCases, java.lang.String keyCustomFieldName, hudson.model.BuildListener listener)
includePattern
- Include pattern.report
- TestLink report.keyCustomFieldName
- Name of the Key Custom Field.listener
- Hudson Build listener.Method Detail |
---|
public abstract java.util.Map<java.lang.Integer,TestCaseWrapper<T>> seek(java.io.File directory) throws TestResultSeekerException
directory
- Directory to look for test results
TestResultSeekerException
protected java.lang.String getBase64FileContent(java.io.File file) throws java.io.IOException
file
- file to read the content.
java.io.IOException
protected java.lang.String[] split(java.lang.String input)
protected java.lang.String[] scan(java.io.File directory, java.lang.String includes, hudson.model.BuildListener listener) throws java.io.IOException
directory
- the directory to scan.includes
- the includes pattern.listener
- Hudson Build listener.
java.io.IOException
protected br.eti.kinoshita.testlinkjavaapi.model.CustomField getKeyCustomField(java.util.List<br.eti.kinoshita.testlinkjavaapi.model.CustomField> customFields)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |