Package | Description |
---|---|
org.fest.assertions.api | |
org.fest.assertions.core | |
org.fest.assertions.data | |
org.fest.assertions.error | |
org.fest.assertions.internal |
Modifier and Type | Method and Description |
---|---|
static Index |
Assertions.atIndex(int index)
Only delegate to
atIndex(int) so that Assertions offers a full feature entry point to all Fest Assert features
(but you can use Index if you prefer). |
Modifier and Type | Method and Description |
---|---|
BooleanArrayAssert |
BooleanArrayAssert.contains(boolean value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
ByteArrayAssert |
ByteArrayAssert.contains(byte value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
CharArrayAssert |
CharArrayAssert.contains(char value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
DoubleArrayAssert |
DoubleArrayAssert.contains(double value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
FloatArrayAssert |
FloatArrayAssert.contains(float value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
IntArrayAssert |
IntArrayAssert.contains(int value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
LongArrayAssert |
LongArrayAssert.contains(long value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
ShortArrayAssert |
ShortArrayAssert.contains(short value,
Index index)
Verifies that the actual array contains the given value at the given index.
|
ObjectArrayAssert<T> |
ObjectArrayAssert.contains(T value,
Index index)
Verifies that the actual group contains the given object at the given index.
|
ListAssert<T> |
ListAssert.contains(T value,
Index index)
Verifies that the actual group contains the given object at the given index.
|
BooleanArrayAssert |
BooleanArrayAssert.doesNotContain(boolean value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
ByteArrayAssert |
ByteArrayAssert.doesNotContain(byte value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
CharArrayAssert |
CharArrayAssert.doesNotContain(char value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
DoubleArrayAssert |
DoubleArrayAssert.doesNotContain(double value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
FloatArrayAssert |
FloatArrayAssert.doesNotContain(float value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
IntArrayAssert |
IntArrayAssert.doesNotContain(int value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
LongArrayAssert |
LongArrayAssert.doesNotContain(long value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
ShortArrayAssert |
ShortArrayAssert.doesNotContain(short value,
Index index)
Verifies that the actual array does not contain the given value at the given index.
|
ObjectArrayAssert<T> |
ObjectArrayAssert.doesNotContain(T value,
Index index)
Verifies that the actual group does not contain the given object at the given index.
|
ListAssert<T> |
ListAssert.doesNotContain(T value,
Index index)
Verifies that the actual group does not contain the given object at the given index.
|
ListAssert<T> |
ListAssert.has(Condition<? super T> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.
|
ListAssert<T> |
ListAssert.is(Condition<? super T> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.
|
Modifier and Type | Method and Description |
---|---|
S |
IndexedObjectEnumerableAssert.contains(T value,
Index index)
Verifies that the actual group contains the given object at the given index.
|
S |
IndexedObjectEnumerableAssert.doesNotContain(T value,
Index index)
Verifies that the actual group does not contain the given object at the given index.
|
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(java.util.List<T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new
ShouldBeAtIndex . |
static ErrorMessageFactory |
ShouldContainAtIndex.shouldContainAtIndex(java.lang.Object actual,
java.lang.Object expected,
Index index,
java.lang.Object found)
Creates a new
ShouldContainAtIndex . |
static ErrorMessageFactory |
ShouldContainAtIndex.shouldContainAtIndex(java.lang.Object actual,
java.lang.Object expected,
Index index,
java.lang.Object found,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldContainAtIndex . |
static <T> ErrorMessageFactory |
ShouldHaveAtIndex.shouldHaveAtIndex(java.util.List<T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new
ShouldHaveAtIndex . |
static ErrorMessageFactory |
ShouldNotContainAtIndex.shouldNotContainAtIndex(java.lang.Object actual,
java.lang.Object expected,
Index index)
Creates a new
ShouldNotContainAtIndex . |
static ErrorMessageFactory |
ShouldNotContainAtIndex.shouldNotContainAtIndex(java.lang.Object actual,
java.lang.Object expected,
Index index,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldNotContainAtIndex . |
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 |
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,
java.util.List<?> actual,
java.lang.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,
java.lang.Object[] actual,
java.lang.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 |
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,
java.util.List<?> actual,
java.lang.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,
java.lang.Object[] actual,
java.lang.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,
java.util.List<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,
java.util.List<T> actual,
Condition<? super T> condition,
Index index)
Verifies that the given
List satisfies the given at the given index. |
Copyright © 2007–2018. All rights reserved.