public final class Truth8 extends Object
Note: Usage of different failure strategies such as assume and expect should
rely on com.google.common.truth.AbstractVerb#about(com.google.common.truth.SubjectFactory)
to begin a
chain with those alternative behaviors.
Modifier and Type | Method and Description |
---|---|
static IntStreamSubject |
assertThat(IntStream target) |
static LongStreamSubject |
assertThat(LongStream target) |
static OptionalSubject |
assertThat(Optional<?> target) |
static OptionalDoubleSubject |
assertThat(OptionalDouble target) |
static OptionalIntSubject |
assertThat(OptionalInt target) |
static OptionalLongSubject |
assertThat(OptionalLong target) |
static PathSubject |
assertThat(Path target) |
static StreamSubject |
assertThat(Stream<?> target) |
public static OptionalSubject assertThat(@Nullable Optional<?> target)
public static OptionalIntSubject assertThat(@Nullable OptionalInt target)
public static OptionalLongSubject assertThat(@Nullable OptionalLong target)
public static OptionalDoubleSubject assertThat(@Nullable OptionalDouble target)
public static StreamSubject assertThat(@Nullable Stream<?> target)
public static IntStreamSubject assertThat(@Nullable IntStream target)
public static LongStreamSubject assertThat(@Nullable LongStream target)
@GwtIncompatible public static PathSubject assertThat(@Nullable Path target)
Copyright © 2017. All rights reserved.