Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.data | |
org.assertj.core.error | |
org.assertj.core.internal |
Modifier and Type | Method and Description |
---|---|
default Index |
WithAssertions.atIndex(int index)
Only delegate to
atIndex(int) so that Assertions offers a full feature entry point to all AssertJ
features (but you can use Index if you prefer). |
static Index |
Assertions.atIndex(int index)
Only delegate to
atIndex(int) so that Assertions offers a full feature entry point to all AssertJ
features (but you can use Index if you prefer). |
static Index |
AssertionsForClassTypes.atIndex(int index)
Only delegate to
atIndex(int) so that Assertions offers a full feature entry point to all AssertJ
features (but you can use Index if you prefer). |
static Index |
Java6Assertions.atIndex(int index)
Only delegate to
atIndex(int) so that Assertions offers a full feature entry point to all AssertJ
features (but you can use Index if you prefer). |
Modifier and Type | Method and Description |
---|---|
SELF |
AbstractBooleanArrayAssert.contains(boolean value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractByteArrayAssert.contains(byte value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractCharArrayAssert.contains(char value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractDoubleArrayAssert.contains(double value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractDoubleArrayAssert.contains(double value,
Index index,
Offset<Double> precision)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractObjectArrayAssert.contains(ELEMENT value,
Index index)
Verifies that the actual array contains the given object at the given index.
|
SELF |
AbstractListAssert.contains(ELEMENT value,
Index index)
Verifies that the actual group contains the given object at the given index.
|
SELF |
IndexedObjectEnumerableAssert.contains(ELEMENT value,
Index index)
Verifies that the actual group contains the given object at the given index.
|
SELF |
AbstractFloatArrayAssert.contains(float value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractFloatArrayAssert.contains(float value,
Index index,
Offset<Float> precision)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractIntArrayAssert.contains(int value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
SELF |
AbstractByteArrayAssert.contains(int value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
AtomicIntegerArrayAssert |
AtomicIntegerArrayAssert.contains(int value,
Index index)
Verifies that the actual atomic array contains the given value at the given index.
|
SELF |
AbstractLongArrayAssert.contains(long value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
AtomicLongArrayAssert |
AtomicLongArrayAssert.contains(long value,
Index index)
Verifies that the actual atomic array contains the given value at the given index.
|
SELF |
AbstractShortArrayAssert.contains(short value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.contains(T value,
Index index)
Verifies that the actual AtomicReferenceArray contains the given object at the given index.
|
SELF |
AbstractBooleanArrayAssert.doesNotContain(boolean value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractByteArrayAssert.doesNotContain(byte value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractCharArrayAssert.doesNotContain(char value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractDoubleArrayAssert.doesNotContain(double value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractDoubleArrayAssert.doesNotContain(double value,
Index index,
Offset<Double> precision)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractObjectArrayAssert.doesNotContain(ELEMENT value,
Index index)
Verifies that the actual array does not contain the given object at the given index.
|
SELF |
AbstractListAssert.doesNotContain(ELEMENT value,
Index index)
Verifies that the actual group does not contain the given object at the given index.
|
SELF |
IndexedObjectEnumerableAssert.doesNotContain(ELEMENT value,
Index index)
Verifies that the actual group does not contain the given object at the given index.
|
SELF |
AbstractFloatArrayAssert.doesNotContain(float value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractFloatArrayAssert.doesNotContain(float value,
Index index,
Offset<Float> precision)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractIntArrayAssert.doesNotContain(int value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
SELF |
AbstractByteArrayAssert.doesNotContain(int value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
AtomicIntegerArrayAssert |
AtomicIntegerArrayAssert.doesNotContain(int value,
Index index)
Verifies that the actual atomic array does not contain the given value at the given index.
|
SELF |
AbstractLongArrayAssert.doesNotContain(long value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
AtomicLongArrayAssert |
AtomicLongArrayAssert.doesNotContain(long value,
Index index)
Verifies that the actual atomic array does not contain the given value at the given index.
|
SELF |
AbstractShortArrayAssert.doesNotContain(short value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
AtomicReferenceArrayAssert<T> |
AtomicReferenceArrayAssert.doesNotContain(T value,
Index index)
Verifies that the actual AtomicReferenceArray does not contain the given object at the given index.
|
SELF |
AbstractListAssert.has(Condition<? super ELEMENT> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.
|
SELF |
AbstractListAssert.is(Condition<? super ELEMENT> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.
|
SELF |
AbstractListAssert.satisfies(Consumer<? super ELEMENT> requirements,
Index index)
Verifies that the actual
List contains a value at given Index that satisfies the given requirements . |
Modifier and Type | Method and Description |
---|---|
static Index |
Index.atIndex(int value)
Creates a new
Index . |
Modifier and Type | Method and Description |
---|---|
static <T> ErrorMessageFactory |
ShouldBeAtIndex.shouldBeAtIndex(List<? extends T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new
. |
static ErrorMessageFactory |
ShouldContainAtIndex.shouldContainAtIndex(Object actual,
Object expected,
Index index,
Object found)
Creates a new
. |
static ErrorMessageFactory |
ShouldContainAtIndex.shouldContainAtIndex(Object actual,
Object expected,
Index index,
Object found,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
static <T> ErrorMessageFactory |
ShouldHaveAtIndex.shouldHaveAtIndex(List<? extends T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new
. |
static ErrorMessageFactory |
ShouldNotContainAtIndex.shouldNotContainAtIndex(Object actual,
Object expected,
Index index)
Creates a new
. |
static ErrorMessageFactory |
ShouldNotContainAtIndex.shouldNotContainAtIndex(Object actual,
Object expected,
Index index,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
Modifier and Type | Method and Description |
---|---|
void |
BooleanArrays.assertContains(AssertionInfo info,
boolean[] actual,
boolean value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
ByteArrays.assertContains(AssertionInfo info,
byte[] actual,
byte value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
ByteArrays.assertContains(AssertionInfo info,
byte[] actual,
int value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
CharArrays.assertContains(AssertionInfo info,
char[] actual,
char value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
DoubleArrays.assertContains(AssertionInfo info,
double[] actual,
double value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
FloatArrays.assertContains(AssertionInfo info,
float[] actual,
float value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
IntArrays.assertContains(AssertionInfo info,
int[] actual,
int value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
Lists.assertContains(AssertionInfo info,
List<?> actual,
Object value,
Index index)
Verifies that the given
List contains the given object at the given index. |
void |
LongArrays.assertContains(AssertionInfo info,
long[] actual,
long value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
ObjectArrays.assertContains(AssertionInfo info,
Object[] actual,
Object value,
Index index)
Verifies that the given array contains the given object at the given index.
|
void |
ShortArrays.assertContains(AssertionInfo info,
short[] actual,
short value,
Index index)
Verifies that the given array contains the given value at the given index.
|
void |
BooleanArrays.assertDoesNotContain(AssertionInfo info,
boolean[] actual,
boolean value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
ByteArrays.assertDoesNotContain(AssertionInfo info,
byte[] actual,
byte value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
ByteArrays.assertDoesNotContain(AssertionInfo info,
byte[] actual,
int value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
CharArrays.assertDoesNotContain(AssertionInfo info,
char[] actual,
char value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
DoubleArrays.assertDoesNotContain(AssertionInfo info,
double[] actual,
double value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
FloatArrays.assertDoesNotContain(AssertionInfo info,
float[] actual,
float value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
IntArrays.assertDoesNotContain(AssertionInfo info,
int[] actual,
int value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
Lists.assertDoesNotContain(AssertionInfo info,
List<?> actual,
Object value,
Index index)
Verifies that the given
List does not contain the given object at the given index. |
void |
LongArrays.assertDoesNotContain(AssertionInfo info,
long[] actual,
long value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
void |
ObjectArrays.assertDoesNotContain(AssertionInfo info,
Object[] actual,
Object value,
Index index)
Verifies that the given array does not contain the given object at the given index.
|
void |
ShortArrays.assertDoesNotContain(AssertionInfo info,
short[] actual,
short value,
Index index)
Verifies that the given array does not contain the given value at the given index.
|
<T> void |
Lists.assertHas(AssertionInfo info,
List<? extends T> actual,
Condition<? super T> condition,
Index index)
Verifies that the given
List satisfies the given at the given index. |
<T> void |
Lists.assertIs(AssertionInfo info,
List<? extends T> actual,
Condition<? super T> condition,
Index index)
Verifies that the given
List satisfies the given at the given index. |
<T> void |
Lists.satisfies(AssertionInfo info,
List<? extends T> actual,
Consumer<? super T> requirements,
Index index) |
Copyright © 2014–2019 AssertJ. All rights reserved.