Uses of Interface
de.gebit.integrity.dsl.MethodReference
-
-
Uses of MethodReference in de.gebit.integrity.annotation
Methods in de.gebit.integrity.annotation with parameters of type MethodReference Modifier and Type Method Description java.util.List<org.eclipse.xtext.util.Pair<org.eclipse.xtext.common.types.JvmFormalParameter,org.eclipse.xtext.common.types.JvmAnnotationReference>>
JvmFixtureEvaluation. getAllAnnotatedParameter(MethodReference aMethod, java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> someAnnotationTypes)
Processes the given method and returns a list of all annotated parameters. -
Uses of MethodReference in de.gebit.integrity.classloading
Methods in de.gebit.integrity.classloading with parameters of type MethodReference Modifier and Type Method Description java.lang.Class<?>
DefaultIntegrityClassLoader. loadClass(MethodReference aMethodReference)
java.lang.Class<?>
IntegrityClassLoader. loadClass(MethodReference aMethodReference)
Load the class defined by the providedMethodReference
.java.lang.reflect.Method
DefaultIntegrityClassLoader. loadMethod(MethodReference aMethodReference)
java.lang.reflect.Method
IntegrityClassLoader. loadMethod(MethodReference aMethodReference)
First loads the class defined by the providedMethodReference
, then loads the method. -
Uses of MethodReference in de.gebit.integrity.dsl
Methods in de.gebit.integrity.dsl that return MethodReference Modifier and Type Method Description MethodReference
DslFactory. createMethodReference()
Returns a new object of class 'Method Reference'.MethodReference
CallDefinition. getFixtureMethod()
Returns the value of the 'Fixture Method' containment reference.MethodReference
TestDefinition. getFixtureMethod()
Returns the value of the 'Fixture Method' containment reference.Methods in de.gebit.integrity.dsl with parameters of type MethodReference Modifier and Type Method Description void
CallDefinition. setFixtureMethod(MethodReference value)
Sets the value of the 'Fixture Method
' containment reference.void
TestDefinition. setFixtureMethod(MethodReference value)
Sets the value of the 'Fixture Method
' containment reference. -
Uses of MethodReference in de.gebit.integrity.dsl.impl
Classes in de.gebit.integrity.dsl.impl that implement MethodReference Modifier and Type Class Description class
MethodReferenceImpl
An implementation of the model object 'Method Reference'.Fields in de.gebit.integrity.dsl.impl declared as MethodReference Modifier and Type Field Description protected MethodReference
CallDefinitionImpl. fixtureMethod
The cached value of the 'Fixture Method
' containment reference.protected MethodReference
TestDefinitionImpl. fixtureMethod
The cached value of the 'Fixture Method
' containment reference.Methods in de.gebit.integrity.dsl.impl that return MethodReference Modifier and Type Method Description MethodReference
DslFactoryImpl. createMethodReference()
MethodReference
CallDefinitionImpl. getFixtureMethod()
MethodReference
TestDefinitionImpl. getFixtureMethod()
Methods in de.gebit.integrity.dsl.impl with parameters of type MethodReference Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
CallDefinitionImpl. basicSetFixtureMethod(MethodReference newFixtureMethod, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
TestDefinitionImpl. basicSetFixtureMethod(MethodReference newFixtureMethod, org.eclipse.emf.common.notify.NotificationChain msgs)
void
CallDefinitionImpl. setFixtureMethod(MethodReference newFixtureMethod)
void
TestDefinitionImpl. setFixtureMethod(MethodReference newFixtureMethod)
-
Uses of MethodReference in de.gebit.integrity.dsl.util
Methods in de.gebit.integrity.dsl.util with parameters of type MethodReference Modifier and Type Method Description T
DslSwitch. caseMethodReference(MethodReference object)
Returns the result of interpreting the object as an instance of 'Method Reference'. -
Uses of MethodReference in de.gebit.integrity.fixtures
Constructors in de.gebit.integrity.fixtures with parameters of type MethodReference Constructor Description FixtureWrapper(MethodReference aMethodReference, com.google.inject.Injector anInjector)
Creates a new instance. -
Uses of MethodReference in de.gebit.integrity.runner.callbacks
Methods in de.gebit.integrity.runner.callbacks with parameters of type MethodReference Modifier and Type Method Description java.lang.String
TestFormatter. fixtureMethodToHumanReadableString(MethodReference aFixtureMethod, SuiteStatementWithResult aStatement, java.util.Map<java.lang.String,java.lang.Object> someParameters, ConversionContext aConversionContext)
Creates a human-readable string for a fixture method. -
Uses of MethodReference in de.gebit.integrity.runner.callbacks.remoting
Methods in de.gebit.integrity.runner.callbacks.remoting with parameters of type MethodReference Modifier and Type Method Description protected SetListEntry[]
SetListCallback. addMethodAndParamsToTestOrCall(MethodReference aMethod, org.eclipse.emf.common.util.EList<Parameter> aParamList, SetListEntry anEntry, SuiteStatementWithResult aStatement)
Adds information about the fixture method being called and the parameters given to it to a test or call entry.protected java.util.List<SetListEntry>
SetListCallback. onAnyKindOfSubTestFinish(MethodReference aMethod, SuiteStatementWithResult aStatement, SetListEntry aTestEntry, TestSubResult aSubResult, java.util.Map<java.lang.String,java.lang.Object> aParameterMap)
This method is used to perform the actual sub-test result parsing, both for normal tests and tabletests (with the latter having more than one subtest). -
Uses of MethodReference in de.gebit.integrity.runner.callbacks.xml
Methods in de.gebit.integrity.runner.callbacks.xml with parameters of type MethodReference Modifier and Type Method Description protected void
XmlWriterTestCallback. onAnyKindOfSubTestFinish(MethodReference aMethod, SuiteStatementWithResult aStatement, org.jdom.Element aResultCollectionElement, TestSubResult aSubResult, java.util.Map<java.lang.String,java.lang.Object> aParameterMapForText, java.util.Map<java.lang.String,java.lang.Object> aParameterMap)
Used to write sub-test results. -
Uses of MethodReference in de.gebit.integrity.runner.comparator
Methods in de.gebit.integrity.runner.comparator with parameters of type MethodReference Modifier and Type Method Description ComparisonResult
DefaultResultComparator. compareResult(java.lang.Object aFixtureResult, ValueOrEnumValueOrOperationCollection anExpectedResult, FixtureWrapper<?> aFixtureInstance, MethodReference aFixtureMethod, java.lang.String aPropertyName)
ComparisonResult
ResultComparator. compareResult(java.lang.Object aFixtureResult, ValueOrEnumValueOrOperationCollection anExpectedResult, FixtureWrapper<?> aFixtureInstance, MethodReference aFixtureMethod, java.lang.String aPropertyName)
Compares the expected result with the actual result obtained from a test fixture. -
Uses of MethodReference in de.gebit.integrity.runner.wrapper
Methods in de.gebit.integrity.runner.wrapper with parameters of type MethodReference Modifier and Type Method Description FixtureWrapper<?>
DefaultWrapperFactory. newFixtureWrapper(MethodReference aFixtureMethodRef)
-
Uses of MethodReference in de.gebit.integrity.scoping
Methods in de.gebit.integrity.scoping with parameters of type MethodReference Modifier and Type Method Description protected org.eclipse.xtext.scoping.IScope
DSLScopeProvider. determineDefaultResultEnumValueScope(MethodReference aMethodRef)
Determine valid enumeration values for the default result type of the provided fixture method reference.protected org.eclipse.xtext.scoping.IScope
DSLScopeProvider. determineNamedResultEnumValueScope(MethodReference aMethodRef, org.eclipse.xtext.common.types.JvmField aField)
Determine valid enumeration values for the default result type of the provided fixture method reference.protected org.eclipse.xtext.scoping.IScope
DSLScopeProvider. determineParameterEnumValueScope(MethodReference aMethodRef, ParameterName aParameterName)
Determine valid enumeration values for the provided parameter name of the provided fixture method reference.org.eclipse.xtext.scoping.IScope
DSLScopeProvider. scope_MethodReference_method(MethodReference aMethodRef, org.eclipse.emf.ecore.EReference aRef)
Limits the fixture method references to actually existing methods with the necessary annotation. -
Uses of MethodReference in de.gebit.integrity.serializer
Methods in de.gebit.integrity.serializer with parameters of type MethodReference Modifier and Type Method Description protected void
AbstractDSLSemanticSequencer. sequence_MethodReference(org.eclipse.xtext.serializer.ISerializationContext context, MethodReference semanticObject)
Contexts: MethodReference returns MethodReference Constraint: (type=[JvmType|QualifiedJavaClassName] method=[JvmOperation|ID]) -
Uses of MethodReference in de.gebit.integrity.utils
Methods in de.gebit.integrity.utils that return MethodReference Modifier and Type Method Description static MethodReference
IntegrityDSLUtil. getMethodReferenceForAction(org.eclipse.emf.ecore.EObject anAction)
Methods in de.gebit.integrity.utils with parameters of type MethodReference Modifier and Type Method Description static java.util.List<org.eclipse.xtext.common.types.JvmEnumerationLiteral>
IntegrityDSLUtil. getAllEnumLiteralsFromFixtureMethodParam(MethodReference aMethod, org.eclipse.xtext.common.types.JvmAnnotationReference aParamAnnotation)
Returns a list of all valid enumeration literals for a given parameter in a given fixture method.static java.util.List<ParamAnnotationTypeTriplet>
IntegrityDSLUtil. getAllParamNamesFromFixtureMethod(MethodReference aMethod)
Returns a list of all defined parameter names in a given fixture method, each of the results linked to the annotation reference that's connected to the parameter in the method signature.static java.util.List<ResultFieldTuple>
IntegrityDSLUtil. getAllResultNamesFromFixtureMethod(MethodReference aMethod)
Returns a list of named results defined by a given fixture method.static java.lang.String
IntegrityDSLUtil. getQualifiedNameOfFixtureMethod(MethodReference aReference)
Returns the fully qualified name of the fixture method referenced by the given method reference. -
Uses of MethodReference in de.gebit.integrity.validation
Methods in de.gebit.integrity.validation with parameters of type MethodReference Modifier and Type Method Description protected java.util.Set<java.lang.String>
DSLJavaValidator. checkForNonNullableParameter(MethodReference aMethod, java.util.List<Parameter> someParameters)
Checks if the given method has a parameter that is non-nullable, but for which a null value is statically provided.protected java.util.Set<java.lang.String>
DSLJavaValidator. getMandatoryParameterNamesOf(MethodReference aMethod)
Extracts all mandatory parameter names from the given method reference. -
Uses of MethodReference in de.gebit.integrity.wrapper
Methods in de.gebit.integrity.wrapper with parameters of type MethodReference Modifier and Type Method Description FixtureWrapper<?>
WrapperFactory. newFixtureWrapper(MethodReference aFixtureMethodRef)
Creates a newFixtureWrapper
for the givenMethodReference
.
-