public class OpenshiftExtension extends Object implements org.junit.jupiter.api.extension.ExecutionCondition, org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.AfterAllCallback, WithOpenshiftIntegrationTest, WithPod, WithKubernetesClient, WithOpenshiftResources, WithProject, WithEvents, WithOpenshiftConfig
DEFAULT_OPENSHIFT_INTEGRATION_TEST_CONFIGKUBERNETES_CONFIG_PATHCLOSABLESEXTENSION_ERROR, READINESS_FAILEDKUBERNETES_CLIENTMANIFEST_PATHPROJECT_YMLCONFIG_DIR, OPENSHIFT_YML| Constructor and Description |
|---|
OpenshiftExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
build(org.junit.jupiter.api.extension.ExtensionContext context,
Project project) |
org.junit.jupiter.api.extension.ConditionEvaluationResult |
evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context) |
String |
getName() |
void |
postProcessTestInstance(Object testInstance,
org.junit.jupiter.api.extension.ExtensionContext context) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpenshiftIntegrationTestConfiginjectPod, namedAnnotation, podForNamegetBaseConfig, getBaseConfigcloseAll, getCloseablesdisplayDiagnostics, extensionError, hasExtensionError, hasReadinessFailed, readinessFailed, shouldDisplayDiagnosticscloseKubernetesClient, deleteAndWait, deleteAndWait, getKubernetesClient, injectKubernetesClient, waitUntilConditionfromManifest, getOpenshiftResources, injectOpenshiftResourcesgetProject, getProjectgetEventsgetOpenshiftConfig, getOpenshiftConfig, getOpenshiftConfigPathpublic org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context)
evaluateExecutionCondition in interface org.junit.jupiter.api.extension.ExecutionConditionpublic void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
throws Exception
beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallbackExceptionpublic void postProcessTestInstance(Object testInstance, org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
postProcessTestInstance in interface WithOpenshiftResourcespostProcessTestInstance in interface WithKubernetesClientpostProcessTestInstance in interface WithPodpostProcessTestInstance in interface org.junit.jupiter.api.extension.TestInstancePostProcessorExceptionpublic void afterAll(org.junit.jupiter.api.extension.ExtensionContext context)
afterAll in interface org.junit.jupiter.api.extension.AfterAllCallbackpublic void build(org.junit.jupiter.api.extension.ExtensionContext context,
Project project)
Copyright © 2018–2021 Red Hat. All rights reserved.