public class ASFeatureTestsBase extends Object
Constructor and Description |
---|
ASFeatureTestsBase() |
Modifier and Type | Method and Description |
---|---|
protected String |
compile(File tempASFile,
String source,
boolean withFramework,
boolean withRPC,
boolean withSpark,
String[] otherOptions,
boolean checkExitCode) |
protected void |
compileAndExpectErrors(String source,
boolean withFramework,
boolean withRPC,
boolean withSpark,
String[] otherOptions,
String errors) |
protected void |
compileAndRun(String source) |
protected void |
compileAndRun(String source,
boolean withFramework,
boolean withRPC,
boolean withSpark,
String[] otherOptions) |
static int |
executeCommandWithTimeout(String[] args,
long timeoutInSeconds) |
protected File |
generateTempFile(String source) |
protected String |
getAS(String[] imports,
String[] declarations,
String[] testCode,
String[] extraCode)
Combines various code snippets to make a complete one-file MXML Sprite-based application.
|
protected String compile(File tempASFile, String source, boolean withFramework, boolean withRPC, boolean withSpark, String[] otherOptions, boolean checkExitCode)
protected void compileAndExpectErrors(String source, boolean withFramework, boolean withRPC, boolean withSpark, String[] otherOptions, String errors)
protected void compileAndRun(String source, boolean withFramework, boolean withRPC, boolean withSpark, String[] otherOptions)
protected void compileAndRun(String source)
public static int executeCommandWithTimeout(String[] args, long timeoutInSeconds) throws Exception
Exception
Copyright © 2016 The Apache Software Foundation. All rights reserved.