Class BasicEUnitOperationContributor
java.lang.Object
org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
org.eclipse.epsilon.eol.execute.operations.contributors.BasicEUnitOperationContributor
- All Implemented Interfaces:
AutoCloseable
Operation contributor for the simplest EUnit assertions. More advanced
assertions (or assertions which require additional dependencies) should
be placed in the ExtraEUnitOperationContributor in the eunit.engine
project.
-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertEquals(Number expected, Number obtained, Number ulps) voidassertEquals(Object expected, Object obtained) voidassertEquals(String message, Number expected, Number obtained, Number ulps) voidassertEquals(String message, Object expected, Object obtained) voidassertFalse(boolean condition) voidassertFalse(String message, boolean condition) voidassertNotEquals(Number expected, Number obtained, Number ulps) voidassertNotEquals(Object expected, Object obtained) voidassertNotEquals(String message, Number expected, Number obtained, Number ulps) voidassertNotEquals(String message, Object expected, Object obtained) voidassertTrue(boolean condition) voidassertTrue(String message, boolean condition) booleancontributesTo(Object target) voidMethods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, getTarget, includeInheritedMethods, setContext, setTarget
-
Constructor Details
-
BasicEUnitOperationContributor
public BasicEUnitOperationContributor()
-
-
Method Details
-
contributesTo
- Specified by:
contributesToin classOperationContributor
-
assertTrue
- Throws:
EolAssertionException
-
assertTrue
- Throws:
EolAssertionException
-
assertFalse
- Throws:
EolAssertionException
-
assertFalse
- Throws:
EolAssertionException
-
assertEquals
- Throws:
EolAssertionException
-
assertEquals
public void assertEquals(String message, Object expected, Object obtained) throws EolAssertionException - Throws:
EolAssertionException
-
assertEquals
public void assertEquals(Number expected, Number obtained, Number ulps) throws EolAssertionException - Throws:
EolAssertionException
-
assertEquals
public void assertEquals(String message, Number expected, Number obtained, Number ulps) throws EolAssertionException - Throws:
EolAssertionException
-
assertNotEquals
- Throws:
EolAssertionException
-
assertNotEquals
public void assertNotEquals(String message, Object expected, Object obtained) throws EolAssertionException - Throws:
EolAssertionException
-
assertNotEquals
public void assertNotEquals(Number expected, Number obtained, Number ulps) throws EolAssertionException - Throws:
EolAssertionException
-
assertNotEquals
public void assertNotEquals(String message, Number expected, Number obtained, Number ulps) throws EolAssertionException - Throws:
EolAssertionException
-
fail
- Throws:
EolAssertionException
-