public abstract class AbstractJobStatusAssert<S extends AbstractJobStatusAssert<S,A>,A extends io.fabric8.kubernetes.api.model.extensions.JobStatus>
extends org.assertj.core.api.AbstractAssert<S,A>
JobStatus
specific assertions - Generated by CustomAssertionGenerator.Modifier | Constructor and Description |
---|---|
protected |
AbstractJobStatusAssert(A actual,
Class<S> selfType)
Creates a new
to make assertions on actual JobStatus. |
Modifier and Type | Method and Description |
---|---|
S |
doesNotHaveConditions(io.fabric8.kubernetes.api.model.extensions.JobCondition... conditions)
Verifies that the actual JobStatus's conditions does not contain the given JobCondition elements.
|
S |
hasActive(Integer active)
Verifies that the actual JobStatus's active is equal to the given one.
|
S |
hasAdditionalProperties(Map additionalProperties)
Verifies that the actual JobStatus's additionalProperties is equal to the given one.
|
S |
hasCompletionTime(String completionTime)
Verifies that the actual JobStatus's completionTime is equal to the given one.
|
S |
hasConditions(io.fabric8.kubernetes.api.model.extensions.JobCondition... conditions)
Verifies that the actual JobStatus's conditions contains the given JobCondition elements.
|
S |
hasFailed(Integer failed)
Verifies that the actual JobStatus's failed is equal to the given one.
|
S |
hasNoConditions()
Verifies that the actual JobStatus has no conditions.
|
S |
hasOnlyConditions(io.fabric8.kubernetes.api.model.extensions.JobCondition... conditions)
Verifies that the actual JobStatus's conditions contains only the given JobCondition elements and nothing else in whatever order.
|
S |
hasStartTime(String startTime)
Verifies that the actual JobStatus's startTime is equal to the given one.
|
S |
hasSucceeded(Integer succeeded)
Verifies that the actual JobStatus's succeeded 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 AbstractJobStatusAssert(A actual, Class<S> selfType)
AbstractJobStatusAssert
to make assertions on actual JobStatus.actual
- the JobStatus we want to make assertions on.public S hasActive(Integer active)
active
- the given active to compare the actual JobStatus's active to.AssertionError
- - if the actual JobStatus's active is not equal to the given one.public S hasAdditionalProperties(Map additionalProperties)
additionalProperties
- the given additionalProperties to compare the actual JobStatus's additionalProperties to.AssertionError
- - if the actual JobStatus's additionalProperties is not equal to the given one.public S hasCompletionTime(String completionTime)
completionTime
- the given completionTime to compare the actual JobStatus's completionTime to.AssertionError
- - if the actual JobStatus's completionTime is not equal to the given one.public S hasConditions(io.fabric8.kubernetes.api.model.extensions.JobCondition... conditions)
conditions
- the given elements that should be contained in actual JobStatus's conditions.AssertionError
- if the actual JobStatus's conditions does not contain all given JobCondition elements.public S hasOnlyConditions(io.fabric8.kubernetes.api.model.extensions.JobCondition... conditions)
conditions
- the given elements that should be contained in actual JobStatus's conditions.AssertionError
- if the actual JobStatus's conditions does not contain all given JobCondition elements.public S doesNotHaveConditions(io.fabric8.kubernetes.api.model.extensions.JobCondition... conditions)
conditions
- the given elements that should not be in actual JobStatus's conditions.AssertionError
- if the actual JobStatus's conditions contains any given JobCondition elements.public S hasNoConditions()
AssertionError
- if the actual JobStatus's conditions is not empty.public S hasFailed(Integer failed)
failed
- the given failed to compare the actual JobStatus's failed to.AssertionError
- - if the actual JobStatus's failed is not equal to the given one.public S hasStartTime(String startTime)
startTime
- the given startTime to compare the actual JobStatus's startTime to.AssertionError
- - if the actual JobStatus's startTime is not equal to the given one.public S hasSucceeded(Integer succeeded)
succeeded
- the given succeeded to compare the actual JobStatus's succeeded to.AssertionError
- - if the actual JobStatus's succeeded is not equal to the given one.Copyright © 2011–2016 Red Hat. All rights reserved.