Package com.google.common.truth
Class PathSubject
- java.lang.Object
-
- com.google.common.truth.Subject
-
- com.google.common.truth.PathSubject
-
@GwtIncompatible @J2ObjCIncompatible public final class PathSubject extends Subject
Assertions forPath
instances.- Since:
- 1.3.0 (previously part of
truth-java8-extension
)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.Factory<SubjectT extends Subject,ActualT>
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Subject.Factory<PathSubject,Path>
paths()
Deprecated.Instead ofabout(paths()).that(...)
, use justthat(...)
.-
Methods inherited from class com.google.common.truth.Subject
actualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString
-
-
-
-
Method Detail
-
paths
@Deprecated public static Subject.Factory<PathSubject,Path> paths()
Deprecated.Instead ofabout(paths()).that(...)
, use justthat(...)
. Similarly, instead ofassertAbout(paths()).that(...)
, use justassertThat(...)
.Obsolete factory instance. This factory was previously necessary for assertions likeassertWithMessage(...).about(intStreams()).that(stream)....
. Now, you can perform assertions like that without theabout(...)
call.
-
-