public abstract class AbstractKubernetesListAssert<S extends AbstractKubernetesListAssert<S,A>,A extends io.fabric8.kubernetes.api.model.KubernetesList> extends AbstractBaseKubernetesListAssert<S,A>
KubernetesList specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKubernetesListAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual KubernetesList. |
| Modifier and Type | Method and Description |
|---|---|
S |
hasBuildConfigs(io.fabric8.openshift.api.model.BuildConfig... buildConfigs)
Verifies that the actual KubernetesList's buildConfigs contains the given io.fabric8.openshift.api.model.BuildConfig elements.
|
S |
hasDeploymentConfigs(io.fabric8.openshift.api.model.DeploymentConfig... deploymentConfigs)
Verifies that the actual KubernetesList's deploymentConfigs contains the given io.fabric8.openshift.api.model.DeploymentConfig elements.
|
S |
hasImageStreams(io.fabric8.openshift.api.model.ImageStream... imageStreams)
Verifies that the actual KubernetesList's imageStreams contains the given io.fabric8.openshift.api.model.ImageStream elements.
|
S |
hasItems(Object... items)
Verifies that the actual KubernetesList's items contains the given Object elements.
|
S |
hasNamespaces(io.fabric8.kubernetes.api.model.Namespace... namespaces)
Verifies that the actual KubernetesList's namespaces contains the given Namespace elements.
|
S |
hasNoBuildConfigs()
Verifies that the actual KubernetesList has no buildConfigs.
|
S |
hasNoDeploymentConfigs()
Verifies that the actual KubernetesList has no deploymentConfigs.
|
S |
hasNoImageStreams()
Verifies that the actual KubernetesList has no imageStreams.
|
S |
hasNoItems()
Verifies that the actual KubernetesList has no items.
|
S |
hasNoNamespaces()
Verifies that the actual KubernetesList has no namespaces.
|
S |
hasNoOAuthAccessTokens()
Verifies that the actual KubernetesList has no oAuthAccessTokens.
|
S |
hasNoOAuthClientAuthorizations()
Verifies that the actual KubernetesList has no oAuthClientAuthorizations.
|
S |
hasNoOAuthClients()
Verifies that the actual KubernetesList has no oAuthClients.
|
S |
hasNoPods()
Verifies that the actual KubernetesList has no pods.
|
S |
hasNoReplicationControllers()
Verifies that the actual KubernetesList has no replicationControllers.
|
S |
hasNoRoutes()
Verifies that the actual KubernetesList has no routes.
|
S |
hasNoSecrets()
Verifies that the actual KubernetesList has no secrets.
|
S |
hasNoServices()
Verifies that the actual KubernetesList has no services.
|
S |
hasNoTemplates()
Verifies that the actual KubernetesList has no templates.
|
S |
hasOAuthAccessTokens(io.fabric8.openshift.api.model.OAuthAccessToken... oAuthAccessTokens)
Verifies that the actual KubernetesList's oAuthAccessTokens contains the given io.fabric8.openshift.api.model.OAuthAccessToken elements.
|
S |
hasOAuthClientAuthorizations(io.fabric8.openshift.api.model.OAuthClientAuthorization... oAuthClientAuthorizations)
Verifies that the actual KubernetesList's oAuthClientAuthorizations contains the given io.fabric8.openshift.api.model.OAuthClientAuthorization elements.
|
S |
hasOAuthClients(io.fabric8.openshift.api.model.OAuthClient... oAuthClients)
Verifies that the actual KubernetesList's oAuthClients contains the given io.fabric8.openshift.api.model.OAuthClient elements.
|
S |
hasPods(io.fabric8.kubernetes.api.model.Pod... pods)
Verifies that the actual KubernetesList's pods contains the given Pod elements.
|
S |
hasReplicationControllers(io.fabric8.kubernetes.api.model.ReplicationController... replicationControllers)
Verifies that the actual KubernetesList's replicationControllers contains the given ReplicationController elements.
|
S |
hasRoutes(io.fabric8.openshift.api.model.Route... routes)
Verifies that the actual KubernetesList's routes contains the given io.fabric8.openshift.api.model.Route elements.
|
S |
hasSecrets(io.fabric8.kubernetes.api.model.Secret... secrets)
Verifies that the actual KubernetesList's secrets contains the given Secret elements.
|
S |
hasServices(io.fabric8.kubernetes.api.model.Service... services)
Verifies that the actual KubernetesList's services contains the given Service elements.
|
S |
hasTemplates(io.fabric8.openshift.api.model.template.Template... templates)
Verifies that the actual KubernetesList's templates contains the given io.fabric8.openshift.api.model.template.Template elements.
|
hasAdditionalProperties, hasApiVersion, hasKind, hasMetadataas, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorprotected AbstractKubernetesListAssert(A actual, Class<S> selfType)
AbstractKubernetesListAssert to make assertions on actual KubernetesList.actual - the KubernetesList we want to make assertions on.public S hasBuildConfigs(io.fabric8.openshift.api.model.BuildConfig... buildConfigs)
buildConfigs - the given elements that should be contained in actual KubernetesList's buildConfigs.AssertionError - if the actual KubernetesList's buildConfigs does not contain all given io.fabric8.openshift.api.model.BuildConfig elements.public S hasNoBuildConfigs()
AssertionError - if the actual KubernetesList's buildConfigs is not empty.public S hasDeploymentConfigs(io.fabric8.openshift.api.model.DeploymentConfig... deploymentConfigs)
deploymentConfigs - the given elements that should be contained in actual KubernetesList's deploymentConfigs.AssertionError - if the actual KubernetesList's deploymentConfigs does not contain all given io.fabric8.openshift.api.model.DeploymentConfig elements.public S hasNoDeploymentConfigs()
AssertionError - if the actual KubernetesList's deploymentConfigs is not empty.public S hasImageStreams(io.fabric8.openshift.api.model.ImageStream... imageStreams)
imageStreams - the given elements that should be contained in actual KubernetesList's imageStreams.AssertionError - if the actual KubernetesList's imageStreams does not contain all given io.fabric8.openshift.api.model.ImageStream elements.public S hasNoImageStreams()
AssertionError - if the actual KubernetesList's imageStreams is not empty.public S hasItems(Object... items)
hasItems in class AbstractBaseKubernetesListAssert<S extends AbstractKubernetesListAssert<S,A>,A extends io.fabric8.kubernetes.api.model.KubernetesList>items - the given elements that should be contained in actual KubernetesList's items.AssertionError - if the actual KubernetesList's items does not contain all given Object elements.public S hasNoItems()
hasNoItems in class AbstractBaseKubernetesListAssert<S extends AbstractKubernetesListAssert<S,A>,A extends io.fabric8.kubernetes.api.model.KubernetesList>AssertionError - if the actual KubernetesList's items is not empty.public S hasNamespaces(io.fabric8.kubernetes.api.model.Namespace... namespaces)
namespaces - the given elements that should be contained in actual KubernetesList's namespaces.AssertionError - if the actual KubernetesList's namespaces does not contain all given Namespace elements.public S hasNoNamespaces()
AssertionError - if the actual KubernetesList's namespaces is not empty.public S hasOAuthAccessTokens(io.fabric8.openshift.api.model.OAuthAccessToken... oAuthAccessTokens)
oAuthAccessTokens - the given elements that should be contained in actual KubernetesList's oAuthAccessTokens.AssertionError - if the actual KubernetesList's oAuthAccessTokens does not contain all given io.fabric8.openshift.api.model.OAuthAccessToken elements.public S hasNoOAuthAccessTokens()
AssertionError - if the actual KubernetesList's oAuthAccessTokens is not empty.public S hasOAuthClientAuthorizations(io.fabric8.openshift.api.model.OAuthClientAuthorization... oAuthClientAuthorizations)
oAuthClientAuthorizations - the given elements that should be contained in actual KubernetesList's oAuthClientAuthorizations.AssertionError - if the actual KubernetesList's oAuthClientAuthorizations does not contain all given io.fabric8.openshift.api.model.OAuthClientAuthorization elements.public S hasNoOAuthClientAuthorizations()
AssertionError - if the actual KubernetesList's oAuthClientAuthorizations is not empty.public S hasOAuthClients(io.fabric8.openshift.api.model.OAuthClient... oAuthClients)
oAuthClients - the given elements that should be contained in actual KubernetesList's oAuthClients.AssertionError - if the actual KubernetesList's oAuthClients does not contain all given io.fabric8.openshift.api.model.OAuthClient elements.public S hasNoOAuthClients()
AssertionError - if the actual KubernetesList's oAuthClients is not empty.public S hasPods(io.fabric8.kubernetes.api.model.Pod... pods)
pods - the given elements that should be contained in actual KubernetesList's pods.AssertionError - if the actual KubernetesList's pods does not contain all given Pod elements.public S hasNoPods()
AssertionError - if the actual KubernetesList's pods is not empty.public S hasReplicationControllers(io.fabric8.kubernetes.api.model.ReplicationController... replicationControllers)
replicationControllers - the given elements that should be contained in actual KubernetesList's replicationControllers.AssertionError - if the actual KubernetesList's replicationControllers does not contain all given ReplicationController elements.public S hasNoReplicationControllers()
AssertionError - if the actual KubernetesList's replicationControllers is not empty.public S hasRoutes(io.fabric8.openshift.api.model.Route... routes)
routes - the given elements that should be contained in actual KubernetesList's routes.AssertionError - if the actual KubernetesList's routes does not contain all given io.fabric8.openshift.api.model.Route elements.public S hasNoRoutes()
AssertionError - if the actual KubernetesList's routes is not empty.public S hasSecrets(io.fabric8.kubernetes.api.model.Secret... secrets)
secrets - the given elements that should be contained in actual KubernetesList's secrets.AssertionError - if the actual KubernetesList's secrets does not contain all given Secret elements.public S hasNoSecrets()
AssertionError - if the actual KubernetesList's secrets is not empty.public S hasServices(io.fabric8.kubernetes.api.model.Service... services)
services - the given elements that should be contained in actual KubernetesList's services.AssertionError - if the actual KubernetesList's services does not contain all given Service elements.public S hasNoServices()
AssertionError - if the actual KubernetesList's services is not empty.public S hasTemplates(io.fabric8.openshift.api.model.template.Template... templates)
templates - the given elements that should be contained in actual KubernetesList's templates.AssertionError - if the actual KubernetesList's templates does not contain all given io.fabric8.openshift.api.model.template.Template elements.public S hasNoTemplates()
AssertionError - if the actual KubernetesList's templates is not empty.Copyright © 2011–2015 Red Hat. All rights reserved.