Package org.eclipse.epsilon.flexmi.test
Class FlexmiTests
- java.lang.Object
-
- org.eclipse.epsilon.flexmi.test.FlexmiTests
-
- Direct Known Subclasses:
ActionTests
,CompsTests
,ExternalTests
,FlexmiYamlTests
,IdTests
,ImportTests
,IncludeImportTests
,IncludeTests
,IntegrationTests
,PerformanceTests
,PropogenTests
,StandaloneTests
,TemplateTests
public abstract class FlexmiTests extends Object
-
-
Constructor Summary
Constructors Constructor Description FlexmiTests()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
assertEval(String expression, Object result, String modelFileName)
protected void
assertNoWarnings(String model, String... metamodels)
protected void
assertWarning(String message, int line, String modelFileName)
protected String
getYamlModelFileName(String modelFileName)
protected FlexmiResource
loadResource(String filename)
protected FlexmiResource
loadResource(String filename, String... metamodels)
void
setup()
protected boolean
yamlModelExists(String modelFileName)
-
-
-
Method Detail
-
loadResource
protected FlexmiResource loadResource(String filename) throws Exception
- Throws:
Exception
-
loadResource
protected FlexmiResource loadResource(String filename, String... metamodels) throws Exception
- Throws:
Exception
-
yamlModelExists
protected boolean yamlModelExists(String modelFileName)
-
assertEval
protected void assertEval(String expression, Object result, String modelFileName) throws Exception
- Throws:
Exception
-
assertWarning
protected void assertWarning(String message, int line, String modelFileName) throws Exception
- Throws:
Exception
-
-