Package com.google.common.truth
Class Truth8
- java.lang.Object
-
- com.google.common.truth.Truth8
-
@Deprecated public final class Truth8 extends Object
Deprecated.Instead of this class's methods, use the identical methods declared in the mainTruth
class. In most cases, you can migrate your whole project mechanically:git grep -l Truth8 | xargs perl -pi -e 's/\bTruth8\b/Truth/g;'
Migration is important if you static importassertThat
: If you do not migrate, such static imports will become ambiguous in Truth 1.4.2, breaking your build.The obsolete entry point for assertions about Java 8 types.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PathSubject
assertThat(@Nullable Path target)
Deprecated.static OptionalSubject
assertThat(@Nullable Optional<?> target)
Deprecated.static OptionalDoubleSubject
assertThat(@Nullable OptionalDouble target)
Deprecated.static OptionalIntSubject
assertThat(@Nullable OptionalInt target)
Deprecated.static OptionalLongSubject
assertThat(@Nullable OptionalLong target)
Deprecated.static IntStreamSubject
assertThat(@Nullable IntStream target)
Deprecated.static LongStreamSubject
assertThat(@Nullable LongStream target)
Deprecated.static StreamSubject
assertThat(@Nullable Stream<?> target)
Deprecated.
-
-
-
Method Detail
-
assertThat
public static OptionalSubject assertThat(@Nullable Optional<?> target)
Deprecated.
-
assertThat
public static OptionalIntSubject assertThat(@Nullable OptionalInt target)
Deprecated.
-
assertThat
public static OptionalLongSubject assertThat(@Nullable OptionalLong target)
Deprecated.
-
assertThat
public static OptionalDoubleSubject assertThat(@Nullable OptionalDouble target)
Deprecated.
-
assertThat
public static StreamSubject assertThat(@Nullable Stream<?> target)
Deprecated.
-
assertThat
public static IntStreamSubject assertThat(@Nullable IntStream target)
Deprecated.
-
assertThat
public static LongStreamSubject assertThat(@Nullable LongStream target)
Deprecated.
-
assertThat
@GwtIncompatible @J2ObjCIncompatible public static PathSubject assertThat(@Nullable Path target)
Deprecated.
-
-