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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Annotation that can be used to disable a test based on the JDK version and the HTTP client configuration. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.jupiter.api.extension.ConditionEvaluationResult
evaluateExecutionCondition
(org.junit.jupiter.api.extension.ExtensionContext context)
-
Field Details
-
JDK
- See Also:
-
NETTY
- See Also:
-
HTTP_CLIENT_CONFIGURATION
- See Also:
-
-
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 interfaceorg.junit.jupiter.api.extension.ExecutionCondition
-