public abstract class AbstractSourceBuildStrategyAssert<S extends AbstractSourceBuildStrategyAssert<S,A>,A extends io.fabric8.openshift.api.model.SourceBuildStrategy>
extends org.assertj.core.api.AbstractAssert<S,A>
SourceBuildStrategy
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractSourceBuildStrategyAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual SourceBuildStrategy. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual SourceBuildStrategy's env does not contain the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual SourceBuildStrategy's additionalProperties is equal to the given one.
|
S |
hasEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual SourceBuildStrategy's env contains the given io.fabric8.kubernetes.api.model.EnvVar elements.
|
S |
hasForcePull(Boolean forcePull)
Verifies that the actual SourceBuildStrategy's forcePull is equal to the given one.
|
S |
hasFrom(io.fabric8.kubernetes.api.model.ObjectReference from)
Verifies that the actual SourceBuildStrategy's from is equal to the given one.
|
S |
hasIncremental(Boolean incremental)
Verifies that the actual SourceBuildStrategy's incremental is equal to the given one.
|
S |
hasNoEnv()
Verifies that the actual SourceBuildStrategy has no env.
|
S |
hasOnlyEnv(io.fabric8.kubernetes.api.model.EnvVar... env)
Verifies that the actual SourceBuildStrategy'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 SourceBuildStrategy's pullSecret is equal to the given one.
|
S |
hasScripts(String scripts)
Verifies that the actual SourceBuildStrategy's scripts 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, usingDefaultComparator
protected AbstractSourceBuildStrategyAssert(A actual, Class<S> selfType)
AbstractSourceBuildStrategyAssert
to make assertions on actual SourceBuildStrategy.actual
- the SourceBuildStrategy we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual SourceBuildStrategy's additionalProperties to.AssertionError
- - if the actual SourceBuildStrategy'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 SourceBuildStrategy's env.AssertionError
- if the actual SourceBuildStrategy'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 SourceBuildStrategy's env.AssertionError
- if the actual SourceBuildStrategy'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 SourceBuildStrategy's env.AssertionError
- if the actual SourceBuildStrategy's env contains any given io.fabric8.kubernetes.api.model.EnvVar elements.public S hasNoEnv()
AssertionError
- if the actual SourceBuildStrategy's env is not empty.public S hasForcePull(Boolean forcePull)
forcePull
- the given forcePull to compare the actual SourceBuildStrategy's forcePull to.AssertionError
- - if the actual SourceBuildStrategy'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 SourceBuildStrategy's from to.AssertionError
- - if the actual SourceBuildStrategy's from is not equal to the given one.public S hasIncremental(Boolean incremental)
incremental
- the given incremental to compare the actual SourceBuildStrategy's incremental to.AssertionError
- - if the actual SourceBuildStrategy's incremental 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 SourceBuildStrategy's pullSecret to.AssertionError
- - if the actual SourceBuildStrategy's pullSecret is not equal to the given one.public S hasScripts(String scripts)
scripts
- the given scripts to compare the actual SourceBuildStrategy's scripts to.AssertionError
- - if the actual SourceBuildStrategy's scripts is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.