Class ExtraEUnitOperationContributor
java.lang.Object
org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
org.eclipse.epsilon.eunit.operations.ExtraEUnitOperationContributor
- All Implemented Interfaces:
AutoCloseable
Operation contributor for the EUnit operations which may require external
dependencies, or are particularly complex. The simplest operations are in
BasicEUnitOperationContributor
.-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertEqualDirectories
(String pathExpected, String pathActual) void
assertEqualFiles
(String pathExpected, String pathActual) void
assertEqualFilesIgnoringLineEndings
(String pathExpected, String pathActual) void
assertEqualModels
(String expectedModelName, String obtainedModelName) void
assertEqualModels
(String message, String expectedModelName, String obtainedModelName) void
assertEqualModels
(String message, String expectedModelName, String obtainedModelName, Map<String, Object> options) void
void
assertLineWithMatch
(String pathExpected, String regexp) void
assertLineWithMatch
(String message, String pathExpected, String regexp) void
assertMatchingLine
(String pathExpected, String regexp) void
assertMatchingLine
(String message, String pathExpected, String regexp) void
assertNotEqualDirectories
(String pathExpected, String pathActual) void
assertNotEqualFiles
(String pathExpected, String pathActual) void
assertNotEqualFilesIgnoringLineEndings
(String pathExpected, String pathActual) void
assertNotEqualModels
(String expectedModelName, String obtainedModelName) void
assertNotEqualModels
(String message, String expectedModelName, String obtainedModelName) void
assertNotEqualModels
(String message, String expectedModelName, String obtainedModelName, Map<String, Object> options) void
assertNotEqualModels
(String expectedModelName, String obtainedModelName, Map<String, Object> options) boolean
contributesTo
(Object target) Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, getTarget, includeInheritedMethods, setContext, setTarget
-
Constructor Details
-
ExtraEUnitOperationContributor
public ExtraEUnitOperationContributor()
-
-
Method Details
-
contributesTo
- Specified by:
contributesTo
in classOperationContributor
-
assertEqualFiles
public void assertEqualFiles(String pathExpected, String pathActual) throws EolAssertionException, EolInternalException -
assertEqualFilesIgnoringLineEndings
public void assertEqualFilesIgnoringLineEndings(String pathExpected, String pathActual) throws EolAssertionException, EolInternalException -
assertEqualDirectories
public void assertEqualDirectories(String pathExpected, String pathActual) throws EolAssertionException, EolInternalException -
assertEqualModels
public void assertEqualModels(String expectedModelName, String obtainedModelName) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertEqualModels
public void assertEqualModels(String expectedModelName, String obtainedModelName, Map<String, Object> options) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertEqualModels
public void assertEqualModels(String message, String expectedModelName, String obtainedModelName) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertEqualModels
public void assertEqualModels(String message, String expectedModelName, String obtainedModelName, Map<String, Object> options) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertNotEqualFiles
public void assertNotEqualFiles(String pathExpected, String pathActual) throws EolAssertionException, EolInternalException -
assertNotEqualFilesIgnoringLineEndings
public void assertNotEqualFilesIgnoringLineEndings(String pathExpected, String pathActual) throws EolAssertionException, EolInternalException -
assertNotEqualDirectories
public void assertNotEqualDirectories(String pathExpected, String pathActual) throws EolAssertionException, EolInternalException -
assertNotEqualModels
public void assertNotEqualModels(String expectedModelName, String obtainedModelName) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertNotEqualModels
public void assertNotEqualModels(String expectedModelName, String obtainedModelName, Map<String, Object> options) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertNotEqualModels
public void assertNotEqualModels(String message, String expectedModelName, String obtainedModelName) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertNotEqualModels
public void assertNotEqualModels(String message, String expectedModelName, String obtainedModelName, Map<String, Object> options) throws EolModelNotFoundException, EolAssertionException, EolInternalException -
assertMatchingLine
- Throws:
EolInternalException
-
assertMatchingLine
public void assertMatchingLine(String message, String pathExpected, String regexp) throws EolInternalException - Throws:
EolInternalException
-
assertLineWithMatch
- Throws:
EolInternalException
-
assertLineWithMatch
public void assertLineWithMatch(String message, String pathExpected, String regexp) throws EolInternalException - Throws:
EolInternalException
-