public class SetMultimapWithProtoValuesSubject<S extends SetMultimapWithProtoValuesSubject<S,K,M,C>,K,M extends com.google.protobuf.Message,C extends com.google.common.collect.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>
failureStrategy
Modifier | Constructor and Description |
---|---|
protected |
SetMultimapWithProtoValuesSubject(FailureStrategy failureStrategy,
C multimap) |
Modifier and Type | Method and Description |
---|---|
void |
isEqualTo(com.google.common.collect.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. |
comparingValuesUsing, containsEntry, containsExactly, containsExactly, containsExactlyEntriesIn, containsKey, doesNotContainEntry, doesNotContainKey, hasSize, ignoringFieldAbsenceForValues, ignoringFieldDescriptorsForValues, ignoringFieldDescriptorsForValues, ignoringFieldScopeForValues, ignoringFieldsForValues, ignoringFieldsForValues, ignoringRepeatedFieldOrderForValues, isEmpty, isNotEmpty, reportingMismatchesOnlyForValues, valuesForKey, withPartialScopeForValues
actual, actualAsString, actualCustomStringRepresentation, check, equals, fail, fail, fail, failComparing, failComparing, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutSubject, failWithRawMessage, failWithRawMessageAndCause, getDisplaySubject, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, named
protected SetMultimapWithProtoValuesSubject(FailureStrategy failureStrategy, C multimap)
@Deprecated public void isEqualTo(@Nullable com.google.common.collect.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 © 2017. All rights reserved.