Class TableSubject
java.lang.Object
com.google.common.truth.Subject
com.google.common.truth.TableSubject
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.Factory<SubjectT extends Subject, ActualT> -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks that the actual table contains a mapping for the given row key and column key.voidcontainsCell(@Nullable Table.Cell<?, ?, ?> cell) Checks that the actual table contains the given cell.voidChecks that the actual table contains the given cell.voidcontainsColumn(@Nullable Object columnKey) Checks that the actual table contains the given column key.voidcontainsRow(@Nullable Object rowKey) Checks that the actual table contains the given row key.voidcontainsValue(@Nullable Object value) Checks that the actual table contains the given value.voiddoesNotContain(@Nullable Object rowKey, @Nullable Object columnKey) Checks that the actual table does not contain a mapping for the given row key and column key.voiddoesNotContainCell(@Nullable Table.Cell<?, ?, ?> cell) Checks that the actual table does not contain the given cell.voidChecks that the actual table does not contain the given cell.voidhasSize(int size) Checks that the actual table has the given size.voidisEmpty()Checks that the actual table is empty.voidChecks that the actual table is not empty.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 Details
-
isEmpty
public void isEmpty()Checks that the actual table is empty. -
isNotEmpty
public void isNotEmpty()Checks that the actual table is not empty. -
hasSize
public void hasSize(int size) Checks that the actual table has the given size. -
contains
-
doesNotContain
-
containsCell
-
containsCell
Checks that the actual table contains the given cell. -
doesNotContainCell
-
doesNotContainCell
Checks that the actual table does not contain the given cell. -
containsRow
-
containsColumn
-
containsValue
-