Package org.eclipse.epsilon.eunit
Interface IEUnitModule
-
- All Superinterfaces:
IEolModule
,IModule
,ModuleElement
- All Known Implementing Classes:
EUnitModule
public interface IEUnitModule extends IEolModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addTestListener(EUnitTestListener listener)
java.lang.String
getClassName()
java.util.List<Pair<Operation,java.lang.String>>
getDataVariableNames()
java.util.ArrayList<Operation>
getInlineModelOperations()
java.lang.String
getPackage()
java.lang.String
getQualifiedName()
java.io.File
getReportDirectory()
java.util.List<?>
getSelectedOperations()
java.util.ArrayList<Operation>
getSetups()
EUnitTest
getSuiteRoot()
java.util.ArrayList<Operation>
getSuiteSetups()
java.util.ArrayList<Operation>
getSuiteTeardowns()
java.util.ArrayList<Operation>
getTeardowns()
java.util.ArrayList<Operation>
getTests()
boolean
isAnnotatedAs(Operation operation, java.lang.String annotation)
boolean
removeTestListener(EUnitTestListener listener)
void
runSuite(EUnitTest node)
void
setPackage(java.lang.String packageName)
void
setReportDirectory(java.io.File reportFile)
void
setSelectedOperations(java.util.List<?> attribute)
-
Methods inherited from interface org.eclipse.epsilon.eol.IEolModule
configure, execute, getCompilationContext, getConfigurationProperties, getContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModule
-
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
compile, createAst, getSourceUri, parse, parse, parse, parse, parse
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
build, getChildren, getComments, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Method Detail
-
runSuite
void runSuite(EUnitTest node) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getSuiteRoot
EUnitTest getSuiteRoot() throws EolRuntimeException
- Throws:
EolRuntimeException
-
isAnnotatedAs
boolean isAnnotatedAs(Operation operation, java.lang.String annotation)
-
getSuiteTeardowns
java.util.ArrayList<Operation> getSuiteTeardowns()
-
getSuiteSetups
java.util.ArrayList<Operation> getSuiteSetups()
-
getTeardowns
java.util.ArrayList<Operation> getTeardowns()
-
getSetups
java.util.ArrayList<Operation> getSetups()
-
getInlineModelOperations
java.util.ArrayList<Operation> getInlineModelOperations()
-
getTests
java.util.ArrayList<Operation> getTests()
-
getQualifiedName
java.lang.String getQualifiedName()
-
setPackage
void setPackage(java.lang.String packageName)
-
getPackage
java.lang.String getPackage()
-
getReportDirectory
java.io.File getReportDirectory()
-
setReportDirectory
void setReportDirectory(java.io.File reportFile)
-
setSelectedOperations
void setSelectedOperations(java.util.List<?> attribute) throws EolRuntimeException
- Throws:
EolRuntimeException
-
getSelectedOperations
java.util.List<?> getSelectedOperations()
-
removeTestListener
boolean removeTestListener(EUnitTestListener listener)
-
addTestListener
boolean addTestListener(EUnitTestListener listener)
-
getClassName
java.lang.String getClassName()
-
-