| 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 static <T> Iterable<org.hamcrest.Matcher<T>> |
StreamBasedMatcherSupport.collectMatchers(org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
protected CompareTo.Comparator<T> |
CompareTo.comparator() |
protected String |
CompareTo.comparatorDescription() |
static <T> org.hamcrest.Matcher<Iterable<T>> |
ContainsAtLeastOneElementThat.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
ContainsAtLeastOneElementThat.Streams.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
ContainsAtLeastOneElementThat.Iterables.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
ContainsAtLeastOneElementThat.Iterators.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
ContainsAtLeastOneElementThat.Spliterators.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ContainsAtLeastOneElementThat.Arrays.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
ContainsOnlyElementsThat.Streams.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
ContainsOnlyElementsThat.Iterables.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
ContainsOnlyElementsThat.Iterators.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
ContainsOnlyElementsThat.Spliterators.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ContainsOnlyElementsThat.Arrays.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
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() |
static <T> org.hamcrest.Matcher<T> |
IsEqualTo.equalTo(T exepcted) |
protected Throwable |
ThrowsException.executeExecutionAndReturnException(ThrowsException.Execution execution) |
protected T |
CompareTo.expected() |
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<T> |
IsEmpty.isEmpty() |
static <T> org.hamcrest.Matcher<T> |
IsEqualTo.isEqualTo(T expected) |
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> |
IsNotEqualTo.isNot(T expected) |
static <T> org.hamcrest.Matcher<T> |
HasItems.isNotEmpty() |
static <T> org.hamcrest.Matcher<T> |
IsNotEqualTo.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 firstExpected,
T... others) |
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<V,Stream<T>> |
StreamBasedMatcherSupport.mapper() |
protected Iterable<org.hamcrest.Matcher<T>> |
StreamBasedMatcherSupport.matchers() |
static <T> org.hamcrest.Matcher<T> |
IsNotEqualTo.notEqualTo(T exepcted) |
static org.hamcrest.Matcher<Object> |
IsNull.notNullValue() |
static org.hamcrest.Matcher<Object> |
IsNull.nullValue() |
protected Predicate<T> |
AppliesTo.predicate() |
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) |
protected static Class<?> |
CompareTo.typeOf(Object expected) |
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.whereValueOf(Function<T,ST> mapper,
String mapperDescription,
org.hamcrest.Matcher<ST> subMatcher) |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.hamcrest.Matcher<T> |
AppliesTo.appliesTo(Predicate<T> predicate) |
static <T> org.hamcrest.Matcher<T> |
AppliesTo.apply(Predicate<T> predicate) |
boolean |
CompareTo.Comparator.check(T actual,
T expected) |
boolean |
CompareTo.Comparator.check(T actual,
T expected) |
protected static <T> Iterable<org.hamcrest.Matcher<T>> |
StreamBasedMatcherSupport.collectMatchers(org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
ContainsAtLeastOneElementThat.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
ContainsAtLeastOneElementThat.Streams.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
ContainsAtLeastOneElementThat.Iterables.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
ContainsAtLeastOneElementThat.Iterators.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
ContainsAtLeastOneElementThat.Spliterators.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ContainsAtLeastOneElementThat.Arrays.containsAtLeastOneElementThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Stream<T>> |
ContainsOnlyElementsThat.Streams.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterable<T>> |
ContainsOnlyElementsThat.Iterables.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Iterator<T>> |
ContainsOnlyElementsThat.Iterators.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<Spliterator<T>> |
ContainsOnlyElementsThat.Spliterators.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
static <T> org.hamcrest.Matcher<T[]> |
ContainsOnlyElementsThat.Arrays.containsOnlyElementsThat(org.hamcrest.Matcher<T> matcher,
org.hamcrest.Matcher<T>... otherMatchers) |
void |
WhereValueOf.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
StreamBasedMatcherSupport.describeMismatch(Object item,
org.hamcrest.Description description) |
void |
IsOneOf.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) |
protected void |
StreamBasedMatcherSupport.describeMismatch(Stream<T> items,
org.hamcrest.Description description) |
protected void |
StreamBasedMatcherSupport.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 |
StreamBasedMatcherSupport.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 |
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) |
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 extends Comparable<T>> |
CompareTo.isGreaterThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.isGreaterThanOrEqualTo(T expected) |
static <T extends Comparable<T>> |
CompareTo.isLessThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.isLessThanOrEqualTo(T expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isOneOf(Collection<T> expected) |
static <T> org.hamcrest.Matcher<T> |
IsOneOf.isOneOf(T firstExpected,
T... others) |
static <T extends Comparable<T>> |
CompareTo.lessThan(T expected) |
static <T extends Comparable<T>> |
CompareTo.lessThanOrEqualTo(T expected) |
protected abstract boolean |
StreamBasedMatcherSupport.matches(Stream<T> items) |
protected boolean |
ContainsOnlyElementsThat.matches(Stream<T> items) |
protected boolean |
ContainsAtLeastOneElementThat.matches(Stream<T> items) |
protected boolean |
ThrowsException.matchesSafely(T item) |
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) |
protected static Class<?> |
CompareTo.typeOf(Object expected) |
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,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) |
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<org.hamcrest.Matcher<T>> matchers) |
ContainsAtLeastOneElementThat(Function<V,Stream<T>> mapper,
Iterable<org.hamcrest.Matcher<T>> matchers) |
ContainsAtLeastOneElementThat(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
ContainsAtLeastOneElementThat(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
Iterable<org.hamcrest.Matcher<T>> matchers) |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
Iterable<org.hamcrest.Matcher<T>> matchers) |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
ContainsOnlyElementsThat(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
IsOneOf(Collection<T> expected) |
StreamBasedMatcherSupport(Function<V,Stream<T>> mapper,
Iterable<org.hamcrest.Matcher<T>> matchers) |
StreamBasedMatcherSupport(Function<V,Stream<T>> mapper,
Iterable<org.hamcrest.Matcher<T>> matchers) |
StreamBasedMatcherSupport(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
StreamBasedMatcherSupport(Function<V,Stream<T>> mapper,
org.hamcrest.Matcher<T> firstMatcher,
org.hamcrest.Matcher<T>[] otherMatchers) |
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() |
| 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) |
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(Collection<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Iterable<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Iterator<T> input) |
static Stream<Object> |
StreamUtils.toStream(Object 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 String |
StringUtils.toString(byte[] what) |
static String |
StringUtils.toString(char[] what) |
static String |
StringUtils.toString(File what) |
static String |
StringUtils.toString(InputStream what) |
static String |
StringUtils.toString(Object what) |
static String |
StringUtils.toString(Path what) |
static String |
StringUtils.toString(Reader what) |
static String |
StringUtils.toString(URL what) |
| 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(Collection<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Iterable<T> input) |
static <T> Stream<T> |
StreamUtils.toStream(Iterator<T> input) |
static Stream<Object> |
StreamUtils.toStream(Object 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) |
Copyright © 2017 echocat. All rights reserved.