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.SubjectSubject.Factory<SubjectT extends Subject,ActualT>
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IterableSubjectasList()voidhasLength(int length)Checks that the actual array has the given length.voidisEmpty()Checks that the actual array is empty (i.e., thatarray.length == 0).voidisNotEmpty()Checks that the actual array is not empty (i.e., thatarray.length > 0).- 
Methods inherited from class com.google.common.truth.SubjectactualCustomStringRepresentation, check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString
 
- 
 
- 
- 
- 
Method Detail- 
asListpublic IterableSubject asList() 
 - 
isEmptypublic void isEmpty() Checks that the actual array is empty (i.e., thatarray.length == 0).
 - 
isNotEmptypublic void isNotEmpty() Checks that the actual array is not empty (i.e., thatarray.length > 0).
 - 
hasLengthpublic void hasLength(int length) Checks that the actual array has the given length.
 
- 
 
-