hudson.plugins.junitattachments
Class GetTestDataMethodObject

java.lang.Object
  extended by 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)
           
 
Method Summary
 Map<String,List<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.TaskListener listener,
                               hudson.tasks.junit.TestResult testResult)
Parameters:
build - see build
testResult - see testResult
Method Detail

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.