Package com._1c.g5.v8.dt.md.resource
Class AbstractInferrerTest.InferrerTestScenario<T extends org.eclipse.emf.ecore.EObject>
java.lang.Object
com._1c.g5.v8.dt.md.resource.AbstractInferrerTest.InferrerTestScenario<T>
- Enclosing class:
- AbstractInferrerTest
public static class AbstractInferrerTest.InferrerTestScenario<T extends org.eclipse.emf.ecore.EObject>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.eclipse.emf.ecore.EClass
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassertReset
(BiConsumer<T, CompatibilityMode> assertResetFunction) assertSet
(BiConsumer<T, CompatibilityMode> assertSetFunction) Sets the function that asserts inferrer result in case of 'Set' scenario.beforeTest
(Consumer<T> beforeTestFunction) resetCondition
(Consumer<T> resetCondition) setCondition
(Consumer<T> setCondition) toString()
-
Field Details
-
assertSetFunction
-
assertResetFunction
-
setConditionFunction
-
resetConditionFunction
-
beforeTestFunction
-
eClass
public org.eclipse.emf.ecore.EClass eClass
-
-
Constructor Details
-
InferrerTestScenario
-
-
Method Details
-
assertReset
public AbstractInferrerTest.InferrerTestScenario<T> assertReset(BiConsumer<T, CompatibilityMode> assertResetFunction) -
assertSet
public AbstractInferrerTest.InferrerTestScenario<T> assertSet(BiConsumer<T, CompatibilityMode> assertSetFunction) Sets the function that asserts inferrer result in case of 'Set' scenario.- Parameters:
assertSetFunction
- The function, cannot benull
- Returns:
- The reference to the scenario for the call chaining. Cannot be
null
-
resetCondition
-
setCondition
-
beforeTest
-
toString
-