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
ConstructorsModifierConstructorDescriptionprotected
HelidonTestExtension
(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 void
processAddConfig
(AddConfig... annotations) ProcessConfiguration
annotations.protected final void
processAddConfigBlock
(AddConfigBlock... annotations) ProcessConfiguration
annotations.protected final void
processAddConfigSource
(Method method) Process aAddConfigSource
method.protected final void
processAfterStop
(Method method) Process aAfterStop
method.protected final void
processConfiguration
(Configuration annotation) Process aConfiguration
annotation.protected void
processFieldAnnotation
(Annotation annotation) Process a field annotation.protected void
processParameterAnnotation
(Annotation annotation) Process a parameter annotation.protected final void
processSocket
(Annotation annotation, String value) Process aSocket
annotation.protected void
processStaticMethodAnnotation
(Annotation annotation, Method method) Process a static method annotation.protected void
processTestMethodAnnotation
(Annotation annotation, Method method) Process a test method annotation.protected void
processTypeAnnotation
(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 aConfiguration
annotation.- Parameters:
annotation
- annotation
-
processAddConfig
ProcessConfiguration
annotations.- Parameters:
annotations
- annotations
-
processAddConfigBlock
ProcessConfiguration
annotations.- Parameters:
annotations
- annotations
-
processAddConfigSource
Process aAddConfigSource
method.- Parameters:
method
- method
-
processAfterStop
Process aAfterStop
method.- Parameters:
method
- method
-
processSocket
Process aSocket
annotation.- Parameters:
annotation
- annotationvalue
- value
-