public class IstioMockServerExtension extends KubernetesMockServerExtension
@ExtendWith(KnativeMockServerExtension.class) or through
@EnableKnativeMockClient annotationKubernetesMockServerExtension.SetTestClassField| Constructor and Description |
|---|
IstioMockServerExtension() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
destroy() |
protected Class<?> |
getClientType() |
protected Class<?> |
getKubernetesMockServerType() |
protected void |
initializeKubernetesClientAndMockServer(Class<?> testClass) |
protected void |
setFieldIfKubernetesClientOrMockServer(org.junit.jupiter.api.extension.ExtensionContext context,
boolean isStatic,
Field field) |
afterAll, afterEach, beforeAll, beforeEach, setFieldIfEqualsToProvidedTypeprotected void destroy()
destroy in class KubernetesMockServerExtensionprotected Class<?> getClientType()
getClientType in class KubernetesMockServerExtensionprotected Class<?> getKubernetesMockServerType()
getKubernetesMockServerType in class KubernetesMockServerExtensionprotected void initializeKubernetesClientAndMockServer(Class<?> testClass)
initializeKubernetesClientAndMockServer in class KubernetesMockServerExtensionprotected void setFieldIfKubernetesClientOrMockServer(org.junit.jupiter.api.extension.ExtensionContext context,
boolean isStatic,
Field field)
throws IllegalAccessException
setFieldIfKubernetesClientOrMockServer in class KubernetesMockServerExtensionIllegalAccessExceptionCopyright © 2015–2020 Red Hat. All rights reserved.