Package com.google.common.truth
Class PrimitiveLongArraySubject
- java.lang.Object
-
- com.google.common.truth.Subject
-
- com.google.common.truth.PrimitiveLongArraySubject
-
public final class PrimitiveLongArraySubject extends Subject
A subject forlong[]
values.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.Factory<SubjectT extends Subject,ActualT>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IterableSubject
asList()
void
hasLength(int length)
Checks that the actual array has the given length.void
isEmpty()
Checks that the actual array is empty (i.e., thatarray.length == 0
).void
isNotEmpty()
Checks that the actual array is not empty (i.e., thatarray.length > 0
).-
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
-
asList
public IterableSubject asList()
-
isEmpty
public void isEmpty()
Checks that the actual array is empty (i.e., thatarray.length == 0
).
-
isNotEmpty
public void isNotEmpty()
Checks that the actual array is not empty (i.e., thatarray.length > 0
).
-
hasLength
public void hasLength(int length)
Checks that the actual array has the given length.
-
-