| Package | Description |
|---|---|
| javax.annotation | |
| javax.annotation.meta | |
| org.echocat.unittest.utils.matchers | |
| org.echocat.unittest.utils.nio | |
| org.echocat.unittest.utils.rules | |
| org.echocat.unittest.utils.utils |
| Modifier and Type | Class and Description |
|---|---|
interface |
CheckForNull |
interface |
Nullable |
interface |
ParametersAreNonnullByDefault
This annotation can be applied to a package, class or method to indicate that
the method parameters in that element are nonnull by default unless there is:
An explicit nullness annotation
The method overrides a method in a superclass (in which case the
annotation of the corresponding parameter in the superclass applies)
there is a default parameter annotation applied to a more tightly nested
element.
|
| Modifier and Type | Method and Description |
|---|---|
When |
Nonnull.Checker.forConstantValue(Nonnull qualifierqualifierArgument,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
When |
TypeQualifierValidator.forConstantValue(A annotation,
Object value)
Given a type qualifier, check to see if a known specific constant value
is an instance of the set of values denoted by the qualifier.
|
| Modifier and Type | Method and Description |
|---|---|
When |
TypeQualifierValidator.forConstantValue(A annotation,
Object value)
Given a type qualifier, check to see if a known specific constant value
is an instance of the set of values denoted by the qualifier.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Throwable |
ThrowsException.NONE |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<T> |
IsInstanceOf.any(Class<T> expectedType) |
static <T> org.hamcrest.Matcher<T> |
AppliesTo.appliesTo(Predicate<T> predicate) |
static <T> org.hamcrest.Matcher<T> |
AppliesTo.apply(Predicate<T> predicate) |
protected OptionalBasedMatcher.BaseChecker<T> |
OptionalBasedMatcher.baseChecker() |
protected String |
OptionalBasedMatcher.baseDescription() |
static <T> Iterable<org.hamcrest.Matcher<T>> |
CombinedMappingMatcher.collectMatchers(org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>... otherMatchers) |
protected StringBasedMatcher.Comparator |
StringBasedMatcher.comparator() |
protected IterableBasedMatcher.Comparator<V> |
IterableBasedMatcher.comparator() |
protected CompareTo.Comparator<T> |
CompareTo.comparator() |
protected String |
StringBasedMatcher.comparatorDescription() |
protected String |
IterableBasedMatcher.comparatorDescription() |
protected String |
CompareTo.comparatorDescription() |
static <T extends CharSequence> |
StringMatchers.contains(CharSequence what) |
static <V,T extends Iterable<V>> |
IterableMatchers.contains(Iterable<? extends V> what) |
static <V,T extends Iterable<V>> |
IterableMatchers.contains(V... what) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
protected static StringBasedMatcher.Comparator |
StringBasedMatcher.containsComparator() |
protected static <V> IterableBasedMatcher.Comparator<V> |
IterableBasedMatcher.containsComparator() |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
protected Optional<org.hamcrest.Matcher<T>> |
OptionalBasedMatcher.contentMatcher() |
protected String |
CombinedMappingMatcher.description() |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.element(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.elementMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T> org.hamcrest.Matcher<T> |
IsEmpty.empty() |
protected org.hamcrest.Matcher<T> |
IsNot.enclosed() |
static <T extends CharSequence> |
StringMatchers.endsWith(CharSequence suffix) |
static <V,T extends Iterable<V>> |
IterableMatchers.endsWith(Iterable<? extends V> suffix) |
static <V,T extends Iterable<V>> |
IterableMatchers.endsWith(V... suffix) |
protected static StringBasedMatcher.Comparator |
StringBasedMatcher.endsWithComparator() |
protected static <V> IterableBasedMatcher.Comparator<V> |
IterableBasedMatcher.endsWithComparator() |
static <T extends CharSequence> |
StringMatchers.equalsIgnoreCase(CharSequence what) |
protected static StringBasedMatcher.Comparator |
StringBasedMatcher.equalsIgnoreCaseComparator() |
static <T extends CharSequence> |
StringMatchers.equalsToIgnoreCase(CharSequence what) |
static <T> org.hamcrest.Matcher<T> |
IsEqualTo.equalTo(T exepcted) |
protected Throwable |
ThrowsException.executeExecutionAndReturnException(ThrowsException.Execution execution) |
protected String |
StringBasedMatcher.expected() |
protected Iterable<? extends V> |
IterableBasedMatcher.expected() |
protected Collection<T> |
IsOneOf.expected() |
protected T |
CompareTo.expected() |
protected Optional<Pattern> |
ThrowsException.expectedExceptionMessagePattern() |
protected Class<? extends Throwable> |
ThrowsException.expectedExceptionType() |
protected Class<T> |
IsInstanceOf.expectedType() |
static <T extends Comparable<T>> |
CompareTo.greaterThan(T expected) |
protected static <T extends Comparable<T>> |
CompareTo.greaterThanComparator() |
static <T extends Comparable<T>> |
CompareTo.greaterThanOrEqualTo(T expected) |
protected static <T extends Comparable<T>> |
CompareTo.greaterThanOrEqualToComparator() |
static <T> org.hamcrest.Matcher<T> |
HasItems.hasElements() |
static <T> org.hamcrest.Matcher<T> |
HasItems.hasItems() |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasLength(long size) |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasLengthOf(long size) |
static <T> org.hamcrest.Matcher<T> |
IsEmpty.hasNoItems() |
static <T> org.hamcrest.Matcher<T> |
HasSameSizeAs.hasSameLengthAs(T compareTo) |
static <T> org.hamcrest.Matcher<T> |
HasSameSizeAs.hasSameSizeAs(T compareTo) |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasSize(long size) |
static <T> org.hamcrest.Matcher<T> |
HasSize.hasSizeOf(long size) |
static <T> org.hamcrest.Matcher<T> |
IsInstanceOf.instanceOf(Class<?> expectedType) |
static <T> org.hamcrest.Matcher<T> |
IsEqualTo.is(T expected) |
static <T> org.hamcrest.Matcher<Optional<T>> |
OptionalMatchers.isAbsent() |
protected static <T> OptionalBasedMatcher.BaseChecker<T> |
OptionalBasedMatcher.isAbsentBaseChecker() |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isAnyOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isAnyOf(T... expected) |
static <T> org.hamcrest.Matcher<T> |
IsEmpty.isEmpty() |
static <T extends CharSequence> |
StringMatchers.isEqualIgnoreCase(CharSequence what) |
static <T> org.hamcrest.Matcher<T> |
IsEqualTo.isEqualTo(T expected) |
static <T extends CharSequence> |
StringMatchers.isEqualToIgnoreCase(CharSequence what) |
static org.hamcrest.Matcher<Boolean> |
IsEqualTo.isFalse() |
static <T extends Comparable<T>> |
CompareTo.isGreaterThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.isGreaterThanOrEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsInstanceOf.isInstanceOf(Class<?> expectedType) |
static <T extends Comparable<T>> |
CompareTo.isLessThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.isLessThanOrEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsNot.isNot(org.hamcrest.Matcher<T> enclosed) |
static <T> org.hamcrest.Matcher<T> |
IsNot.isNot(T expected) |
static <T> org.hamcrest.Matcher<T> |
HasItems.isNotEmpty() |
static <T> org.hamcrest.Matcher<T> |
IsNot.isNotEqualTo(T expected) |
static org.hamcrest.Matcher<Object> |
IsNull.isNotNull() |
static org.hamcrest.Matcher<Object> |
IsNull.isNotNullValue() |
static org.hamcrest.Matcher<Object> |
IsNull.isNull() |
static org.hamcrest.Matcher<Object> |
IsNull.isNullValue() |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isOneOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isOneOf(T... expected) |
static <T> org.hamcrest.Matcher<Optional<T>> |
OptionalMatchers.isPresent() |
protected static <T> OptionalBasedMatcher.BaseChecker<T> |
OptionalBasedMatcher.isPresentBaseChecker() |
static <T> org.hamcrest.Matcher<T> |
IsSameAs.isSame(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsSameAs.isSameAs(T exepcted) |
static <T> org.hamcrest.Matcher<T> |
IsSameAs.isSameInstance(T expected) |
static org.hamcrest.Matcher<Boolean> |
IsEqualTo.isTrue() |
static <T extends Comparable<T>> |
CompareTo.lessThan(T expected) |
protected static <T extends Comparable<T>> |
CompareTo.lessThanComparator() |
static <T extends Comparable<T>> |
CompareTo.lessThanOrEqualTo(T expected) |
protected static <T extends Comparable<T>> |
CompareTo.lessThanOrEqualToComparator() |
protected Function<T,ST> |
WhereValueOf.mapper() |
protected Function<V,Stream<T>> |
CombinedMappingMatcher.mapper() |
protected Iterable<? extends org.hamcrest.Matcher<T>> |
CombinedMappingMatcher.matchers() |
static <T extends CharSequence> |
StringMatchers.matches(CharSequence regex) |
protected static StringBasedMatcher.Comparator |
StringBasedMatcher.matchesComparator() |
static <T> org.hamcrest.Matcher<T> |
IsNot.not(org.hamcrest.Matcher<T> enclosed) |
static <T> org.hamcrest.Matcher<T> |
IsNot.not(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsNot.notEqualTo(T expected) |
static org.hamcrest.Matcher<Object> |
IsNull.notNullValue() |
static org.hamcrest.Matcher<Object> |
IsNull.nullValue() |
protected Predicate<T> |
AppliesTo.predicate() |
static <T> org.hamcrest.Matcher<T> |
IsSameAs.sameInstance(T expected) |
static <T extends CharSequence> |
StringMatchers.startsWith(CharSequence prefix) |
static <V,T extends Iterable<V>> |
IterableMatchers.startsWith(Iterable<? extends V> prefix) |
static <V,T extends Iterable<V>> |
IterableMatchers.startsWith(V... prefix) |
protected static StringBasedMatcher.Comparator |
StringBasedMatcher.startsWithComparator() |
protected static <V> IterableBasedMatcher.Comparator<V> |
IterableBasedMatcher.startsWithComparator() |
protected CombinedMappingMatcher.StreamMatcher<T> |
CombinedMappingMatcher.streamMatcher() |
protected static <T> CombinedMappingMatcher.StreamMatcher<T> |
ContainsOnlyElementsThat.streamMatcherInstance() |
protected static <T> CombinedMappingMatcher.StreamMatcher<T> |
ContainsAtLeastOneElementThat.streamMatcherInstance() |
protected org.hamcrest.Matcher<ST> |
WhereValueOf.subMatcher() |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsException(Class<? extends Throwable> type) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsException(Class<? extends Throwable> type,
Pattern messagePattern) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsException(Class<? extends Throwable> type,
String messagePattern) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsExceptionWithMessage(Class<? extends Throwable> type,
Pattern messagePattern) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsExceptionWithMessage(Class<? extends Throwable> type,
String messagePattern) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.valueOfMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T> org.hamcrest.Matcher<Optional<T>> |
OptionalMatchers.whereContentMatches(org.hamcrest.Matcher<T> contentMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.whereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<T> |
IsInstanceOf.any(Class<T> expectedType) |
static <T> org.hamcrest.Matcher<T> |
AppliesTo.appliesTo(Predicate<T> predicate) |
static <T> org.hamcrest.Matcher<T> |
AppliesTo.apply(Predicate<T> predicate) |
boolean |
IterableBasedMatcher.Comparator.check(Iterable<V> actual,
Iterable<V> expected) |
boolean |
IterableBasedMatcher.Comparator.check(Iterable<V> actual,
Iterable<V> expected) |
boolean |
OptionalBasedMatcher.BaseChecker.check(Optional<T> actual) |
boolean |
StringBasedMatcher.Comparator.check(String actual,
String expected) |
boolean |
StringBasedMatcher.Comparator.check(String actual,
String expected) |
boolean |
CompareTo.Comparator.check(T actual,
T expected) |
boolean |
CompareTo.Comparator.check(T actual,
T expected) |
static <T> Iterable<org.hamcrest.Matcher<T>> |
CombinedMappingMatcher.collectMatchers(org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T extends CharSequence> |
StringMatchers.contains(CharSequence what) |
static <V,T extends Iterable<V>> |
IterableMatchers.contains(Iterable<? extends V> what) |
protected static boolean |
IterableBasedMatcher.contains(Iterable<Object> actual,
Iterable<Object> expected) |
protected static boolean |
IterableBasedMatcher.contains(Iterable<Object> actual,
Iterable<Object> expected) |
static <V,T extends Iterable<V>> |
IterableMatchers.contains(V... what) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElement(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElement(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElementThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElements(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElements(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElementsThat(Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
StreamMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
SpliteratorMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
IteratorMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
IterableMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ArrayMatchers.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
protected static boolean |
IterableBasedMatcher.continueMatchesOn(Iterator<Object> ai,
Iterator<Object> ei) |
protected static boolean |
IterableBasedMatcher.continueMatchesOn(Iterator<Object> ai,
Iterator<Object> ei) |
void |
WhereValueOf.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
IsEmpty.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
HasSize.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
HasSameSizeAs.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
HasItems.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
CombinedMappingMatcher.describeMismatch(Object item,
org.hamcrest.Description description) |
protected void |
CombinedMappingMatcher.describeMismatch(Stream<T> items,
org.hamcrest.Description description) |
protected void |
CombinedMappingMatcher.describeMismatch(Stream<T> items,
org.hamcrest.Description description) |
protected void |
ThrowsException.describeMismatchSafely(T item,
org.hamcrest.Description mismatchDescription) |
protected void |
ThrowsException.describeMismatchSafely(T item,
org.hamcrest.Description mismatchDescription) |
void |
WhereValueOf.describeTo(org.hamcrest.Description description) |
void |
ThrowsException.describeTo(org.hamcrest.Description description) |
void |
StringBasedMatcher.describeTo(org.hamcrest.Description description) |
void |
OptionalBasedMatcher.describeTo(org.hamcrest.Description description) |
void |
IterableBasedMatcher.describeTo(org.hamcrest.Description description) |
void |
IsOneOf.describeTo(org.hamcrest.Description description) |
void |
IsEmpty.describeTo(org.hamcrest.Description description) |
void |
HasSize.describeTo(org.hamcrest.Description description) |
void |
HasSameSizeAs.describeTo(org.hamcrest.Description description) |
void |
HasItems.describeTo(org.hamcrest.Description description) |
void |
CompareTo.describeTo(org.hamcrest.Description description) |
void |
CombinedMappingMatcher.describeTo(org.hamcrest.Description description) |
void |
AppliesTo.describeTo(org.hamcrest.Description description) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.element(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.element(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.element(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.elementMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.elementMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.elementMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T extends CharSequence> |
StringMatchers.endsWith(CharSequence suffix) |
static <V,T extends Iterable<V>> |
IterableMatchers.endsWith(Iterable<? extends V> suffix) |
protected static boolean |
IterableBasedMatcher.endsWith(Iterable<Object> actual,
Iterable<Object> expected) |
protected static boolean |
IterableBasedMatcher.endsWith(Iterable<Object> actual,
Iterable<Object> expected) |
static <V,T extends Iterable<V>> |
IterableMatchers.endsWith(V... suffix) |
static <T extends CharSequence> |
StringMatchers.equalsIgnoreCase(CharSequence what) |
static <T extends CharSequence> |
StringMatchers.equalsToIgnoreCase(CharSequence what) |
protected Throwable |
ThrowsException.executeExecutionAndReturnException(ThrowsException.Execution execution) |
static <T extends Comparable<T>> |
CompareTo.greaterThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.greaterThanOrEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsInstanceOf.instanceOf(Class<?> expectedType) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isAnyOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isAnyOf(T... expected) |
static <T extends CharSequence> |
StringMatchers.isEqualIgnoreCase(CharSequence what) |
static <T extends CharSequence> |
StringMatchers.isEqualToIgnoreCase(CharSequence what) |
static <T extends Comparable<T>> |
CompareTo.isGreaterThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.isGreaterThanOrEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsInstanceOf.isInstanceOf(Class<?> expectedType) |
static <T extends Comparable<T>> |
CompareTo.isLessThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.isLessThanOrEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsNot.isNot(org.hamcrest.Matcher<T> enclosed) |
static <T> org.hamcrest.Matcher<T> |
IsNot.isNot(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsNot.isNotEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isOneOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isOneOf(T... expected) |
static <T extends Comparable<T>> |
CompareTo.lessThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.lessThanOrEqualTo(T expected) |
static <T extends CharSequence> |
StringMatchers.matches(CharSequence regex) |
boolean |
CombinedMappingMatcher.StreamMatcher.matches(Iterable<? extends org.hamcrest.Matcher<T>> matchers,
Stream<T> input) |
boolean |
CombinedMappingMatcher.StreamMatcher.matches(Iterable<? extends org.hamcrest.Matcher<T>> matchers,
Stream<T> input) |
protected static <T> boolean |
ContainsOnlyElementsThat.matches(Iterable<? extends org.hamcrest.Matcher<T>> matchers,
Stream<T> items) |
protected static <T> boolean |
ContainsOnlyElementsThat.matches(Iterable<? extends org.hamcrest.Matcher<T>> matchers,
Stream<T> items) |
protected static <T> boolean |
ContainsAtLeastOneElementThat.matches(Iterable<? extends org.hamcrest.Matcher<T>> matchers,
Stream<T> items) |
protected static <T> boolean |
ContainsAtLeastOneElementThat.matches(Iterable<? extends org.hamcrest.Matcher<T>> matchers,
Stream<T> items) |
protected boolean |
ThrowsException.matchesSafely(T item) |
static <T> org.hamcrest.Matcher<T> |
IsNot.not(org.hamcrest.Matcher<T> enclosed) |
static <T> org.hamcrest.Matcher<T> |
IsNot.not(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsNot.notEqualTo(T expected) |
protected static void |
IterableBasedMatcher.skipOne(Iterator<?> iterator) |
static <T extends CharSequence> |
StringMatchers.startsWith(CharSequence prefix) |
static <V,T extends Iterable<V>> |
IterableMatchers.startsWith(Iterable<? extends V> prefix) |
protected static boolean |
IterableBasedMatcher.startsWith(Iterable<Object> actual,
Iterable<Object> expected) |
protected static boolean |
IterableBasedMatcher.startsWith(Iterable<Object> actual,
Iterable<Object> expected) |
static <V,T extends Iterable<V>> |
IterableMatchers.startsWith(V... prefix) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsException(Class<? extends Throwable> type) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsException(Class<? extends Throwable> type,
Pattern messagePattern) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsException(Class<? extends Throwable> type,
String messagePattern) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsExceptionWithMessage(Class<? extends Throwable> type,
Pattern messagePattern) |
static <T extends ThrowsException.Execution> |
ThrowsException.throwsExceptionWithMessage(Class<? extends Throwable> type,
String messagePattern) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.valueOfMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.valueOfMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.valueOfMatches(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T> org.hamcrest.Matcher<Optional<T>> |
OptionalMatchers.whereContentMatches(org.hamcrest.Matcher<T> contentMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.whereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.whereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
static <T,ST> org.hamcrest.Matcher<T> |
WhereValueOf.whereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
| Constructor and Description |
|---|
AppliesTo(Predicate<T> predicate) |
CombinedMappingMatcher(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers,
CombinedMappingMatcher.StreamMatcher<T> streamMatcher,
String description) |
CombinedMappingMatcher(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers,
CombinedMappingMatcher.StreamMatcher<T> streamMatcher,
String description) |
CombinedMappingMatcher(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers,
CombinedMappingMatcher.StreamMatcher<T> streamMatcher,
String description) |
CombinedMappingMatcher(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers,
CombinedMappingMatcher.StreamMatcher<T> streamMatcher,
String description) |
CompareTo(T expected,
String comparatorDescription,
CompareTo.Comparator<T> comparator) |
CompareTo(T expected,
String comparatorDescription,
CompareTo.Comparator<T> comparator) |
CompareTo(T expected,
String comparatorDescription,
CompareTo.Comparator<T> comparator) |
ContainsAtLeastOneElementThat(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
ContainsAtLeastOneElementThat(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
Iterable<? extends org.hamcrest.Matcher<T>> matchers) |
IsInstanceOf(Class<T> expectedType) |
IsNot(org.hamcrest.Matcher<T> matcher) |
IsOneOf(Collection<T> expected) |
IterableBasedMatcher(String comparatorDescription,
IterableBasedMatcher.Comparator<V> comparator,
Iterable<? extends V> expected) |
IterableBasedMatcher(String comparatorDescription,
IterableBasedMatcher.Comparator<V> comparator,
Iterable<? extends V> expected) |
IterableBasedMatcher(String comparatorDescription,
IterableBasedMatcher.Comparator<V> comparator,
Iterable<? extends V> expected) |
OptionalBasedMatcher(String baseDescription,
OptionalBasedMatcher.BaseChecker<T> baseChecker,
org.hamcrest.Matcher<T> contentMatcher) |
OptionalBasedMatcher(String baseDescription,
OptionalBasedMatcher.BaseChecker<T> baseChecker,
org.hamcrest.Matcher<T> contentMatcher) |
StringBasedMatcher(String comparatorDescription,
StringBasedMatcher.Comparator comparator,
String expected) |
StringBasedMatcher(String comparatorDescription,
StringBasedMatcher.Comparator comparator,
String expected) |
StringBasedMatcher(String comparatorDescription,
StringBasedMatcher.Comparator comparator,
String expected) |
ThrowsException(Class<? extends Throwable> expectedExceptionType,
Pattern expectedExceptionMessagePattern) |
WhereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
WhereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
| Modifier and Type | Method and Description |
|---|---|
default Iterator<Path> |
WrappedPath.iterator() |
protected Path |
WrappedFileSystemProvider.unwrap(Path plain) |
Path |
WrappedPath.wrapped() |
FileSystemProvider |
WrappedFileSystemProvider.wrapped() |
FileSystem |
WrappedFileSystem.wrapped() |
protected Class<T> |
WrappedFileSystemProvider.wrappedPathType() |
| Constructor and Description |
|---|
WrappedFileSystem(Class<T> wrappedPathType,
FileSystem wrapped) |
WrappedFileSystem(Class<T> wrappedPathType,
FileSystem wrapped) |
WrappedFileSystemProvider(Class<T> wrappedPathType,
FileSystemProvider wrapped) |
WrappedFileSystemProvider(Class<T> wrappedPathType,
FileSystemProvider wrapped) |
| Modifier and Type | Method and Description |
|---|---|
protected Path |
TemporaryDirectoryBasedRuleSupport.baseDirectory() |
protected String |
TemporaryDirectoryBasedRuleSupport.folderNameFor(org.junit.runner.Description description) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String path) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String name,
Class<?> ofClass) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String path,
ClassLoader ofClassLoader) |
protected Path |
TestFile.generateFileFor(Path baseDirectory) |
protected Path |
TemporaryDirectoryBasedRuleSupport.generateTemporaryFolderFor(org.junit.runner.Description description) |
protected String |
TemporaryDirectoryBasedRuleSupport.normalizeFolderName(String input) |
T |
TemporaryDirectoryBasedRuleSupport.setFailOnProblemsWhileCleanup(boolean failOnProblemsWhileCleanup) |
static TestFile.ContentProducer |
TestFile.withGeneratedContent(long numberOfBytes) |
Path |
TestFile.wrapped() |
Path |
TestDirectory.wrapped() |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
TemporaryDirectoryBasedRuleSupport.apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
org.junit.runners.model.Statement |
TemporaryDirectoryBasedRuleSupport.apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
TemporaryDirectoryBasedRuleSupport.deleteDirectory(Path what) |
protected void |
TemporaryDirectoryBasedRuleSupport.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
TemporaryDirectoryBasedRuleSupport.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
protected void |
TestFile.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected void |
TestFile.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected void |
TestFile.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected void |
TestDirectory.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected void |
TestDirectory.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected void |
TestDirectory.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected abstract void |
TemporaryDirectoryBasedRuleSupport.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected abstract void |
TemporaryDirectoryBasedRuleSupport.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected abstract void |
TemporaryDirectoryBasedRuleSupport.evaluate(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
Path baseDirectory) |
protected String |
TemporaryDirectoryBasedRuleSupport.folderNameFor(org.junit.runner.Description description) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String path) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String name,
Class<?> ofClass) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String name,
Class<?> ofClass) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String path,
ClassLoader ofClassLoader) |
static TestFile.ContentProducer |
TestFile.fromClasspath(String path,
ClassLoader ofClassLoader) |
protected Path |
TestFile.generateFileFor(Path baseDirectory) |
protected Path |
TemporaryDirectoryBasedRuleSupport.generateTemporaryFolderFor(org.junit.runner.Description description) |
protected void |
TemporaryDirectoryBasedRuleSupport.handleExceptionIfRequired(IOException e) |
protected String |
TemporaryDirectoryBasedRuleSupport.normalizeFolderName(String input) |
void |
TestFile.ContentProducer.produce(OutputStream os) |
void |
TestDirectory.ContentProducer.produce(Path path) |
| Constructor and Description |
|---|
TestFile(String name) |
TestFile(String name,
byte[] content) |
TestFile(String name,
String content) |
TestFile(String name,
TestFile.ContentProducer contentProducer) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Stream<T> |
StreamUtils.toStream(Iterable<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Iterator<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Spliterator<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Stream<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(T... input) |
static <T> Class<? extends T> |
ClassUtils.typeOf(Class<T> requiredType,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
static long |
IOUtils.copy(InputStream is,
OutputStream os) |
static long |
IOUtils.copy(InputStream is,
OutputStream os) |
static <T> Stream<T> |
StreamUtils.toStream(Iterable<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Iterator<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Spliterator<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Stream<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(T... input) |
static <T> Class<? extends T> |
ClassUtils.typeOf(Class<T> requiredType,
Object object) |
static <T> Class<? extends T> |
ClassUtils.typeOf(Class<T> requiredType,
Object object) |
Copyright © 2017 echocat. All rights reserved.