Class Truth8
java.lang.Object
com.google.common.truth.Truth8
Deprecated.
The obsolete entry point for assertions about Java 8 types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathSubject
assertThat
(@Nullable Path actual) Deprecated.static OptionalSubject
assertThat
(@Nullable Optional<?> actual) Deprecated.static OptionalDoubleSubject
assertThat
(@Nullable OptionalDouble actual) Deprecated.static OptionalIntSubject
assertThat
(@Nullable OptionalInt actual) Deprecated.static OptionalLongSubject
assertThat
(@Nullable OptionalLong actual) Deprecated.static IntStreamSubject
assertThat
(@Nullable IntStream actual) Deprecated.static LongStreamSubject
assertThat
(@Nullable LongStream actual) Deprecated.static StreamSubject
assertThat
(@Nullable Stream<?> actual) Deprecated.
-
Method Details
-
assertThat
Deprecated. -
assertThat
Deprecated. -
assertThat
Deprecated. -
assertThat
Deprecated. -
assertThat
Deprecated. -
assertThat
Deprecated. -
assertThat
Deprecated. -
assertThat
Deprecated.
-
Truth
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.