Package | Description |
---|---|
com.google.common.truth |
Truth is an open source, fluent testing framework for Java that is designed to make your test
assertions and failure messages more readable.
|
com.google.common.truth.extensions.proto |
Custom subjects for testing Protocol
Buffer instances.
|
Modifier and Type | Class and Description |
---|---|
class |
SortedMapSubject
Deprecated.
Perform assertions directly on the result of methods like
firstKey . We
haven't found sufficient demand for this class to keep it. |
Modifier and Type | Method and Description |
---|---|
static MapSubject |
Truth.assertThat(Map<?,?> actual) |
MapSubject |
StandardSubjectBuilder.that(Map<?,?> actual) |
Modifier and Type | Class and Description |
---|---|
class |
MapWithProtoValuesSubject<S extends MapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends Map<K,M>>
Truth subject for maps with protocol buffers for values.
|
static class |
MapWithProtoValuesSubject.MapWithMessageValuesSubject<K,M extends com.google.protobuf.Message>
Default implementation of
MapWithProtoValuesSubject . |
Copyright © 2019. All rights reserved.