Package org.eclipse.epsilon.eunit
Interface IEUnitModule
- All Superinterfaces:
IEolModule
,IModule
,ModuleElement
- All Known Implementing Classes:
EUnitModule
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addTestListener
(EUnitTestListener listener) Returns the path to the directory which will store the clones used to freeze models during comparisons.List<?>
getTests()
boolean
isAnnotatedAs
(Operation operation, String annotation) boolean
removeTestListener
(EUnitTestListener listener) void
void
setModelCloneDirectory
(File modelCloneDirectory) Changes the model clone directory.void
setPackage
(String packageName) void
setReportDirectory
(File reportFile) void
setSelectedOperations
(List<?> attribute) Methods inherited from interface org.eclipse.epsilon.eol.IEolModule
configure, execute, getConfigurationProperties, getContext, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setImportManager, setParentModule
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
createAst, getSourceUri, parse, parse, parse, parse, parse
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
build, getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Method Details
-
runSuite
- Throws:
EolRuntimeException
-
getSuiteRoot
- Throws:
EolRuntimeException
-
isAnnotatedAs
-
getDataVariableNames
-
getSuiteTeardowns
-
getSuiteSetups
-
getTeardowns
-
getSetups
-
getInlineModelOperations
-
getTests
-
getCustomComparators
List<IModelComparator> getCustomComparators() -
getQualifiedName
String getQualifiedName() -
setPackage
-
getPackage
String getPackage() -
getReportDirectory
File getReportDirectory() -
setReportDirectory
-
setSelectedOperations
- Throws:
EolRuntimeException
-
getSelectedOperations
List<?> getSelectedOperations() -
removeTestListener
-
addTestListener
-
getClassName
String getClassName() -
getModelCloneDirectory
File getModelCloneDirectory()Returns the path to the directory which will store the clones used to freeze models during comparisons. By default, this will be#DEFAULT_EUNIT_MODEL_CLONE_DIR
in the current directory. If set tonull
, the operating system's system-wide temporary folder will be used. -
setModelCloneDirectory
Changes the model clone directory.- See Also:
-