public abstract class AbstractDockerBuildStrategyAssert<S extends AbstractDockerBuildStrategyAssert<S,A>,A extends io.fabric8.openshift.api.model.DockerBuildStrategy>
extends org.assertj.core.api.AbstractAssert<S,A>
DockerBuildStrategy specific assertions - Generated by CustomAssertionGenerator.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDockerBuildStrategyAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual DockerBuildStrategy. |
| Modifier and Type | Method and Description |
|---|---|
S |
doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual DockerBuildStrategy's env does not contain the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual DockerBuildStrategy's additionalProperties is equal to the given one.
|
S |
hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual DockerBuildStrategy's env contains the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
hasForcePull(Boolean forcePull)
Verifies that the actual DockerBuildStrategy's forcePull is equal to the given one.
|
S |
hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
Verifies that the actual DockerBuildStrategy's from is equal to the given one.
|
S |
hasNoCache(Boolean noCache)
Verifies that the actual DockerBuildStrategy's noCache is equal to the given one.
|
S |
hasNoEnv()
Verifies that the actual DockerBuildStrategy has no env.
|
S |
hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual DockerBuildStrategy's env contains only the given io.fabric8.kubernetes.api.model.EnvVar elements and nothing else in whatever order.
|
S |
hasPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecret)
Verifies that the actual DockerBuildStrategy's pullSecret is equal to the given one.
|
as, 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 AbstractDockerBuildStrategyAssert(A actual, Class<S> selfType)
AbstractDockerBuildStrategyAssert to make assertions on actual DockerBuildStrategy.actual - the DockerBuildStrategy we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties - the given additionalProperties to compare the actual DockerBuildStrategy's additionalProperties to.AssertionError - - if the actual DockerBuildStrategy's additionalProperties is not equal to the given one.public S hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env - the given elements that should be contained in actual DockerBuildStrategy's env.AssertionError - if the actual DockerBuildStrategy's env does not contain all given io.fabric8.kubernetes.api.model.EnvVar elements.public S hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env - the given elements that should be contained in actual DockerBuildStrategy's env.AssertionError - if the actual DockerBuildStrategy's env does not contain all given io.fabric8.kubernetes.api.model.EnvVar elements.public S doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
env - the given elements that should not be in actual DockerBuildStrategy's env.AssertionError - if the actual DockerBuildStrategy's env contains any given io.fabric8.kubernetes.api.model.EnvVar elements.public S hasNoEnv()
AssertionError - if the actual DockerBuildStrategy's env is not empty.public S hasForcePull(Boolean forcePull)
forcePull - the given forcePull to compare the actual DockerBuildStrategy's forcePull to.AssertionError - - if the actual DockerBuildStrategy's forcePull is not equal to the given one.public S hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
from - the given from to compare the actual DockerBuildStrategy's from to.AssertionError - - if the actual DockerBuildStrategy's from is not equal to the given one.public S hasNoCache(Boolean noCache)
noCache - the given noCache to compare the actual DockerBuildStrategy's noCache to.AssertionError - - if the actual DockerBuildStrategy's noCache is not equal to the given one.public S hasPullSecret(io.fabric8.kubernetes.api.model.LocalObjectReference pullSecret)
pullSecret - the given pullSecret to compare the actual DockerBuildStrategy's pullSecret to.AssertionError - - if the actual DockerBuildStrategy's pullSecret is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.