Package | Description |
---|---|
com.google.common.truth |
Truth is a library for performing assertions in tests:
|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Method and Description |
---|---|
static IntegerSubject |
Truth.assertThat(Integer actual) |
IntegerSubject |
OptionalIntSubject.hasValueThat()
Deprecated.
Instead of
assertThat(optional).hasValueThat().... , use assertThat(optional.getAsInt()).... . |
IntegerSubject |
StandardSubjectBuilder.that(Integer actual) |
Modifier and Type | Method and Description |
---|---|
IntegerSubject |
LiteProtoSubject.serializedSize()
Returns an
IntegerSubject on the serialized size of the MessageLite. |
Copyright © 2019. All rights reserved.