com.atlassian.confluence.it
Class AcceptanceTestHelper
java.lang.Object
com.atlassian.confluence.it.AcceptanceTestHelper
public class AcceptanceTestHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AcceptanceTestHelper
public AcceptanceTestHelper()
loadFileFromClasspath
@Deprecated
public static File loadFileFromClasspath(String resourceName)
- Deprecated. since 2.10 use
Classpath.getFile(String)
.
loadFromClasspath
@Deprecated
public static byte[] loadFromClasspath(String resourceName)
- Deprecated. since 2.10 use
Classpath.getBytes(String)
.
generateLargeAttachment
public static File generateLargeAttachment(String filename,
long bytes)
getTempFileDir
public static File getTempFileDir()
generateAttachment
public static File generateAttachment(String filename,
String text)
getTempDirectory
public static File getTempDirectory()
loadProperties
public static Properties loadProperties(String fileName)
getPropertyValue
protected static String getPropertyValue(String k,
String v,
Properties p)
- Retrieves a property value, replacing values like ${token} using the Properties to look them up.
It will leave unresolved properties alone, trying for System properties, and implements reparsing (in the case
that the value of a property contains a key), and will not loop endlessly on a pair like test = ${test}.
Copyright © 2003-2012 Atlassian. All Rights Reserved.