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 List<org.eclipse.xtext.util.Pair<org.eclipse.xtext.common.types.JvmFormalParameter,org.eclipse.xtext.common.types.JvmAnnotationReference>>JvmFixtureEvaluation. getAllAnnotatedParameter(MethodReference aMethod, Set<Class<? extends 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 Class<?>DefaultIntegrityClassLoader. loadClass(MethodReference aMethodReference)Class<?>IntegrityClassLoader. loadClass(MethodReference aMethodReference)Load the class defined by the providedMethodReference.MethodDefaultIntegrityClassLoader. loadMethod(MethodReference aMethodReference)MethodIntegrityClassLoader. 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 MethodReferenceDslFactory. createMethodReference()Returns a new object of class 'Method Reference'.MethodReferenceCallDefinition. getFixtureMethod()Returns the value of the 'Fixture Method' containment reference.MethodReferenceTestDefinition. 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 voidCallDefinition. setFixtureMethod(MethodReference value)Sets the value of the 'Fixture Method' containment reference.voidTestDefinition. 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 classMethodReferenceImplAn implementation of the model object 'Method Reference'.Fields in de.gebit.integrity.dsl.impl declared as MethodReference Modifier and Type Field Description protected MethodReferenceCallDefinitionImpl. fixtureMethodThe cached value of the 'Fixture Method' containment reference.protected MethodReferenceTestDefinitionImpl. fixtureMethodThe cached value of the 'Fixture Method' containment reference.Methods in de.gebit.integrity.dsl.impl that return MethodReference Modifier and Type Method Description MethodReferenceDslFactoryImpl. createMethodReference()MethodReferenceCallDefinitionImpl. getFixtureMethod()MethodReferenceTestDefinitionImpl. getFixtureMethod()Methods in de.gebit.integrity.dsl.impl with parameters of type MethodReference Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainCallDefinitionImpl. basicSetFixtureMethod(MethodReference newFixtureMethod, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainTestDefinitionImpl. basicSetFixtureMethod(MethodReference newFixtureMethod, org.eclipse.emf.common.notify.NotificationChain msgs)voidCallDefinitionImpl. setFixtureMethod(MethodReference newFixtureMethod)voidTestDefinitionImpl. 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 TDslSwitch. 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 StringTestFormatter. fixtureMethodToHumanReadableString(MethodReference aFixtureMethod, SuiteStatementWithResult aStatement, Map<String,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 List<SetListEntry>SetListCallback. onAnyKindOfSubTestFinish(MethodReference aMethod, SuiteStatementWithResult aStatement, SetListEntry aTestEntry, TestSubResult aSubResult, Map<String,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 voidXmlWriterTestCallback. onAnyKindOfSubTestFinish(MethodReference aMethod, SuiteStatementWithResult aStatement, org.jdom.Element aResultCollectionElement, TestSubResult aSubResult, Map<String,Object> aParameterMapForText, Map<String,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 ComparisonResultDefaultResultComparator. compareResult(Object aFixtureResult, ValueOrEnumValueOrOperationCollection anExpectedResult, FixtureWrapper<?> aFixtureInstance, MethodReference aFixtureMethod, String aPropertyName)ComparisonResultResultComparator. compareResult(Object aFixtureResult, ValueOrEnumValueOrOperationCollection anExpectedResult, FixtureWrapper<?> aFixtureInstance, MethodReference aFixtureMethod, 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.IScopeDSLScopeProvider. determineDefaultResultEnumValueScope(MethodReference aMethodRef)Determine valid enumeration values for the default result type of the provided fixture method reference.protected org.eclipse.xtext.scoping.IScopeDSLScopeProvider. 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.IScopeDSLScopeProvider. determineParameterEnumValueScope(MethodReference aMethodRef, ParameterName aParameterName)Determine valid enumeration values for the provided parameter name of the provided fixture method reference.org.eclipse.xtext.scoping.IScopeDSLScopeProvider. 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 voidAbstractDSLSemanticSequencer. 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 MethodReferenceIntegrityDSLUtil. getMethodReferenceForAction(org.eclipse.emf.ecore.EObject anAction)Methods in de.gebit.integrity.utils with parameters of type MethodReference Modifier and Type Method Description static 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 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 List<ResultFieldTuple>IntegrityDSLUtil. getAllResultNamesFromFixtureMethod(MethodReference aMethod)Returns a list of named results defined by a given fixture method.static StringIntegrityDSLUtil. 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 Set<String>DSLJavaValidator. checkForNonNullableParameter(MethodReference aMethod, 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 Set<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 newFixtureWrapperfor the givenMethodReference.
-