public class LockssTestCase5 extends Object
A class that has non-static versions of all the methods in
Assertions, MatcherAssert, Matchers
Assertions,
MatcherAssert,
Matchers| Constructor and Description |
|---|
LockssTestCase5() |
| Modifier and Type | Method and Description |
|---|---|
<T> org.hamcrest.Matcher<T> |
allOf(Iterable<org.hamcrest.Matcher<? super T>> matchers) |
<T> org.hamcrest.Matcher<T> |
allOf(org.hamcrest.Matcher<? super T>... matchers) |
<T> org.hamcrest.Matcher<T> |
allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second) |
<T> org.hamcrest.Matcher<T> |
allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third) |
<T> org.hamcrest.Matcher<T> |
allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth) |
<T> org.hamcrest.Matcher<T> |
allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth) |
<T> org.hamcrest.Matcher<T> |
allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth,
org.hamcrest.Matcher<? super T> sixth) |
<T> org.hamcrest.Matcher<T> |
any(Class<T> type) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(Iterable<org.hamcrest.Matcher<? super T>> matchers) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(org.hamcrest.Matcher<? super T>... matchers) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth) |
<T> org.hamcrest.core.AnyOf<T> |
anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth,
org.hamcrest.Matcher<? super T> sixth) |
org.hamcrest.Matcher<Object> |
anything() |
org.hamcrest.Matcher<Object> |
anything(String description) |
<T> org.hamcrest.collection.IsArray<T> |
array(org.hamcrest.Matcher<? super T>... elementMatchers) |
<E> org.hamcrest.Matcher<E[]> |
arrayContaining(E... items) |
<E> org.hamcrest.Matcher<E[]> |
arrayContaining(List<org.hamcrest.Matcher<? super E>> itemMatchers) |
<E> org.hamcrest.Matcher<E[]> |
arrayContaining(org.hamcrest.Matcher<? super E>... itemMatchers) |
<E> org.hamcrest.Matcher<E[]> |
arrayContainingInAnyOrder(Collection<org.hamcrest.Matcher<? super E>> itemMatchers) |
<E> org.hamcrest.Matcher<E[]> |
arrayContainingInAnyOrder(E... items) |
<E> org.hamcrest.Matcher<E[]> |
arrayContainingInAnyOrder(org.hamcrest.Matcher<? super E>... itemMatchers) |
<E> org.hamcrest.Matcher<E[]> |
arrayWithSize(int size) |
<E> org.hamcrest.Matcher<E[]> |
arrayWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher) |
void |
assertAll(org.junit.jupiter.api.function.Executable... executables) |
void |
assertAll(Stream<org.junit.jupiter.api.function.Executable> executables) |
void |
assertAll(String heading,
org.junit.jupiter.api.function.Executable... executables) |
void |
assertAll(String heading,
Stream<org.junit.jupiter.api.function.Executable> executables) |
void |
assertArrayEquals(boolean[] expected,
boolean[] actual) |
void |
assertArrayEquals(boolean[] expected,
boolean[] actual,
String message) |
void |
assertArrayEquals(boolean[] expected,
boolean[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(byte[] expected,
byte[] actual) |
void |
assertArrayEquals(byte[] expected,
byte[] actual,
String message) |
void |
assertArrayEquals(byte[] expected,
byte[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(char[] expected,
char[] actual) |
void |
assertArrayEquals(char[] expected,
char[] actual,
String message) |
void |
assertArrayEquals(char[] expected,
char[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(double[] expected,
double[] actual) |
void |
assertArrayEquals(double[] expected,
double[] actual,
double delta) |
void |
assertArrayEquals(double[] expected,
double[] actual,
double delta,
String message) |
void |
assertArrayEquals(double[] expected,
double[] actual,
double delta,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(double[] expected,
double[] actual,
String message) |
void |
assertArrayEquals(double[] expected,
double[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(float[] expected,
float[] actual) |
void |
assertArrayEquals(float[] expected,
float[] actual,
float delta) |
void |
assertArrayEquals(float[] expected,
float[] actual,
float delta,
String message) |
void |
assertArrayEquals(float[] expected,
float[] actual,
float delta,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(float[] expected,
float[] actual,
String message) |
void |
assertArrayEquals(float[] expected,
float[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(int[] expected,
int[] actual) |
void |
assertArrayEquals(int[] expected,
int[] actual,
String message) |
void |
assertArrayEquals(int[] expected,
int[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(long[] expected,
long[] actual) |
void |
assertArrayEquals(long[] expected,
long[] actual,
String message) |
void |
assertArrayEquals(long[] expected,
long[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(Object[] expected,
Object[] actual) |
void |
assertArrayEquals(Object[] expected,
Object[] actual,
String message) |
void |
assertArrayEquals(Object[] expected,
Object[] actual,
Supplier<String> messageSupplier) |
void |
assertArrayEquals(short[] expected,
short[] actual) |
void |
assertArrayEquals(short[] expected,
short[] actual,
String message) |
void |
assertArrayEquals(short[] expected,
short[] actual,
Supplier<String> messageSupplier) |
void |
assertEquals(byte expected,
byte actual) |
void |
assertEquals(byte expected,
byte actual,
String message) |
void |
assertEquals(byte expected,
byte actual,
Supplier<String> messageSupplier) |
void |
assertEquals(char expected,
char actual) |
void |
assertEquals(char expected,
char actual,
String message) |
void |
assertEquals(char expected,
char actual,
Supplier<String> messageSupplier) |
void |
assertEquals(double expected,
double actual) |
void |
assertEquals(double expected,
double actual,
double delta) |
void |
assertEquals(double expected,
double actual,
double delta,
String message) |
void |
assertEquals(double expected,
double actual,
double delta,
Supplier<String> messageSupplier) |
void |
assertEquals(double expected,
double actual,
String message) |
void |
assertEquals(double expected,
double actual,
Supplier<String> messageSupplier) |
void |
assertEquals(float expected,
float actual) |
void |
assertEquals(float expected,
float actual,
float delta) |
void |
assertEquals(float expected,
float actual,
float delta,
String message) |
void |
assertEquals(float expected,
float actual,
float delta,
Supplier<String> messageSupplier) |
void |
assertEquals(float expected,
float actual,
String message) |
void |
assertEquals(float expected,
float actual,
Supplier<String> messageSupplier) |
void |
assertEquals(int expected,
int actual) |
void |
assertEquals(int expected,
int actual,
String message) |
void |
assertEquals(int expected,
int actual,
Supplier<String> messageSupplier) |
void |
assertEquals(long expected,
long actual) |
void |
assertEquals(long expected,
long actual,
String message) |
void |
assertEquals(long expected,
long actual,
Supplier<String> messageSupplier) |
void |
assertEquals(Object expected,
Object actual) |
void |
assertEquals(Object expected,
Object actual,
String message) |
void |
assertEquals(Object expected,
Object actual,
Supplier<String> messageSupplier) |
void |
assertEquals(short expected,
short actual) |
void |
assertEquals(short expected,
short actual,
String message) |
void |
assertEquals(short expected,
short actual,
Supplier<String> messageSupplier) |
void |
assertFalse(boolean condition) |
void |
assertFalse(boolean condition,
String message) |
void |
assertFalse(BooleanSupplier booleanSupplier) |
void |
assertFalse(boolean condition,
Supplier<String> messageSupplier) |
void |
assertFalse(BooleanSupplier booleanSupplier,
String message) |
void |
assertFalse(BooleanSupplier booleanSupplier,
Supplier<String> messageSupplier) |
void |
assertIterableEquals(Iterable<?> expected,
Iterable<?> actual) |
void |
assertIterableEquals(Iterable<?> expected,
Iterable<?> actual,
String message) |
void |
assertIterableEquals(Iterable<?> expected,
Iterable<?> actual,
Supplier<String> messageSupplier) |
void |
assertLinesMatch(List<String> expectedLines,
List<String> actualLines) |
void |
assertNotEquals(Object unexpected,
Object actual) |
void |
assertNotEquals(Object unexpected,
Object actual,
String message) |
void |
assertNotEquals(Object unexpected,
Object actual,
Supplier<String> messageSupplier) |
void |
assertNotNull(Object actual) |
void |
assertNotNull(Object actual,
String message) |
void |
assertNotNull(Object actual,
Supplier<String> messageSupplier) |
void |
assertNotSame(Object unexpected,
Object actual) |
void |
assertNotSame(Object unexpected,
Object actual,
String message) |
void |
assertNotSame(Object unexpected,
Object actual,
Supplier<String> messageSupplier) |
void |
assertNull(Object actual) |
void |
assertNull(Object actual,
String message) |
void |
assertNull(Object actual,
Supplier<String> messageSupplier) |
void |
assertSame(Object expected,
Object actual) |
void |
assertSame(Object expected,
Object actual,
String message) |
void |
assertSame(Object expected,
Object actual,
Supplier<String> messageSupplier) |
void |
assertThat(String reason,
boolean assertion) |
<T> void |
assertThat(String reason,
T actual,
org.hamcrest.Matcher<? super T> matcher) |
<T> void |
assertThat(T actual,
org.hamcrest.Matcher<? super T> matcher) |
<T extends Throwable> |
assertThrows(Class<T> expectedType,
org.junit.jupiter.api.function.Executable executable) |
<T extends Throwable> |
assertThrows(Class<T> expectedType,
org.junit.jupiter.api.function.Executable executable,
String message) |
<T extends Throwable> |
assertThrows(Class<T> expectedType,
org.junit.jupiter.api.function.Executable executable,
Supplier<String> messageSupplier) |
void |
assertTimeout(Duration timeout,
org.junit.jupiter.api.function.Executable executable) |
void |
assertTimeout(Duration timeout,
org.junit.jupiter.api.function.Executable executable,
String message) |
void |
assertTimeout(Duration timeout,
org.junit.jupiter.api.function.Executable executable,
Supplier<String> messageSupplier) |
<T> T |
assertTimeout(Duration timeout,
org.junit.jupiter.api.function.ThrowingSupplier<T> supplier) |
<T> T |
assertTimeout(Duration timeout,
org.junit.jupiter.api.function.ThrowingSupplier<T> supplier,
String message) |
<T> T |
assertTimeout(Duration timeout,
org.junit.jupiter.api.function.ThrowingSupplier<T> supplier,
Supplier<String> messageSupplier) |
void |
assertTimeoutPreemptively(Duration timeout,
org.junit.jupiter.api.function.Executable executable) |
void |
assertTimeoutPreemptively(Duration timeout,
org.junit.jupiter.api.function.Executable executable,
String message) |
void |
assertTimeoutPreemptively(Duration timeout,
org.junit.jupiter.api.function.Executable executable,
Supplier<String> messageSupplier) |
<T> T |
assertTimeoutPreemptively(Duration timeout,
org.junit.jupiter.api.function.ThrowingSupplier<T> supplier) |
<T> T |
assertTimeoutPreemptively(Duration timeout,
org.junit.jupiter.api.function.ThrowingSupplier<T> supplier,
String message) |
<T> T |
assertTimeoutPreemptively(Duration timeout,
org.junit.jupiter.api.function.ThrowingSupplier<T> supplier,
Supplier<String> messageSupplier) |
void |
assertTrue(boolean condition) |
void |
assertTrue(boolean condition,
String message) |
void |
assertTrue(BooleanSupplier booleanSupplier) |
void |
assertTrue(boolean condition,
Supplier<String> messageSupplier) |
void |
assertTrue(BooleanSupplier booleanSupplier,
String message) |
void |
assertTrue(BooleanSupplier booleanSupplier,
Supplier<String> messageSupplier) |
<LHS> org.hamcrest.core.CombinableMatcher.CombinableBothMatcher<LHS> |
both(org.hamcrest.Matcher<? super LHS> matcher) |
org.hamcrest.Matcher<BigDecimal> |
closeTo(BigDecimal operand,
BigDecimal error) |
org.hamcrest.Matcher<Double> |
closeTo(double operand,
double error) |
<T extends Comparable<T>> |
comparesEqualTo(T value) |
<E> org.hamcrest.Matcher<Iterable<? extends E>> |
contains(E... items) |
<E> org.hamcrest.Matcher<Iterable<? extends E>> |
contains(List<org.hamcrest.Matcher<? super E>> itemMatchers) |
<E> org.hamcrest.Matcher<Iterable<? extends E>> |
contains(org.hamcrest.Matcher<? super E>... itemMatchers) |
<E> org.hamcrest.Matcher<Iterable<? extends E>> |
contains(org.hamcrest.Matcher<? super E> itemMatcher) |
<T> org.hamcrest.Matcher<Iterable<? extends T>> |
containsInAnyOrder(Collection<org.hamcrest.Matcher<? super T>> itemMatchers) |
<E> org.hamcrest.Matcher<Iterable<? extends E>> |
containsInAnyOrder(org.hamcrest.Matcher<? super E> itemMatcher) |
<T> org.hamcrest.Matcher<Iterable<? extends T>> |
containsInAnyOrder(org.hamcrest.Matcher<? super T>... itemMatchers) |
<T> org.hamcrest.Matcher<Iterable<? extends T>> |
containsInAnyOrder(T... items) |
org.hamcrest.Matcher<String> |
containsString(String substring) |
<T> org.hamcrest.Matcher<T> |
describedAs(String description,
org.hamcrest.Matcher<T> matcher,
Object... values) |
<LHS> org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher<LHS> |
either(org.hamcrest.Matcher<? super LHS> matcher) |
<E> org.hamcrest.Matcher<Collection<? extends E>> |
empty() |
<E> org.hamcrest.Matcher<E[]> |
emptyArray() |
<E> org.hamcrest.Matcher<Collection<E>> |
emptyCollectionOf(Class<E> type) |
<E> org.hamcrest.Matcher<Iterable<? extends E>> |
emptyIterable() |
<E> org.hamcrest.Matcher<Iterable<E>> |
emptyIterableOf(Class<E> type) |
org.hamcrest.Matcher<String> |
endsWith(String suffix) |
<T> org.hamcrest.Matcher<T> |
equalTo(T operand) |
org.hamcrest.Matcher<String> |
equalToIgnoringCase(String expectedString) |
org.hamcrest.Matcher<String> |
equalToIgnoringWhiteSpace(String expectedString) |
org.hamcrest.Matcher<EventObject> |
eventFrom(Class<? extends EventObject> eventClass,
Object source) |
org.hamcrest.Matcher<EventObject> |
eventFrom(Object source) |
<U> org.hamcrest.Matcher<Iterable<U>> |
everyItem(org.hamcrest.Matcher<U> itemMatcher) |
<V> V |
fail(String message) |
<V> V |
fail(String message,
Throwable cause) |
<V> V |
fail(Supplier<String> messageSupplier) |
<V> V |
fail(Throwable cause) |
<T extends Comparable<T>> |
greaterThan(T value) |
<T extends Comparable<T>> |
greaterThanOrEqualTo(T value) |
<K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
hasEntry(K key,
V value) |
<K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> |
hasEntry(org.hamcrest.Matcher<? super K> keyMatcher,
org.hamcrest.Matcher<? super V> valueMatcher) |
<T> org.hamcrest.Matcher<Iterable<? super T>> |
hasItem(org.hamcrest.Matcher<? super T> itemMatcher) |
<T> org.hamcrest.Matcher<Iterable<? super T>> |
hasItem(T item) |
<T> org.hamcrest.Matcher<T[]> |
hasItemInArray(org.hamcrest.Matcher<? super T> elementMatcher) |
<T> org.hamcrest.Matcher<T[]> |
hasItemInArray(T element) |
<T> org.hamcrest.Matcher<Iterable<T>> |
hasItems(org.hamcrest.Matcher<? super T>... itemMatchers) |
<T> org.hamcrest.Matcher<Iterable<T>> |
hasItems(T... items) |
<K> org.hamcrest.Matcher<Map<? extends K,?>> |
hasKey(K key) |
<K> org.hamcrest.Matcher<Map<? extends K,?>> |
hasKey(org.hamcrest.Matcher<? super K> keyMatcher) |
<T> org.hamcrest.Matcher<T> |
hasProperty(String propertyName) |
<T> org.hamcrest.Matcher<T> |
hasProperty(String propertyName,
org.hamcrest.Matcher<?> valueMatcher) |
<E> org.hamcrest.Matcher<Collection<? extends E>> |
hasSize(int size) |
<E> org.hamcrest.Matcher<Collection<? extends E>> |
hasSize(org.hamcrest.Matcher<? super Integer> sizeMatcher) |
<T> org.hamcrest.Matcher<T> |
hasToString(org.hamcrest.Matcher<? super String> toStringMatcher) |
<T> org.hamcrest.Matcher<T> |
hasToString(String expectedToString) |
<V> org.hamcrest.Matcher<Map<?,? extends V>> |
hasValue(org.hamcrest.Matcher<? super V> valueMatcher) |
<V> org.hamcrest.Matcher<Map<?,? extends V>> |
hasValue(V value) |
org.hamcrest.Matcher<Node> |
hasXPath(String xPath) |
org.hamcrest.Matcher<Node> |
hasXPath(String xPath,
org.hamcrest.Matcher<String> valueMatcher) |
org.hamcrest.Matcher<Node> |
hasXPath(String xPath,
NamespaceContext namespaceContext) |
org.hamcrest.Matcher<Node> |
hasXPath(String xPath,
NamespaceContext namespaceContext,
org.hamcrest.Matcher<String> valueMatcher) |
<T> org.hamcrest.Matcher<T> |
instanceOf(Class<?> type) |
<T> org.hamcrest.Matcher<T> |
is(Class<T> type) |
<T> org.hamcrest.Matcher<T> |
is(org.hamcrest.Matcher<T> matcher) |
<T> org.hamcrest.Matcher<T> |
is(T value) |
<T> org.hamcrest.Matcher<T> |
isA(Class<T> type) |
org.hamcrest.Matcher<String> |
isEmptyOrNullString() |
org.hamcrest.Matcher<String> |
isEmptyString() |
<T> org.hamcrest.Matcher<T> |
isIn(Collection<T> collection) |
<T> org.hamcrest.Matcher<T> |
isIn(T[] param1) |
<T> org.hamcrest.Matcher<T> |
isOneOf(T... elements) |
<E> org.hamcrest.Matcher<Iterable<E>> |
iterableWithSize(int size) |
<E> org.hamcrest.Matcher<Iterable<E>> |
iterableWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher) |
<T extends Comparable<T>> |
lessThan(T value) |
<T extends Comparable<T>> |
lessThanOrEqualTo(T value) |
<T> org.hamcrest.Matcher<T> |
not(org.hamcrest.Matcher<T> matcher) |
<T> org.hamcrest.Matcher<T> |
not(T value) |
org.hamcrest.Matcher<Object> |
notNullValue() |
<T> org.hamcrest.Matcher<T> |
notNullValue(Class<T> type) |
org.hamcrest.Matcher<Object> |
nullValue() |
<T> org.hamcrest.Matcher<T> |
nullValue(Class<T> type) |
<T> org.hamcrest.Matcher<T> |
sameInstance(T target) |
<T> org.hamcrest.Matcher<T> |
samePropertyValuesAs(T expectedBean) |
org.hamcrest.Matcher<String> |
startsWith(String prefix) |
org.hamcrest.Matcher<String> |
stringContainsInOrder(Iterable<String> substrings) |
<T> org.hamcrest.Matcher<T> |
theInstance(T target) |
<T> org.hamcrest.Matcher<Class<?>> |
typeCompatibleWith(Class<T> baseType) |
public <V> V fail(String message)
public <V> V fail(Throwable cause)
public void assertTrue(boolean condition)
public void assertTrue(BooleanSupplier booleanSupplier)
public void assertTrue(BooleanSupplier booleanSupplier, String message)
public void assertTrue(boolean condition,
String message)
public void assertTrue(BooleanSupplier booleanSupplier, Supplier<String> messageSupplier)
public void assertFalse(boolean condition)
public void assertFalse(boolean condition,
String message)
public void assertFalse(BooleanSupplier booleanSupplier)
public void assertFalse(BooleanSupplier booleanSupplier, String message)
public void assertFalse(BooleanSupplier booleanSupplier, Supplier<String> messageSupplier)
public void assertNull(Object actual)
public void assertNotNull(Object actual)
public void assertEquals(short expected,
short actual)
public void assertEquals(short expected,
short actual,
String message)
public void assertEquals(short expected,
short actual,
Supplier<String> messageSupplier)
public void assertEquals(byte expected,
byte actual)
public void assertEquals(byte expected,
byte actual,
String message)
public void assertEquals(int expected,
int actual)
public void assertEquals(int expected,
int actual,
String message)
public void assertEquals(long expected,
long actual)
public void assertEquals(long expected,
long actual,
String message)
public void assertEquals(char expected,
char actual)
public void assertEquals(char expected,
char actual,
String message)
public void assertEquals(float expected,
float actual)
public void assertEquals(float expected,
float actual,
String message)
public void assertEquals(float expected,
float actual,
Supplier<String> messageSupplier)
public void assertEquals(float expected,
float actual,
float delta)
public void assertEquals(float expected,
float actual,
float delta,
String message)
public void assertEquals(float expected,
float actual,
float delta,
Supplier<String> messageSupplier)
public void assertEquals(double expected,
double actual)
public void assertEquals(double expected,
double actual,
String message)
public void assertEquals(double expected,
double actual,
Supplier<String> messageSupplier)
public void assertEquals(double expected,
double actual,
double delta)
public void assertEquals(double expected,
double actual,
double delta,
String message)
public void assertEquals(double expected,
double actual,
double delta,
Supplier<String> messageSupplier)
public void assertEquals(Object expected, Object actual, Supplier<String> messageSupplier)
public void assertArrayEquals(boolean[] expected,
boolean[] actual)
public void assertArrayEquals(boolean[] expected,
boolean[] actual,
String message)
public void assertArrayEquals(boolean[] expected,
boolean[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(char[] expected,
char[] actual)
public void assertArrayEquals(char[] expected,
char[] actual,
String message)
public void assertArrayEquals(char[] expected,
char[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(byte[] expected,
byte[] actual)
public void assertArrayEquals(byte[] expected,
byte[] actual,
String message)
public void assertArrayEquals(byte[] expected,
byte[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(short[] expected,
short[] actual)
public void assertArrayEquals(short[] expected,
short[] actual,
String message)
public void assertArrayEquals(short[] expected,
short[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(int[] expected,
int[] actual)
public void assertArrayEquals(int[] expected,
int[] actual,
String message)
public void assertArrayEquals(int[] expected,
int[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(long[] expected,
long[] actual)
public void assertArrayEquals(long[] expected,
long[] actual,
String message)
public void assertArrayEquals(long[] expected,
long[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(float[] expected,
float[] actual)
public void assertArrayEquals(float[] expected,
float[] actual,
String message)
public void assertArrayEquals(float[] expected,
float[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(float[] expected,
float[] actual,
float delta)
public void assertArrayEquals(float[] expected,
float[] actual,
float delta,
String message)
public void assertArrayEquals(float[] expected,
float[] actual,
float delta,
Supplier<String> messageSupplier)
public void assertArrayEquals(double[] expected,
double[] actual)
public void assertArrayEquals(double[] expected,
double[] actual,
String message)
public void assertArrayEquals(double[] expected,
double[] actual,
Supplier<String> messageSupplier)
public void assertArrayEquals(double[] expected,
double[] actual,
double delta)
public void assertArrayEquals(double[] expected,
double[] actual,
double delta,
String message)
public void assertArrayEquals(double[] expected,
double[] actual,
double delta,
Supplier<String> messageSupplier)
public void assertArrayEquals(Object[] expected, Object[] actual, Supplier<String> messageSupplier)
public void assertIterableEquals(Iterable<?> expected, Iterable<?> actual, String message)
public void assertIterableEquals(Iterable<?> expected, Iterable<?> actual, Supplier<String> messageSupplier)
public void assertNotEquals(Object unexpected, Object actual, Supplier<String> messageSupplier)
public void assertNotSame(Object unexpected, Object actual, Supplier<String> messageSupplier)
public void assertAll(org.junit.jupiter.api.function.Executable... executables)
throws org.opentest4j.MultipleFailuresError
org.opentest4j.MultipleFailuresErrorpublic void assertAll(Stream<org.junit.jupiter.api.function.Executable> executables) throws org.opentest4j.MultipleFailuresError
org.opentest4j.MultipleFailuresErrorpublic void assertAll(String heading, org.junit.jupiter.api.function.Executable... executables) throws org.opentest4j.MultipleFailuresError
org.opentest4j.MultipleFailuresErrorpublic void assertAll(String heading, Stream<org.junit.jupiter.api.function.Executable> executables) throws org.opentest4j.MultipleFailuresError
org.opentest4j.MultipleFailuresErrorpublic <T extends Throwable> T assertThrows(Class<T> expectedType, org.junit.jupiter.api.function.Executable executable)
public <T extends Throwable> T assertThrows(Class<T> expectedType, org.junit.jupiter.api.function.Executable executable, String message)
public <T extends Throwable> T assertThrows(Class<T> expectedType, org.junit.jupiter.api.function.Executable executable, Supplier<String> messageSupplier)
public void assertTimeout(Duration timeout, org.junit.jupiter.api.function.Executable executable)
public void assertTimeout(Duration timeout, org.junit.jupiter.api.function.Executable executable, String message)
public void assertTimeout(Duration timeout, org.junit.jupiter.api.function.Executable executable, Supplier<String> messageSupplier)
public <T> T assertTimeout(Duration timeout, org.junit.jupiter.api.function.ThrowingSupplier<T> supplier)
public <T> T assertTimeout(Duration timeout, org.junit.jupiter.api.function.ThrowingSupplier<T> supplier, String message)
public <T> T assertTimeout(Duration timeout, org.junit.jupiter.api.function.ThrowingSupplier<T> supplier, Supplier<String> messageSupplier)
public void assertTimeoutPreemptively(Duration timeout, org.junit.jupiter.api.function.Executable executable)
public void assertTimeoutPreemptively(Duration timeout, org.junit.jupiter.api.function.Executable executable, String message)
public void assertTimeoutPreemptively(Duration timeout, org.junit.jupiter.api.function.Executable executable, Supplier<String> messageSupplier)
public <T> T assertTimeoutPreemptively(Duration timeout, org.junit.jupiter.api.function.ThrowingSupplier<T> supplier)
public <T> T assertTimeoutPreemptively(Duration timeout, org.junit.jupiter.api.function.ThrowingSupplier<T> supplier, String message)
public <T> T assertTimeoutPreemptively(Duration timeout, org.junit.jupiter.api.function.ThrowingSupplier<T> supplier, Supplier<String> messageSupplier)
public <T> void assertThat(T actual,
org.hamcrest.Matcher<? super T> matcher)
public <T> void assertThat(String reason, T actual, org.hamcrest.Matcher<? super T> matcher)
public void assertThat(String reason, boolean assertion)
public <T> org.hamcrest.Matcher<T> allOf(Iterable<org.hamcrest.Matcher<? super T>> matchers)
public <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T>... matchers)
public <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second)
public <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third)
public <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth)
public <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth)
public <T> org.hamcrest.Matcher<T> allOf(org.hamcrest.Matcher<? super T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth,
org.hamcrest.Matcher<? super T> sixth)
public <T> org.hamcrest.core.AnyOf<T> anyOf(Iterable<org.hamcrest.Matcher<? super T>> matchers)
public <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third)
public <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth)
public <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth)
public <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second,
org.hamcrest.Matcher<? super T> third,
org.hamcrest.Matcher<? super T> fourth,
org.hamcrest.Matcher<? super T> fifth,
org.hamcrest.Matcher<? super T> sixth)
public <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<T> first,
org.hamcrest.Matcher<? super T> second)
public <T> org.hamcrest.core.AnyOf<T> anyOf(org.hamcrest.Matcher<? super T>... matchers)
public <LHS> org.hamcrest.core.CombinableMatcher.CombinableBothMatcher<LHS> both(org.hamcrest.Matcher<? super LHS> matcher)
public <LHS> org.hamcrest.core.CombinableMatcher.CombinableEitherMatcher<LHS> either(org.hamcrest.Matcher<? super LHS> matcher)
public <T> org.hamcrest.Matcher<T> describedAs(String description, org.hamcrest.Matcher<T> matcher, Object... values)
public <U> org.hamcrest.Matcher<Iterable<U>> everyItem(org.hamcrest.Matcher<U> itemMatcher)
public <T> org.hamcrest.Matcher<T> is(T value)
public <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher)
public <T> org.hamcrest.Matcher<T> is(Class<T> type)
public <T> org.hamcrest.Matcher<T> isA(Class<T> type)
public org.hamcrest.Matcher<Object> anything()
public <T> org.hamcrest.Matcher<Iterable<? super T>> hasItem(T item)
public <T> org.hamcrest.Matcher<Iterable<? super T>> hasItem(org.hamcrest.Matcher<? super T> itemMatcher)
public <T> org.hamcrest.Matcher<Iterable<T>> hasItems(T... items)
public <T> org.hamcrest.Matcher<Iterable<T>> hasItems(org.hamcrest.Matcher<? super T>... itemMatchers)
public <T> org.hamcrest.Matcher<T> equalTo(T operand)
public <T> org.hamcrest.Matcher<T> any(Class<T> type)
public <T> org.hamcrest.Matcher<T> instanceOf(Class<?> type)
public <T> org.hamcrest.Matcher<T> not(org.hamcrest.Matcher<T> matcher)
public <T> org.hamcrest.Matcher<T> not(T value)
public org.hamcrest.Matcher<Object> nullValue()
public <T> org.hamcrest.Matcher<T> nullValue(Class<T> type)
public org.hamcrest.Matcher<Object> notNullValue()
public <T> org.hamcrest.Matcher<T> notNullValue(Class<T> type)
public <T> org.hamcrest.Matcher<T> sameInstance(T target)
public <T> org.hamcrest.Matcher<T> theInstance(T target)
public <T> org.hamcrest.collection.IsArray<T> array(org.hamcrest.Matcher<? super T>... elementMatchers)
public <T> org.hamcrest.Matcher<T[]> hasItemInArray(T element)
public <T> org.hamcrest.Matcher<T[]> hasItemInArray(org.hamcrest.Matcher<? super T> elementMatcher)
public <E> org.hamcrest.Matcher<E[]> arrayContaining(List<org.hamcrest.Matcher<? super E>> itemMatchers)
public <E> org.hamcrest.Matcher<E[]> arrayContaining(E... items)
public <E> org.hamcrest.Matcher<E[]> arrayContaining(org.hamcrest.Matcher<? super E>... itemMatchers)
public <E> org.hamcrest.Matcher<E[]> arrayContainingInAnyOrder(E... items)
public <E> org.hamcrest.Matcher<E[]> arrayContainingInAnyOrder(org.hamcrest.Matcher<? super E>... itemMatchers)
public <E> org.hamcrest.Matcher<E[]> arrayContainingInAnyOrder(Collection<org.hamcrest.Matcher<? super E>> itemMatchers)
public <E> org.hamcrest.Matcher<E[]> arrayWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher)
public <E> org.hamcrest.Matcher<E[]> arrayWithSize(int size)
public <E> org.hamcrest.Matcher<E[]> emptyArray()
public <E> org.hamcrest.Matcher<Collection<? extends E>> hasSize(org.hamcrest.Matcher<? super Integer> sizeMatcher)
public <E> org.hamcrest.Matcher<Collection<? extends E>> hasSize(int size)
public <E> org.hamcrest.Matcher<Collection<? extends E>> empty()
public <E> org.hamcrest.Matcher<Collection<E>> emptyCollectionOf(Class<E> type)
public <E> org.hamcrest.Matcher<Iterable<? extends E>> emptyIterable()
public <E> org.hamcrest.Matcher<Iterable<? extends E>> contains(org.hamcrest.Matcher<? super E>... itemMatchers)
public <E> org.hamcrest.Matcher<Iterable<? extends E>> contains(E... items)
public <E> org.hamcrest.Matcher<Iterable<? extends E>> contains(org.hamcrest.Matcher<? super E> itemMatcher)
public <E> org.hamcrest.Matcher<Iterable<? extends E>> contains(List<org.hamcrest.Matcher<? super E>> itemMatchers)
public <T> org.hamcrest.Matcher<Iterable<? extends T>> containsInAnyOrder(T... items)
public <T> org.hamcrest.Matcher<Iterable<? extends T>> containsInAnyOrder(Collection<org.hamcrest.Matcher<? super T>> itemMatchers)
public <T> org.hamcrest.Matcher<Iterable<? extends T>> containsInAnyOrder(org.hamcrest.Matcher<? super T>... itemMatchers)
public <E> org.hamcrest.Matcher<Iterable<? extends E>> containsInAnyOrder(org.hamcrest.Matcher<? super E> itemMatcher)
public <E> org.hamcrest.Matcher<Iterable<E>> iterableWithSize(org.hamcrest.Matcher<? super Integer> sizeMatcher)
public <E> org.hamcrest.Matcher<Iterable<E>> iterableWithSize(int size)
public <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> hasEntry(K key, V value)
public <K,V> org.hamcrest.Matcher<Map<? extends K,? extends V>> hasEntry(org.hamcrest.Matcher<? super K> keyMatcher, org.hamcrest.Matcher<? super V> valueMatcher)
public <K> org.hamcrest.Matcher<Map<? extends K,?>> hasKey(org.hamcrest.Matcher<? super K> keyMatcher)
public <K> org.hamcrest.Matcher<Map<? extends K,?>> hasKey(K key)
public <V> org.hamcrest.Matcher<Map<?,? extends V>> hasValue(V value)
public <V> org.hamcrest.Matcher<Map<?,? extends V>> hasValue(org.hamcrest.Matcher<? super V> valueMatcher)
public <T> org.hamcrest.Matcher<T> isIn(Collection<T> collection)
public <T> org.hamcrest.Matcher<T> isIn(T[] param1)
public <T> org.hamcrest.Matcher<T> isOneOf(T... elements)
public org.hamcrest.Matcher<Double> closeTo(double operand, double error)
public org.hamcrest.Matcher<BigDecimal> closeTo(BigDecimal operand, BigDecimal error)
public <T extends Comparable<T>> org.hamcrest.Matcher<T> comparesEqualTo(T value)
public <T extends Comparable<T>> org.hamcrest.Matcher<T> greaterThan(T value)
public <T extends Comparable<T>> org.hamcrest.Matcher<T> greaterThanOrEqualTo(T value)
public <T extends Comparable<T>> org.hamcrest.Matcher<T> lessThan(T value)
public <T extends Comparable<T>> org.hamcrest.Matcher<T> lessThanOrEqualTo(T value)
public org.hamcrest.Matcher<String> equalToIgnoringWhiteSpace(String expectedString)
public org.hamcrest.Matcher<String> isEmptyString()
public org.hamcrest.Matcher<String> isEmptyOrNullString()
public org.hamcrest.Matcher<String> stringContainsInOrder(Iterable<String> substrings)
public <T> org.hamcrest.Matcher<T> hasToString(org.hamcrest.Matcher<? super String> toStringMatcher)
public <T> org.hamcrest.Matcher<T> hasToString(String expectedToString)
public org.hamcrest.Matcher<EventObject> eventFrom(Class<? extends EventObject> eventClass, Object source)
public org.hamcrest.Matcher<EventObject> eventFrom(Object source)
public <T> org.hamcrest.Matcher<T> hasProperty(String propertyName)
public <T> org.hamcrest.Matcher<T> hasProperty(String propertyName, org.hamcrest.Matcher<?> valueMatcher)
public <T> org.hamcrest.Matcher<T> samePropertyValuesAs(T expectedBean)
public org.hamcrest.Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceContext)
public org.hamcrest.Matcher<Node> hasXPath(String xPath, NamespaceContext namespaceContext, org.hamcrest.Matcher<String> valueMatcher)
Copyright © 2000–2018 LOCKSS Program. All rights reserved.