| java.lang.Object | ||
| ↳ | com.google.common.truth.Subject | |
| ↳ | androidx.test.ext.truth.util.SparseBooleanArraySubject | |
Subject for making assertions about SparseBooleanArrays.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Begins an assertion on a
SparseBooleanArray | |||||||||||
Assert that a
SparseBooleanArray contains the given key | |||||||||||
Assert that a
SparseBooleanArray doesn't contain the given key | |||||||||||
Begins an assertion on a
SparseBooleanArray where a predicate is expected to fail | |||||||||||
Assert that a
SparseBooleanArray for the given key returns the value false | |||||||||||
Assert that a
SparseBooleanArray has size | |||||||||||
Assert that a
SparseBooleanArray for the given key returns the value true | |||||||||||
Assert that a
SparseBooleanArray is empty | |||||||||||
Assert that a
SparseBooleanArray is not empty | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||
|
| |||||||||||
Begins an assertion on a SparseBooleanArray
| Parameters | |
|---|---|
actual |
SparseBooleanArray |
| Returns | |
|---|---|
SparseBooleanArraySubject |
|
Assert that a SparseBooleanArray contains the given key
| Parameters | |
|---|---|
key |
int |
Assert that a SparseBooleanArray doesn't contain the given key
| Parameters | |
|---|---|
key |
int |
Begins an assertion on a SparseBooleanArray where a predicate is expected to fail
| Parameters | |
|---|---|
callback |
SimpleSubjectBuilderCallback |
| Returns | |
|---|---|
AssertionError |
|
Assert that a SparseBooleanArray for the given key returns the value false
| Parameters | |
|---|---|
key |
int |
Assert that a SparseBooleanArray for the given key returns the value true
| Parameters | |
|---|---|
key |
int |