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 |
---|---|
org.assertj.core.api.MapAssert |
additionalProperties()
Navigates to the property additionalProperties so that assertions can be done on it
|
org.assertj.core.api.StringAssert |
completionTime()
Navigates to the property completionTime so that assertions can be done on it
|
NavigationListAssert<io.fabric8.kubernetes.api.model.extensions.JobCondition,JobConditionAssert> |
conditions()
Navigates to the property conditions so that assertions can be done on it
|
S |
hasActive(Integer active)
Verifies that the actual JobStatus's active is equal to the given one.
|
S |
hasFailed(Integer failed)
Verifies that the actual JobStatus's failed is equal to the given one.
|
S |
hasSucceeded(Integer succeeded)
Verifies that the actual JobStatus's succeeded is equal to the given one.
|
org.assertj.core.api.StringAssert |
startTime()
Navigates to the property startTime so that assertions can be done on it
|
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, 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, withFailMessage, withThreadDumpOnError
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 org.assertj.core.api.MapAssert additionalProperties()
public org.assertj.core.api.StringAssert completionTime()
public NavigationListAssert<io.fabric8.kubernetes.api.model.extensions.JobCondition,JobConditionAssert> conditions()
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 org.assertj.core.api.StringAssert startTime()
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–2017 Red Hat. All rights reserved.