com.atlassian.crowd.acceptance.utils
Class AcceptanceTestHelper

java.lang.Object
  extended by com.atlassian.crowd.acceptance.utils.AcceptanceTestHelper

public class AcceptanceTestHelper
extends Object

User: Justin Date: 12/03/2007


Constructor Summary
AcceptanceTestHelper()
           
 
Method Summary
static File getResource(String fileName)
           
static InputStream getResourceAsStream(String fileName)
           
static String getResourcePath(String fileName)
           
static String getTestResourcesLocation()
           
protected static File loadFileFromClasspath(String source)
           
static Properties loadProperties(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptanceTestHelper

public AcceptanceTestHelper()
Method Detail

loadFileFromClasspath

protected static File loadFileFromClasspath(String source)
                                     throws Exception
Throws:
Exception

getTestResourcesLocation

public static String getTestResourcesLocation()

getResourceAsStream

public static InputStream getResourceAsStream(String fileName)
                                       throws Exception
Throws:
Exception

getResource

public static File getResource(String fileName)

getResourcePath

public static String getResourcePath(String fileName)

loadProperties

public static Properties loadProperties(String fileName)


Copyright © 2013 Atlassian. All Rights Reserved.