public class SetMultimapWithProtoValuesSubject<S extends SetMultimapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends SetMultimap<K,M>> extends MultimapWithProtoValuesSubject<S,K,M,C>
MultimapWithProtoValuesSubject
, used to detect bad usages of
isEqualTo(com.google.common.collect.ListMultimap<?, ?>)
.Modifier and Type | Class and Description |
---|---|
static class |
SetMultimapWithProtoValuesSubject.SetMultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message>
Default implementation of
SetMultimapWithProtoValuesSubject . |
MultimapWithProtoValuesSubject.MultimapWithMessageValuesSubject<K,M extends com.google.protobuf.Message>
Modifier | Constructor and Description |
---|---|
protected |
SetMultimapWithProtoValuesSubject(FailureMetadata failureMetadata,
C multimap) |
Modifier and Type | Method and Description |
---|---|
void |
isEqualTo(ListMultimap<?,?> other)
Deprecated.
#isEqualTo A ListMultimap can never compare equal with a SetMultimap if
either Multimap is non-empty, because List and Set can
never compare equal. Prefer MultimapSubject.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 SetMultimapWithProtoValuesSubject(FailureMetadata failureMetadata, C multimap)
@Deprecated public void isEqualTo(@NullableDecl ListMultimap<?,?> other)
#isEqualTo
A ListMultimap can never compare equal with a SetMultimap if
either Multimap is non-empty, because List
and Set
can
never compare equal. Prefer MultimapSubject.containsExactlyEntriesIn(com.google.common.collect.Multimap)
instead.
Consult Multimap.equals(java.lang.Object)
for more information.Copyright © 2018. All rights reserved.