public class MXMLTestBase extends TestBase
Modifier and Type | Field and Description |
---|---|
protected ITestAdapter |
testAdapter |
static int |
WRAP_LEVEL_DOCUMENT |
static int |
WRAP_LEVEL_NODE |
asBlockWalker, asEmitter, backend, env, errors, inputFileExtension, mCode, mxmlBlockWalker, mxmlEmitter, project, tempDir, workspace, writer
Constructor and Description |
---|
MXMLTestBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addLibraries(List<File> libraries) |
protected void |
addNamespaceMappings(List<IMXMLNamespaceMapping> namespaceMappings) |
protected IBackend |
createBackend() |
protected IMXMLNode |
findFirstDescendantOfType(IMXMLNode node,
Class<? extends IMXMLNode> nodeType) |
protected IMXMLNode |
getNode(String code,
Class<? extends IMXMLNode> type,
int wrapLevel) |
void |
setUp() |
addDependencies, addSourcePaths, assertOut, assertOut, assertOutWithMetadata, compile, compileAS, compileAS, compileAS, compileMXML, compileMXML, compileMXML, compileProject, compileProject, findFirstDescendantOfType, getCodeFromFile, getOutputClassFile, readCode, readCodeFile, removeGeneratedString, removeMetadata, tearDown, toString, writeCodeToTempFile, writeFile, writeResultToFile
protected ITestAdapter testAdapter
public static final int WRAP_LEVEL_DOCUMENT
public static final int WRAP_LEVEL_NODE
protected void addLibraries(List<File> libraries)
addLibraries
in class TestBase
protected void addNamespaceMappings(List<IMXMLNamespaceMapping> namespaceMappings)
addNamespaceMappings
in class TestBase
protected IBackend createBackend()
createBackend
in class TestBase
Copyright © 2016 The Apache Software Foundation. All rights reserved.