public abstract class AppTestHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected static String[] |
APP_RESOURCE_SUFFIXES |
Constructor and Description |
---|
AppTestHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
annotationDeploymentSetUp(AppEngine appEngine,
Class<?> testClass,
Method method,
AppDeployment deploymentAnnotation) |
static String |
annotationDeploymentSetUp(AppEngine appEngine,
Class<?> testClass,
String methodName) |
static void |
annotationDeploymentTearDown(AppEngine appEngine,
String deploymentId,
Class<?> testClass,
String methodName) |
static AppDeploymentBuilder |
createAppDeploymentBuilder(AppEngine appEngine,
String deploymentName,
String... resources) |
static String |
getAppDefinitionResource(Class<?> type,
String name)
get a resource location by convention based on a class (type) and a relative resource name.
|
static AppEngine |
getAppEngine(String configurationResource) |
protected static final String[] APP_RESOURCE_SUFFIXES
public static String annotationDeploymentSetUp(AppEngine appEngine, Class<?> testClass, String methodName)
public static String annotationDeploymentSetUp(AppEngine appEngine, Class<?> testClass, Method method, AppDeployment deploymentAnnotation)
public static AppDeploymentBuilder createAppDeploymentBuilder(AppEngine appEngine, String deploymentName, String... resources)
public static void annotationDeploymentTearDown(AppEngine appEngine, String deploymentId, Class<?> testClass, String methodName)
public static String getAppDefinitionResource(Class<?> type, String name)
APP_RESOURCE_SUFFIXES
. The first resource matching a suffix will be returned.