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 |
MultisetSubject
Propositions for
Multiset subjects. |
class |
SortedSetSubject
Deprecated.
Perform assertions directly on the result of methods like
first . We haven't
found sufficient demand for this class to keep it. |
Modifier and Type | Method and Description |
---|---|
IterableSubject |
ObjectArraySubject.asList() |
IterableSubject |
PrimitiveIntArraySubject.asList() |
IterableSubject |
PrimitiveCharArraySubject.asList() |
IterableSubject |
PrimitiveLongArraySubject.asList() |
IterableSubject |
PrimitiveBooleanArraySubject.asList() |
IterableSubject |
PrimitiveShortArraySubject.asList() |
IterableSubject |
PrimitiveByteArraySubject.asList() |
static IterableSubject |
Truth.assertThat(Iterable<?> actual) |
IterableSubject |
TruthFailureSubject.factKeys()
Returns a subject for the list of fact keys.
|
IterableSubject |
StandardSubjectBuilder.that(Iterable<?> actual) |
IterableSubject |
MultimapSubject.valuesForKey(Object key)
|
Modifier and Type | Class and Description |
---|---|
class |
IterableOfProtosSubject<S extends IterableOfProtosSubject<S,M,C>,M extends com.google.protobuf.Message,C extends Iterable<M>>
Truth subject for the iterables of protocol buffers.
|
static class |
IterableOfProtosSubject.IterableOfMessagesSubject<M extends com.google.protobuf.Message>
Default implementation of
IterableOfProtosSubject . |
Copyright © 2019. All rights reserved.