public abstract class AbstractBuildSourceAssert<S extends AbstractBuildSourceAssert<S,A>,A extends io.fabric8.openshift.api.model.BuildSource>
extends org.assertj.core.api.AbstractAssert<S,A>
BuildSource
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractBuildSourceAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual BuildSource. |
Modifier and Type | Method and Description |
---|---|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual BuildSource's additionalProperties is equal to the given one.
|
S |
hasContextDir(String contextDir)
Verifies that the actual BuildSource's contextDir is equal to the given one.
|
S |
hasGit(io.fabric8.openshift.api.model.GitBuildSource git)
Verifies that the actual BuildSource's git is equal to the given one.
|
S |
hasSourceSecret(io.fabric8.kubernetes.api.model.LocalObjectReference sourceSecret)
Verifies that the actual BuildSource's sourceSecret is equal to the given one.
|
S |
hasType(String type)
Verifies that the actual BuildSource's type 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 AbstractBuildSourceAssert(A actual, Class<S> selfType)
AbstractBuildSourceAssert
to make assertions on actual BuildSource.actual
- the BuildSource we want to make assertions on.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual BuildSource's additionalProperties to.AssertionError
- - if the actual BuildSource's additionalProperties is not equal to the given one.public S hasContextDir(String contextDir)
contextDir
- the given contextDir to compare the actual BuildSource's contextDir to.AssertionError
- - if the actual BuildSource's contextDir is not equal to the given one.public S hasGit(io.fabric8.openshift.api.model.GitBuildSource git)
git
- the given git to compare the actual BuildSource's git to.AssertionError
- - if the actual BuildSource's git is not equal to the given one.public S hasSourceSecret(io.fabric8.kubernetes.api.model.LocalObjectReference sourceSecret)
sourceSecret
- the given sourceSecret to compare the actual BuildSource's sourceSecret to.AssertionError
- - if the actual BuildSource's sourceSecret is not equal to the given one.public S hasType(String type)
type
- the given type to compare the actual BuildSource's type to.AssertionError
- - if the actual BuildSource's type is not equal to the given one.Copyright © 2011–2015 Red Hat. All rights reserved.