Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Field and Description |
---|---|
static InstanceOfAssertFactory<java.util.concurrent.atomic.AtomicLong,AtomicLongAssert> |
InstanceOfAssertFactories.ATOMIC_LONG
InstanceOfAssertFactory for an AtomicLong . |
Modifier and Type | Method and Description |
---|---|
static AtomicLongAssert |
Java6Assertions.assertThat(java.util.concurrent.atomic.AtomicLong actual)
Deprecated.
Create assertion for
AtomicLong . |
static AtomicLongAssert |
Assertions.assertThat(java.util.concurrent.atomic.AtomicLong actual)
Create assertion for
AtomicLong . |
AtomicLongAssert |
Java6AbstractStandardSoftAssertions.assertThat(java.util.concurrent.atomic.AtomicLong actual)
Create assertion for
AtomicLong . |
default AtomicLongAssert |
WithAssertions.assertThat(java.util.concurrent.atomic.AtomicLong actual)
Create assertion for
AtomicLong . |
default AtomicLongAssert |
WithAssumptions.assumeThat(java.util.concurrent.atomic.AtomicLong actual)
Creates a new instance of
assumption. |
static AtomicLongAssert |
Assumptions.assumeThat(java.util.concurrent.atomic.AtomicLong actual)
Create assumption for
AtomicLong . |
AtomicLongAssert |
AtomicLongAssert.doesNotHaveValue(long expectedValue)
Verifies that the actual atomic has not the given value.
|
AtomicLongAssert |
AtomicLongAssert.hasNegativeValue()
Verifies that the actual atomic has a negative value.
|
AtomicLongAssert |
AtomicLongAssert.hasNonNegativeValue()
Verifies that the actual atomic has a non negative value (positive or equal zero).
|
AtomicLongAssert |
AtomicLongAssert.hasNonPositiveValue()
Verifies that the actual atomic has a non positive value (negative or equal zero).
|
AtomicLongAssert |
AtomicLongAssert.hasPositiveValue()
Verifies that the actual atomic has a positive value.
|
AtomicLongAssert |
AtomicLongAssert.hasValue(long expectedValue)
Verifies that the actual atomic has the given value.
|
AtomicLongAssert |
AtomicLongAssert.hasValueBetween(long startInclusive,
long endInclusive)
Verifies that the actual atomic has a value in [start, end] range (start included, end included).
|
AtomicLongAssert |
AtomicLongAssert.hasValueCloseTo(long expected,
Offset<java.lang.Long> offset)
Verifies that the actual atomic has a value close to the given one within the given offset.
|
AtomicLongAssert |
AtomicLongAssert.hasValueCloseTo(long expected,
Percentage percentage)
Verifies that the actual atomic has a value close to the given one within the given percentage.
If difference is equal to the percentage value, assertion is considered valid. |
AtomicLongAssert |
AtomicLongAssert.hasValueGreaterThan(long other)
Verifies that the actual atomic has a value strictly greater than the given one.
|
AtomicLongAssert |
AtomicLongAssert.hasValueGreaterThanOrEqualTo(long other)
Verifies that the actual atomic has a value strictly greater than the given one.
|
AtomicLongAssert |
AtomicLongAssert.hasValueLessThan(long other)
Verifies that the actual atomic has a value strictly less than the given one.
|
AtomicLongAssert |
AtomicLongAssert.hasValueLessThanOrEqualTo(long other)
Verifies that the actual atomic has a value strictly less than the given one.
|
AtomicLongAssert |
Java6AbstractBDDSoftAssertions.then(java.util.concurrent.atomic.AtomicLong actual)
Create assertion for
AtomicLong . |
static AtomicLongAssert |
BDDAssertions.then(java.util.concurrent.atomic.AtomicLong actual)
Create assertion for
AtomicLong . |
static AtomicLongAssert |
Java6BDDAssertions.then(java.util.concurrent.atomic.AtomicLong actual)
Deprecated.
Create assertion for
AtomicLong . |
AtomicLongAssert |
AtomicLongAssert.usingComparator(java.util.Comparator<? super java.util.concurrent.atomic.AtomicLong> customComparator) |
AtomicLongAssert |
AtomicLongAssert.usingComparator(java.util.Comparator<? super java.util.concurrent.atomic.AtomicLong> customComparator,
java.lang.String customComparatorDescription) |
AtomicLongAssert |
AtomicLongAssert.usingDefaultComparator() |