Package hudson.plugins.junitattachments
Class GetTestDataMethodObject
java.lang.Object
hudson.plugins.junitattachments.GetTestDataMethodObject
This class is a helper for
hudson.tasks.junit.TestDataPublisher.getTestData(AbstractBuild<?, ?>, Launcher,
BuildListener, TestResult)
.- Author:
- mfriedenhagen, Kohsuke Kawaguchi
-
Constructor Summary
ConstructorDescriptionGetTestDataMethodObject
(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) Deprecated.GetTestDataMethodObject
(Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) -
Method Summary
-
Constructor Details
-
GetTestDataMethodObject
@Deprecated public GetTestDataMethodObject(AbstractBuild<?, ?> build, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) Deprecated.- Parameters:
build
- seebuild
testResult
- seetestResult
-
GetTestDataMethodObject
public GetTestDataMethodObject(Run<?, ?> build, @NonNull FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult) - Parameters:
build
- seebuild
testResult
- seetestResult
-
-
Method Details
-
getAttachments
public Map<String,Map<String, getAttachments() throws IllegalStateException, IOException, InterruptedExceptionList<String>>> 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
-