public class ListMultimapWithProtoValuesSubject<S extends ListMultimapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends ListMultimap<K,M>> extends MultimapWithProtoValuesSubject<S,K,M,C>
MultimapWithProtoValuesSubject
, used to detect bad usages of
isEqualTo(com.google.common.collect.SetMultimap<?, ?>)
.Modifier and Type | Class and Description |
---|---|
static class |
ListMultimapWithProtoValuesSubject.ListMultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message>
Default implementation of
ListMultimapWithProtoValuesSubject . |
MultimapWithProtoValuesSubject.MultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message>
Modifier | Constructor and Description |
---|---|
protected |
ListMultimapWithProtoValuesSubject(FailureMetadata failureMetadata,
C multimap) |
Modifier and Type | Method and Description |
---|---|
void |
isEqualTo(SetMultimap<?,?> other)
Deprecated.
#isEqualTo A SetMultimap can never compare equal with a ListMultimap if
either Multimap is non-empty, because Set and List can never compare equal.
Prefer MultimapWithProtoValuesSubject.containsExactlyEntriesIn(
com.google.common.collect.Multimap) instead. Consult Multimap.equals(java.lang.Object) for more information. |
comparingExpectedFieldsOnlyForValues, comparingValuesUsing, containsEntry, containsExactly, containsExactly, containsExactlyEntriesIn, containsKey, doesNotContainEntry, doesNotContainKey, hasSize, ignoringExtraRepeatedFieldElementsForValues, ignoringFieldAbsenceForValues, ignoringFieldDescriptorsForValues, ignoringFieldDescriptorsForValues, ignoringFieldScopeForValues, ignoringFieldsForValues, ignoringFieldsForValues, ignoringRepeatedFieldOrderForValues, isEmpty, isNotEmpty, reportingMismatchesOnlyForValues, usingDoubleToleranceForValues, usingFloatToleranceForValues, valuesForKey, withPartialScopeForValues
actual, actualAsString, actualCustomStringRepresentation, check, check, equals, fail, fail, fail, failComparing, failComparing, failWithActual, failWithActual, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutActual, failWithoutSubject, failWithRawMessage, failWithRawMessageAndCause, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, named, toString
protected ListMultimapWithProtoValuesSubject(FailureMetadata failureMetadata, C multimap)
@Deprecated public void isEqualTo(@NullableDecl SetMultimap<?,?> other)
#isEqualTo
A SetMultimap can never compare equal with a ListMultimap if
either Multimap is non-empty, because Set
and List
can never compare equal.
Prefer MultimapWithProtoValuesSubject.containsExactlyEntriesIn(
com.google.common.collect.Multimap)
instead. Consult Multimap.equals(java.lang.Object)
for more information.Copyright © 2018. All rights reserved.