Class ClientDisabledCondition

java.lang.Object
io.micronaut.http.client.tck.tests.ClientDisabledCondition
All Implemented Interfaces:
org.junit.jupiter.api.extension.ExecutionCondition, org.junit.jupiter.api.extension.Extension

public class ClientDisabledCondition extends Object implements org.junit.jupiter.api.extension.ExecutionCondition
A condition that enables or disables a test based on the presence of the ClientDisabledCondition.ClientDisabled annotation.

The condition is enabled by default, unless the annotation is present and the ClientDisabledCondition.ClientDisabled.jdk() or ClientDisabledCondition.ClientDisabled.httpClient() parameters match the current JDK version and the HTTP client configuration parameter.

  • Field Details

  • Constructor Details

    • ClientDisabledCondition

      public ClientDisabledCondition()
  • Method Details

    • evaluateExecutionCondition

      public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context)
      Specified by:
      evaluateExecutionCondition in interface org.junit.jupiter.api.extension.ExecutionCondition