Groovy Documentation

src.groovy.pl.burningice.plugins.image.test
Class FileUploadUtils

java.lang.Object
  src.groovy.pl.burningice.plugins.image.test.FileUploadUtils

class FileUploadUtils

Class provide additional methods for testing file upload

author:
pawel.gdula@burningice.pl


Property Summary
static def SOURCE_DIR

 
Constructor Summary
FileUploadUtils()

 
Method Summary
void cleanUpTestDir()

def fileExists(def fileName)

def getEmptyMultipartFile()

def getFile(def fileName, def dir = null)

def getFilePath(def fileName)

def getMultipartFile(def fileName)

 
Methods inherited from class java.lang.Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

SOURCE_DIR

static final def SOURCE_DIR


 
Constructor Detail

FileUploadUtils

FileUploadUtils()


 
Method Detail

cleanUpTestDir

void cleanUpTestDir()


fileExists

public def fileExists(def fileName)


getEmptyMultipartFile

public def getEmptyMultipartFile()


getFile

public def getFile(def fileName, def dir = null)


getFilePath

public def getFilePath(def fileName)


getMultipartFile

public def getMultipartFile(def fileName)


 

Groovy Documentation