Class HelidonTestExtension

java.lang.Object
io.helidon.microprofile.testing.HelidonTestExtension
All Implemented Interfaces:
Extension

public abstract class HelidonTestExtension extends Object implements Extension
Helidon test CDI extension.
  • Constructor Details

    • HelidonTestExtension

      protected HelidonTestExtension(HelidonTestInfo<?> testInfo, HelidonTestScope testScope)
      Create a new instance.
      Parameters:
      testInfo - test info
      testScope - test scope
  • Method Details

    • typeAnnotationTypes

      protected Set<Class<? extends Annotation>> typeAnnotationTypes()
      Get the annotation types usable on type.
      Returns:
      annotations
    • parameterAnnotationTypes

      protected Set<Class<? extends Annotation>> parameterAnnotationTypes()
      Get the annotation types usable on parameters.
      Returns:
      annotation types
    • fieldAnnotationTypes

      protected Set<Class<? extends Annotation>> fieldAnnotationTypes()
      Get the annotation types usable on fields.
      Returns:
      annotation types
    • methodAnnotationTypes

      protected Set<Class<? extends Annotation>> methodAnnotationTypes()
      Get the annotation types usable on methods.
      Returns:
      annotation types
    • processTypeAnnotation

      protected void processTypeAnnotation(Annotation annotation)
      Process a type annotation.
      Parameters:
      annotation - annotation
    • processParameterAnnotation

      protected void processParameterAnnotation(Annotation annotation)
      Process a parameter annotation.
      Parameters:
      annotation - annotation
    • processFieldAnnotation

      protected void processFieldAnnotation(Annotation annotation)
      Process a field annotation.
      Parameters:
      annotation - annotation
    • processStaticMethodAnnotation

      protected void processStaticMethodAnnotation(Annotation annotation, Method method)
      Process a static method annotation.
      Parameters:
      annotation - annotation
      method - method
    • processTestMethodAnnotation

      protected void processTestMethodAnnotation(Annotation annotation, Method method)
      Process a test method annotation.
      Parameters:
      annotation - annotation
      method - method
    • processConfiguration

      protected final void processConfiguration(Configuration annotation)
      Process a Configuration annotation.
      Parameters:
      annotation - annotation
    • processAddConfig

      protected final void processAddConfig(AddConfig... annotations)
      Process Configuration annotations.
      Parameters:
      annotations - annotations
    • processAddConfigBlock

      protected final void processAddConfigBlock(AddConfigBlock... annotations)
      Process Configuration annotations.
      Parameters:
      annotations - annotations
    • processAddConfigSource

      protected final void processAddConfigSource(Method method)
      Process a AddConfigSource method.
      Parameters:
      method - method
    • processAfterStop

      protected final void processAfterStop(Method method)
      Process a AfterStop method.
      Parameters:
      method - method
    • processSocket

      protected final void processSocket(Annotation annotation, String value)
      Process a Socket annotation.
      Parameters:
      annotation - annotation
      value - value