hudson.plugins.junitattachments
Class GetTestDataMethodObject

java.lang.Object
  extended by hudson.plugins.junitattachments.GetTestDataMethodObject

public class GetTestDataMethodObject
extends java.lang.Object

This class is a helper for hudson.tasks.junit.TestDataPublisher.getTestData(AbstractBuild, Launcher, BuildListener, TestResult).

Author:
mfriedenhagen

Constructor Summary
GetTestDataMethodObject(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.tasks.junit.TestResult testResult)
           
 
Method Summary
 java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAttachments()
          Returns a Map of classname vs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTestDataMethodObject

public GetTestDataMethodObject(hudson.model.AbstractBuild<?,?> build,
                               hudson.Launcher launcher,
                               hudson.model.BuildListener listener,
                               hudson.tasks.junit.TestResult testResult)
Parameters:
build - see build
testResult - see testResult
Method Detail

getAttachments

public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAttachments()
                                                                                throws java.lang.IllegalStateException,
                                                                                       java.io.IOException,
                                                                                       java.lang.InterruptedException
Returns a Map of classname vs. the stored attachments in a directory named as the test class.

Returns:
the map
Throws:
java.lang.InterruptedException
java.io.IOException
java.lang.IllegalStateException
java.lang.InterruptedException


Copyright © 2004-2011. All Rights Reserved.