code stringlengths 23 201k | docstring stringlengths 17 96.2k | func_name stringlengths 0 235 | language stringclasses 1
value | repo stringlengths 8 72 | path stringlengths 11 317 | url stringlengths 57 377 | license stringclasses 7
values |
|---|---|---|---|---|---|---|---|
public IterableOfProtosFluentAssertion<M> usingFloatToleranceForFieldDescriptors(
float tolerance, Iterable<FieldDescriptor> fieldDescriptors) {
return usingConfig(config.usingFloatToleranceForFieldDescriptors(tolerance, fieldDescriptors));
} | Compares float fields with these explicitly specified top-level field numbers using the
provided absolute tolerance.
@param tolerance A finite, non-negative tolerance. | usingFloatToleranceForFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> ignoringFields(int firstFieldNumber, int... rest) {
return ignoringFields(asList(firstFieldNumber, rest));
} | Excludes the top-level message fields with the given tag numbers from the comparison.
<p>This method adds on any previous {@link FieldScope} related settings, overriding previous
changes to ensure the specified fields are ignored recursively. All sub-fields of these field
numbers are ignored, and all sub-messages of t... | ignoringFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> ignoringFields(Iterable<Integer> fieldNumbers) {
return usingConfig(config.ignoringFields(fieldNumbers));
} | Excludes the top-level message fields with the given tag numbers from the comparison.
<p>This method adds on any previous {@link FieldScope} related settings, overriding previous
changes to ensure the specified fields are ignored recursively. All sub-fields of these field
numbers are ignored, and all sub-messages of t... | ignoringFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> ignoringFieldDescriptors(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return ignoringFieldDescriptors(asList(firstFieldDescriptor, rest));
} | Excludes all message fields matching the given {@link FieldDescriptor}s from the comparison.
<p>This method adds on any previous {@link FieldScope} related settings, overriding previous
changes to ensure the specified fields are ignored recursively. All sub-fields of these field
descriptors are ignored, no matter wher... | ignoringFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> ignoringFieldDescriptors(
Iterable<FieldDescriptor> fieldDescriptors) {
return usingConfig(config.ignoringFieldDescriptors(fieldDescriptors));
} | Excludes all message fields matching the given {@link FieldDescriptor}s from the comparison.
<p>This method adds on any previous {@link FieldScope} related settings, overriding previous
changes to ensure the specified fields are ignored recursively. All sub-fields of these field
descriptors are ignored, no matter wher... | ignoringFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> ignoringFieldScope(FieldScope fieldScope) {
return usingConfig(config.ignoringFieldScope(checkNotNull(fieldScope, "fieldScope")));
} | Excludes all specific field paths under the argument {@link FieldScope} from the comparison.
<p>This method is additive and has well-defined ordering semantics. If the invoking {@link
ProtoFluentAssertion} is already scoped to a {@link FieldScope} {@code X}, and this method is
invoked with {@link FieldScope} {@code Y}... | ignoringFieldScope | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> reportingMismatchesOnly() {
return usingConfig(config.reportingMismatchesOnly());
} | If set, in the event of a comparison failure, the error message printed will list only those
specific fields that did not match between the actual and expected values. Useful for very
large protocol buffers.
<p>This a purely cosmetic setting, and it has no effect on the behavior of the test. | reportingMismatchesOnly | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
public IterableOfProtosFluentAssertion<M> unpackingAnyUsing(
TypeRegistry typeRegistry, ExtensionRegistry extensionRegistry) {
return usingConfig(config.unpackingAnyUsing(typeRegistry, extensionRegistry));
} | Specifies the {@link TypeRegistry} and {@link ExtensionRegistry} to use for {@link
com.google.protobuf.Any Any} messages.
<p>To compare the value of an {@code Any} message, ProtoTruth looks in the given type registry
for a descriptor for the message's type URL:
<ul>
<li>If ProtoTruth finds a descriptor, it unpacks ... | unpackingAnyUsing | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@Deprecated
public final void isInStrictOrder() {
throw new ClassCastException(
"Protos do not implement Comparable, so you must supply a Comparator.");
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInStrictOrder(Comparator) supply a comparator}.
@throws ClassCastException always | isInStrictOrder | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@Deprecated
public final void isInOrder() {
throw new ClassCastException(
"Protos do not implement Comparable, so you must supply a Comparator.");
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | isInOrder | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
private IterableSubject.UsingCorrespondence<M, M> delegate(Iterable<? extends M> messages) {
IterableSubject.UsingCorrespondence<M, M> usingCorrespondence =
subject.comparingElementsUsing(
subject
.config
.withExpectedMessages(messages)
... | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | delegate | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosUsingCorrespondence<M> displayingDiffsPairedBy(
Function<? super M, ?> keyFunction) {
return new UsingCorrespondence<M>(subject, checkNotNull(keyFunction));
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | displayingDiffsPairedBy | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void contains(@Nullable M expected) {
delegate(Arrays.asList(expected)).contains(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | contains | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void doesNotContain(@Nullable M excluded) {
delegate(Arrays.asList(excluded)).doesNotContain(excluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | doesNotContain | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@CanIgnoreReturnValue
public Ordered containsExactly(@Nullable M... expected) {
return delegate(Arrays.asList(expected)).containsExactly(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsExactly | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@CanIgnoreReturnValue
public Ordered containsExactlyElementsIn(Iterable<? extends M> expected) {
return delegate(expected).containsExactlyElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsExactlyElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@CanIgnoreReturnValue
public Ordered containsExactlyElementsIn(M[] expected) {
return delegate(Arrays.asList(expected)).containsExactlyElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsExactlyElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@CanIgnoreReturnValue
public Ordered containsAtLeast(@Nullable M first, @Nullable M second, @Nullable M... rest) {
return delegate(Lists.asList(first, second, rest)).containsAtLeast(first, second, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAtLeast | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@CanIgnoreReturnValue
public Ordered containsAtLeastElementsIn(Iterable<? extends M> expected) {
return delegate(expected).containsAtLeastElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAtLeastElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
@CanIgnoreReturnValue
public Ordered containsAtLeastElementsIn(M[] expected) {
return delegate(Arrays.asList(expected)).containsAtLeastElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAtLeastElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsAnyOf(@Nullable M first, @Nullable M second, @Nullable M... rest) {
delegate(Lists.asList(first, second, rest)).containsAnyOf(first, second, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAnyOf | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsAnyIn(Iterable<? extends M> expected) {
delegate(expected).containsAnyIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAnyIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsAnyIn(M[] expected) {
delegate(Arrays.asList(expected)).containsAnyIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAnyIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsNoneOf(
@Nullable M firstExcluded, @Nullable M secondExcluded, @Nullable M... restOfExcluded) {
delegate(Lists.asList(firstExcluded, secondExcluded, restOfExcluded))
.containsNoneOf(firstExcluded, secondExcluded, restOfExcluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsNoneOf | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsNoneIn(Iterable<? extends M> excluded) {
delegate(excluded).containsNoneIn(excluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsNoneIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsNoneIn(M[] excluded) {
delegate(Arrays.asList(excluded)).containsNoneIn(excluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsNoneIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
private IterableOfProtosUsingCorrespondence<M> usingCorrespondence() {
return new UsingCorrespondence<M>(this, /* keyFunction= */ null);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingCorrespondence | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldAbsence() {
return subject.ignoringFieldAbsence();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldAbsence | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldAbsenceOfFields(
int firstFieldNumber, int... rest) {
return subject.ignoringFieldAbsenceOfFields(firstFieldNumber, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldAbsenceOfFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldAbsenceOfFields(
Iterable<Integer> fieldNumbers) {
return subject.ignoringFieldAbsenceOfFields(fieldNumbers);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldAbsenceOfFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldAbsenceOfFieldDescriptors(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return subject.ignoringFieldAbsenceOfFieldDescriptors(firstFieldDescriptor, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldAbsenceOfFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldAbsenceOfFieldDescriptors(
Iterable<FieldDescriptor> fieldDescriptors) {
return subject.ignoringFieldAbsenceOfFieldDescriptors(fieldDescriptors);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldAbsenceOfFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringRepeatedFieldOrder() {
return subject.ignoringRepeatedFieldOrder();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringRepeatedFieldOrder | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringRepeatedFieldOrderOfFields(
int firstFieldNumber, int... rest) {
return subject.ignoringRepeatedFieldOrderOfFields(firstFieldNumber, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringRepeatedFieldOrderOfFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringRepeatedFieldOrderOfFields(
Iterable<Integer> fieldNumbers) {
return subject.ignoringRepeatedFieldOrderOfFields(fieldNumbers);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringRepeatedFieldOrderOfFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringRepeatedFieldOrderOfFieldDescriptors(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return subject.ignoringRepeatedFieldOrderOfFieldDescriptors(firstFieldDescriptor, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringRepeatedFieldOrderOfFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringRepeatedFieldOrderOfFieldDescriptors(
Iterable<FieldDescriptor> fieldDescriptors) {
return subject.ignoringRepeatedFieldOrderOfFieldDescriptors(fieldDescriptors);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringRepeatedFieldOrderOfFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringExtraRepeatedFieldElements() {
return subject.ignoringExtraRepeatedFieldElements();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringExtraRepeatedFieldElements | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringExtraRepeatedFieldElementsOfFields(
int firstFieldNumber, int... rest) {
return subject.ignoringExtraRepeatedFieldElementsOfFields(firstFieldNumber, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringExtraRepeatedFieldElementsOfFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringExtraRepeatedFieldElementsOfFields(
Iterable<Integer> fieldNumbers) {
return subject.ignoringExtraRepeatedFieldElementsOfFields(fieldNumbers);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringExtraRepeatedFieldElementsOfFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringExtraRepeatedFieldElementsOfFieldDescriptors(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return subject.ignoringExtraRepeatedFieldElementsOfFieldDescriptors(
firstFieldDescriptor, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringExtraRepeatedFieldElementsOfFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringExtraRepeatedFieldElementsOfFieldDescriptors(
Iterable<FieldDescriptor> fieldDescriptors) {
return subject.ignoringExtraRepeatedFieldElementsOfFieldDescriptors(fieldDescriptors);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringExtraRepeatedFieldElementsOfFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingDoubleTolerance(double tolerance) {
return subject.usingDoubleTolerance(tolerance);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingDoubleTolerance | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingDoubleToleranceForFields(
double tolerance, int firstFieldNumber, int... rest) {
return subject.usingDoubleToleranceForFields(tolerance, firstFieldNumber, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingDoubleToleranceForFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingDoubleToleranceForFields(
double tolerance, Iterable<Integer> fieldNumbers) {
return subject.usingDoubleToleranceForFields(tolerance, fieldNumbers);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingDoubleToleranceForFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingDoubleToleranceForFieldDescriptors(
double tolerance, FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return subject.usingDoubleToleranceForFieldDescriptors(tolerance, firstFieldDescriptor, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingDoubleToleranceForFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingDoubleToleranceForFieldDescriptors(
double tolerance, Iterable<FieldDescriptor> fieldDescriptors) {
return subject.usingDoubleToleranceForFieldDescriptors(tolerance, fieldDescriptors);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingDoubleToleranceForFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingFloatTolerance(float tolerance) {
return subject.usingFloatTolerance(tolerance);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingFloatTolerance | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingFloatToleranceForFields(
float tolerance, int firstFieldNumber, int... rest) {
return subject.usingFloatToleranceForFields(tolerance, firstFieldNumber, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingFloatToleranceForFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingFloatToleranceForFields(
float tolerance, Iterable<Integer> fieldNumbers) {
return subject.usingFloatToleranceForFields(tolerance, fieldNumbers);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingFloatToleranceForFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingFloatToleranceForFieldDescriptors(
float tolerance, FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return subject.usingFloatToleranceForFieldDescriptors(tolerance, firstFieldDescriptor, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingFloatToleranceForFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> usingFloatToleranceForFieldDescriptors(
float tolerance, Iterable<FieldDescriptor> fieldDescriptors) {
return subject.usingFloatToleranceForFieldDescriptors(tolerance, fieldDescriptors);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingFloatToleranceForFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> comparingExpectedFieldsOnly() {
return subject.comparingExpectedFieldsOnly();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | comparingExpectedFieldsOnly | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> withPartialScope(FieldScope fieldScope) {
return subject.withPartialScope(fieldScope);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | withPartialScope | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFields(int firstFieldNumber, int... rest) {
return subject.ignoringFields(firstFieldNumber, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFields(Iterable<Integer> fieldNumbers) {
return subject.ignoringFields(fieldNumbers);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFields | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldDescriptors(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return subject.ignoringFieldDescriptors(firstFieldDescriptor, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldDescriptors(
Iterable<FieldDescriptor> fieldDescriptors) {
return subject.ignoringFieldDescriptors(fieldDescriptors);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldDescriptors | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> ignoringFieldScope(FieldScope fieldScope) {
return subject.ignoringFieldScope(fieldScope);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | ignoringFieldScope | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> reportingMismatchesOnly() {
return subject.reportingMismatchesOnly();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | reportingMismatchesOnly | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosFluentAssertion<M> unpackingAnyUsing(
TypeRegistry typeRegistry, ExtensionRegistry extensionRegistry) {
return subject.unpackingAnyUsing(typeRegistry, extensionRegistry);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | unpackingAnyUsing | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public IterableOfProtosUsingCorrespondence<M> displayingDiffsPairedBy(
Function<? super M, ?> keyFunction) {
return usingCorrespondence().displayingDiffsPairedBy(keyFunction);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | displayingDiffsPairedBy | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void contains(@Nullable M expected) {
usingCorrespondence().contains(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | contains | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void doesNotContain(@Nullable M excluded) {
usingCorrespondence().doesNotContain(excluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | doesNotContain | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public Ordered containsExactly(@Nullable M... expected) {
return usingCorrespondence().containsExactly(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsExactly | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public Ordered containsExactlyElementsIn(Iterable<? extends M> expected) {
return usingCorrespondence().containsExactlyElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsExactlyElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public Ordered containsExactlyElementsIn(M[] expected) {
return usingCorrespondence().containsExactlyElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsExactlyElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public Ordered containsAtLeast(@Nullable M first, @Nullable M second, @Nullable M... rest) {
return usingCorrespondence().containsAtLeast(first, second, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAtLeast | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public Ordered containsAtLeastElementsIn(Iterable<? extends M> expected) {
return usingCorrespondence().containsAtLeastElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAtLeastElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public Ordered containsAtLeastElementsIn(M[] expected) {
return usingCorrespondence().containsAtLeastElementsIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAtLeastElementsIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsAnyOf(@Nullable M first, @Nullable M second, @Nullable M... rest) {
usingCorrespondence().containsAnyOf(first, second, rest);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAnyOf | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsAnyIn(Iterable<? extends M> expected) {
usingCorrespondence().containsAnyIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAnyIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsAnyIn(M[] expected) {
usingCorrespondence().containsAnyIn(expected);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsAnyIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsNoneOf(
@Nullable M firstExcluded, @Nullable M secondExcluded, @Nullable M... restOfExcluded) {
usingCorrespondence().containsNoneOf(firstExcluded, secondExcluded, restOfExcluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsNoneOf | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsNoneIn(Iterable<? extends M> excluded) {
usingCorrespondence().containsNoneIn(excluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsNoneIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@Override
public void containsNoneIn(M[] excluded) {
usingCorrespondence().containsNoneIn(excluded);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | containsNoneIn | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@SuppressWarnings("DoNotCall")
@Override
@Deprecated
public boolean equals(Object o) {
return subject.equals(o);
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | equals | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
@SuppressWarnings("DoNotCall")
@Override
@Deprecated
public int hashCode() {
return subject.hashCode();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | hashCode | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
private final IterableOfProtosUsingCorrespondence<M> usingCorrespondence() {
return subject.usingCorrespondence();
} | @deprecated Protos do not implement {@link Comparable}, so you must {@linkplain
#isInOrder(Comparator) supply a comparator}.
@throws ClassCastException always | usingCorrespondence | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/IterableOfProtosSubject.java | Apache-2.0 |
MapWithProtoValuesFluentAssertion<M> usingConfig(FluentEqualityConfig newConfig) {
return new MapWithProtoValuesFluentAssertionImpl<>(
new MapWithProtoValuesSubject<>(metadata, newConfig, actual));
} | Truth subject for maps with protocol buffers for values.
<p>{@code ProtoTruth.assertThat(actual).containsExactlyEntriesIn(expected)} performs the same
assertion as {@code Truth.assertThat(actual).containsExactlyEntriesIn(expected)}. By default, the
assertions are strict with respect to repeated field order, missing fi... | usingConfig | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringFieldAbsenceOfFieldsForValues(
int firstFieldNumber, int... rest) {
return usingConfig(config.ignoringFieldAbsenceOfFields(asList(firstFieldNumber, rest)));
} | Specifies that the 'has' bit of these explicitly specified top-level field numbers should be
ignored when comparing for equality. Sub-fields must be specified explicitly (via {@link
FieldDescriptor}) if they are to be ignored as well.
<p>Use {@link #ignoringFieldAbsenceForValues()} instead to ignore the 'has' bit for ... | ignoringFieldAbsenceOfFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringFieldAbsenceOfFieldsForValues(
Iterable<Integer> fieldNumbers) {
return usingConfig(config.ignoringFieldAbsenceOfFields(fieldNumbers));
} | Specifies that the 'has' bit of these explicitly specified top-level field numbers should be
ignored when comparing for equality. Sub-fields must be specified explicitly (via {@link
FieldDescriptor}) if they are to be ignored as well.
<p>Use {@link #ignoringFieldAbsenceForValues()} instead to ignore the 'has' bit for ... | ignoringFieldAbsenceOfFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringFieldAbsenceOfFieldDescriptorsForValues(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return usingConfig(
config.ignoringFieldAbsenceOfFieldDescriptors(asList(firstFieldDescriptor, rest)));
} | Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored
when comparing for equality. Sub-fields must be specified explicitly if they are to be ignored
as well.
<p>Use {@link #ignoringFieldAbsenceForValues()} instead to ignore the 'has' bit for all fields.
@see #ignoringFieldAbse... | ignoringFieldAbsenceOfFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringFieldAbsenceOfFieldDescriptorsForValues(
Iterable<FieldDescriptor> fieldDescriptors) {
return usingConfig(config.ignoringFieldAbsenceOfFieldDescriptors(fieldDescriptors));
} | Specifies that the 'has' bit of these explicitly specified field descriptors should be ignored
when comparing for equality. Sub-fields must be specified explicitly if they are to be ignored
as well.
<p>Use {@link #ignoringFieldAbsenceForValues()} instead to ignore the 'has' bit for all fields.
@see #ignoringFieldAbse... | ignoringFieldAbsenceOfFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringRepeatedFieldOrderForValues() {
return usingConfig(config.ignoringRepeatedFieldOrder());
} | Specifies that the ordering of repeated fields, at all levels, should be ignored when comparing
for equality.
<p>This setting applies to all repeated fields recursively, but it does not ignore structure.
For example, with {@link #ignoringRepeatedFieldOrderForValues()}, a repeated {@code int32}
field {@code bar}, set i... | ignoringRepeatedFieldOrderForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringRepeatedFieldOrderOfFieldsForValues(
int firstFieldNumber, int... rest) {
return usingConfig(config.ignoringRepeatedFieldOrderOfFields(asList(firstFieldNumber, rest)));
} | Specifies that the ordering of repeated fields for these explicitly specified top-level field
numbers should be ignored when comparing for equality. Sub-fields must be specified explicitly
(via {@link FieldDescriptor}) if their orders are to be ignored as well.
<p>Use {@link #ignoringRepeatedFieldOrderForValues()} ins... | ignoringRepeatedFieldOrderOfFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringRepeatedFieldOrderOfFieldsForValues(
Iterable<Integer> fieldNumbers) {
return usingConfig(config.ignoringRepeatedFieldOrderOfFields(fieldNumbers));
} | Specifies that the ordering of repeated fields for these explicitly specified top-level field
numbers should be ignored when comparing for equality. Sub-fields must be specified explicitly
(via {@link FieldDescriptor}) if their orders are to be ignored as well.
<p>Use {@link #ignoringRepeatedFieldOrderForValues()} ins... | ignoringRepeatedFieldOrderOfFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return usingConfig(
config.ignoringRepeatedFieldOrderOfFieldDescriptors(asList(firstFieldDescriptor, rest)));
} | Specifies that the ordering of repeated fields for these explicitly specified field descriptors
should be ignored when comparing for equality. Sub-fields must be specified explicitly if their
orders are to be ignored as well.
<p>Use {@link #ignoringRepeatedFieldOrderForValues()} instead to ignore order for all fields.... | ignoringRepeatedFieldOrderOfFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringRepeatedFieldOrderOfFieldDescriptorsForValues(
Iterable<FieldDescriptor> fieldDescriptors) {
return usingConfig(config.ignoringRepeatedFieldOrderOfFieldDescriptors(fieldDescriptors));
} | Specifies that the ordering of repeated fields for these explicitly specified field descriptors
should be ignored when comparing for equality. Sub-fields must be specified explicitly if their
orders are to be ignored as well.
<p>Use {@link #ignoringRepeatedFieldOrderForValues()} instead to ignore order for all fields.... | ignoringRepeatedFieldOrderOfFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringExtraRepeatedFieldElementsForValues() {
return usingConfig(config.ignoringExtraRepeatedFieldElements());
} | Specifies that, for all repeated and map fields, any elements in the 'actual' proto which are
not found in the 'expected' proto are ignored, with the exception of fields in the expected
proto which are empty. To ignore empty repeated fields as well, use {@link
#comparingExpectedFieldsOnlyForValues}.
<p>This rule is ap... | ignoringExtraRepeatedFieldElementsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringExtraRepeatedFieldElementsOfFieldsForValues(
int firstFieldNumber, int... rest) {
return usingConfig(
config.ignoringExtraRepeatedFieldElementsOfFields(asList(firstFieldNumber, rest)));
} | Specifies that extra repeated field elements for these explicitly specified top-level field
numbers should be ignored. Sub-fields must be specified explicitly (via {@link
FieldDescriptor}) if their extra elements are to be ignored as well.
<p>Use {@link #ignoringExtraRepeatedFieldElementsForValues()} instead to ignore... | ignoringExtraRepeatedFieldElementsOfFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> ignoringExtraRepeatedFieldElementsOfFieldsForValues(
Iterable<Integer> fieldNumbers) {
return usingConfig(config.ignoringExtraRepeatedFieldElementsOfFields(fieldNumbers));
} | Specifies that extra repeated field elements for these explicitly specified top-level field
numbers should be ignored. Sub-fields must be specified explicitly (via {@link
FieldDescriptor}) if their extra elements are to be ignored as well.
<p>Use {@link #ignoringExtraRepeatedFieldElementsForValues()} instead to ignore... | ignoringExtraRepeatedFieldElementsOfFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M>
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(
FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return usingConfig(
config.ignoringExtraRepeatedFieldElementsOfFieldDescriptors(
asList(firstFieldDescriptor... | Specifies that extra repeated field elements for these explicitly specified field descriptors
should be ignored. Sub-fields must be specified explicitly if their extra elements are to be
ignored as well.
<p>Use {@link #ignoringExtraRepeatedFieldElementsForValues()} instead to ignore these for all
fields.
@see #ignori... | ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M>
ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues(
Iterable<FieldDescriptor> fieldDescriptors) {
return usingConfig(
config.ignoringExtraRepeatedFieldElementsOfFieldDescriptors(fieldDescriptors));
} | Specifies that extra repeated field elements for these explicitly specified field descriptors
should be ignored. Sub-fields must be specified explicitly if their extra elements are to be
ignored as well.
<p>Use {@link #ignoringExtraRepeatedFieldElementsForValues()} instead to ignore these for all
fields.
@see #ignori... | ignoringExtraRepeatedFieldElementsOfFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> usingDoubleToleranceForValues(double tolerance) {
return usingConfig(config.usingDoubleTolerance(tolerance));
} | Compares double fields as equal if they are both finite and their absolute difference is less
than or equal to {@code tolerance}.
@param tolerance A finite, non-negative tolerance. | usingDoubleToleranceForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> usingDoubleToleranceForFieldsForValues(
double tolerance, int firstFieldNumber, int... rest) {
return usingConfig(
config.usingDoubleToleranceForFields(tolerance, asList(firstFieldNumber, rest)));
} | Compares double fields with these explicitly specified top-level field numbers using the
provided absolute tolerance.
@param tolerance A finite, non-negative tolerance. | usingDoubleToleranceForFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> usingDoubleToleranceForFieldsForValues(
double tolerance, Iterable<Integer> fieldNumbers) {
return usingConfig(config.usingDoubleToleranceForFields(tolerance, fieldNumbers));
} | Compares double fields with these explicitly specified top-level field numbers using the
provided absolute tolerance.
@param tolerance A finite, non-negative tolerance. | usingDoubleToleranceForFieldsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> usingDoubleToleranceForFieldDescriptorsForValues(
double tolerance, FieldDescriptor firstFieldDescriptor, FieldDescriptor... rest) {
return usingConfig(
config.usingDoubleToleranceForFieldDescriptors(
tolerance, asList(firstFieldDescriptor, rest)... | Compares double fields with these explicitly specified fields using the provided absolute
tolerance.
@param tolerance A finite, non-negative tolerance. | usingDoubleToleranceForFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> usingDoubleToleranceForFieldDescriptorsForValues(
double tolerance, Iterable<FieldDescriptor> fieldDescriptors) {
return usingConfig(config.usingDoubleToleranceForFieldDescriptors(tolerance, fieldDescriptors));
} | Compares double fields with these explicitly specified fields using the provided absolute
tolerance.
@param tolerance A finite, non-negative tolerance. | usingDoubleToleranceForFieldDescriptorsForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
public MapWithProtoValuesFluentAssertion<M> usingFloatToleranceForValues(float tolerance) {
return usingConfig(config.usingFloatTolerance(tolerance));
} | Compares float fields as equal if they are both finite and their absolute difference is less
than or equal to {@code tolerance}.
@param tolerance A finite, non-negative tolerance. | usingFloatToleranceForValues | java | google/truth | extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | https://github.com/google/truth/blob/master/extensions/proto/src/main/java/com/google/common/truth/extensions/proto/MapWithProtoValuesSubject.java | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.