hudson.plugins.junitattachments
Class GetTestDataMethodObject
java.lang.Object
hudson.plugins.junitattachments.GetTestDataMethodObject
public class GetTestDataMethodObject
- extends Object
This class is a helper for hudson.tasks.junit.TestDataPublisher.getTestData(AbstractBuild, ?>, Launcher,
BuildListener, TestResult).
- Author:
- mfriedenhagen, Kohsuke Kawaguchi
|
Constructor Summary |
GetTestDataMethodObject(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.tasks.junit.TestResult testResult)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetTestDataMethodObject
public GetTestDataMethodObject(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.tasks.junit.TestResult testResult)
- Parameters:
build - see buildtestResult - see testResult
getAttachments
public Map<String,List<String>> getAttachments()
throws IllegalStateException,
IOException,
InterruptedException
- Returns a Map of classname vs. the stored attachments in a directory named as the test class.
- Returns:
- the map
- Throws:
InterruptedException
IOException
IllegalStateException
InterruptedException
Copyright © 2004-2011. All Rights Reserved.