Package io.helidon.microprofile.testing
Class HelidonTestExtension
java.lang.Object
io.helidon.microprofile.testing.HelidonTestExtension
- All Implemented Interfaces:
Extension
Helidon test CDI extension.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHelidonTestExtension(HelidonTestInfo<?> testInfo, HelidonTestScope testScope) Create a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<Class<? extends Annotation>> Get the annotation types usable on fields.protected Set<Class<? extends Annotation>> Get the annotation types usable on methods.protected Set<Class<? extends Annotation>> Get the annotation types usable on parameters.protected final voidprocessAddConfig(AddConfig... annotations) ProcessConfigurationannotations.protected final voidprocessAddConfigBlock(AddConfigBlock... annotations) ProcessConfigurationannotations.protected final voidprocessAddConfigSource(Method method) Process aAddConfigSourcemethod.protected final voidprocessAfterStop(Method method) Process aAfterStopmethod.protected final voidprocessConfiguration(Configuration annotation) Process aConfigurationannotation.protected voidprocessFieldAnnotation(Annotation annotation) Process a field annotation.protected voidprocessParameterAnnotation(Annotation annotation) Process a parameter annotation.protected final voidprocessSocket(Annotation annotation, String value) Process aSocketannotation.protected voidprocessStaticMethodAnnotation(Annotation annotation, Method method) Process a static method annotation.protected voidprocessTestMethodAnnotation(Annotation annotation, Method method) Process a test method annotation.protected voidprocessTypeAnnotation(Annotation annotation) Process a type annotation.protected Set<Class<? extends Annotation>> Get the annotation types usable on type.
-
Constructor Details
-
HelidonTestExtension
Create a new instance.- Parameters:
testInfo- test infotestScope- test scope
-
-
Method Details
-
typeAnnotationTypes
Get the annotation types usable on type.- Returns:
- annotations
-
parameterAnnotationTypes
Get the annotation types usable on parameters.- Returns:
- annotation types
-
fieldAnnotationTypes
Get the annotation types usable on fields.- Returns:
- annotation types
-
methodAnnotationTypes
Get the annotation types usable on methods.- Returns:
- annotation types
-
processTypeAnnotation
Process a type annotation.- Parameters:
annotation- annotation
-
processParameterAnnotation
Process a parameter annotation.- Parameters:
annotation- annotation
-
processFieldAnnotation
Process a field annotation.- Parameters:
annotation- annotation
-
processStaticMethodAnnotation
Process a static method annotation.- Parameters:
annotation- annotationmethod- method
-
processTestMethodAnnotation
Process a test method annotation.- Parameters:
annotation- annotationmethod- method
-
processConfiguration
Process aConfigurationannotation.- Parameters:
annotation- annotation
-
processAddConfig
ProcessConfigurationannotations.- Parameters:
annotations- annotations
-
processAddConfigBlock
ProcessConfigurationannotations.- Parameters:
annotations- annotations
-
processAddConfigSource
Process aAddConfigSourcemethod.- Parameters:
method- method
-
processAfterStop
Process aAfterStopmethod.- Parameters:
method- method
-
processSocket
Process aSocketannotation.- Parameters:
annotation- annotationvalue- value
-