com.atlassian.bamboo.testutils
Class AcceptanceTestHelper
java.lang.Object
com.atlassian.bamboo.testutils.AcceptanceTestHelper
public class AcceptanceTestHelper
- extends java.lang.Object
AcceptanceTestHelper nickf Oct 6, 2004 5:43:05 PM
Method Summary |
protected static java.io.File |
copyIntoTemporaryFile(java.lang.String source,
java.lang.String fileName)
creates a temp file with a given filename from an input stream in the classpath or a file in the filesystem |
protected static java.io.File |
loadFileFromClasspath(java.lang.String source)
|
static java.util.Properties |
loadProperties(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadFileFromClasspath
protected static java.io.File loadFileFromClasspath(java.lang.String source)
throws java.lang.Exception
- Throws:
java.lang.Exception
copyIntoTemporaryFile
protected static java.io.File copyIntoTemporaryFile(java.lang.String source,
java.lang.String fileName)
throws java.io.IOException,
java.lang.Exception
- creates a temp file with a given filename from an input stream in the classpath or a file in the filesystem
- Parameters:
fileName
-
- Returns:
-
- Throws:
java.io.IOException
java.lang.Exception
loadProperties
public static java.util.Properties loadProperties(java.lang.String fileName)
Copyright © 2011 Atlassian. All Rights Reserved.