| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>Deprecated List (Truth HEAD-SNAPSHOT)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="script.js"></script> |
| <script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="jquery/jquery-3.6.1.min.js"></script> |
| <script type="text/javascript" src="jquery/jquery-ui.min.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Deprecated List (Truth HEAD-SNAPSHOT)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var pathtoroot = "./"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="index.html">Overview</a></li> |
| <li>Package</li> |
| <li>Class</li> |
| <li>Use</li> |
| <li><a href="overview-tree.html">Tree</a></li> |
| <li class="navBarCell1Rev">Deprecated</li> |
| <li><a href="index-all.html">Index</a></li> |
| <li><a href="help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <main role="main"> |
| <div class="header"> |
| <h1 title="Deprecated API" class="title">Deprecated API</h1> |
| <h2 title="Contents">Contents</h2> |
| <ul> |
| <li><a href="#method">Methods</a></li> |
| </ul> |
| </div> |
| <div class="contentContainer"><a id="method"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="deprecatedSummary"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/Correspondence.html#equals(java.lang.Object)">com.google.common.truth.Correspondence.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported. If you meant to compare objects |
| using this <a href="com/google/common/truth/Correspondence.html" title="class in com.google.common.truth"><code>Correspondence</code></a>, use <a href="com/google/common/truth/Correspondence.html#compare(A,E)"><code>Correspondence.compare(A, E)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/Correspondence.html#hashCode()">com.google.common.truth.Correspondence.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/DoubleSubject.html#isEquivalentAccordingToCompareTo(java.lang.Double)">com.google.common.truth.DoubleSubject.isEquivalentAccordingToCompareTo​(Double)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Use <a href="com/google/common/truth/DoubleSubject.html#isWithin(double)"><code>DoubleSubject.isWithin(double)</code></a> or <a href="com/google/common/truth/DoubleSubject.html#isEqualTo(java.lang.Object)"><code>DoubleSubject.isEqualTo(java.lang.Object)</code></a> instead (see documentation for advice).</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/DoubleSubject.TolerantDoubleComparison.html#equals(java.lang.Object)">com.google.common.truth.DoubleSubject.TolerantDoubleComparison.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on TolerantDoubleComparison. If |
| you meant to compare doubles, use <a href="com/google/common/truth/DoubleSubject.TolerantDoubleComparison.html#of(double)"><code>DoubleSubject.TolerantDoubleComparison.of(double)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/DoubleSubject.TolerantDoubleComparison.html#hashCode()">com.google.common.truth.DoubleSubject.TolerantDoubleComparison.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported on TolerantDoubleComparison</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/IterableOfProtosFluentAssertion.html#equals(java.lang.Object)">com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Do not call <code>equals()</code> on a <code>IterableOfProtosFluentAssertion</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/IterableOfProtosFluentAssertion.html#hashCode()">com.google.common.truth.extensions.proto.IterableOfProtosFluentAssertion.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>IterableOfProtosFluentAssertion</code> does not support <code>hashCode()</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/IterableOfProtosSubject.html#isInOrder()">com.google.common.truth.extensions.proto.IterableOfProtosSubject.isInOrder()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Protos do not implement <code>Comparable</code>, so you must <a href="com/google/common/truth/IterableSubject.html#isInOrder(java.util.Comparator)">supply a comparator</a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/IterableOfProtosSubject.html#isInStrictOrder()">com.google.common.truth.extensions.proto.IterableOfProtosSubject.isInStrictOrder()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Protos do not implement <code>Comparable</code>, so you must <a href="com/google/common/truth/IterableSubject.html#isInStrictOrder(java.util.Comparator)">supply a comparator</a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/LiteProtoSubject.html#isEqualTo(com.google.protobuf.MessageLite.Builder)">com.google.common.truth.extensions.proto.LiteProtoSubject.isEqualTo​(MessageLite.Builder)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">A Builder can never compare equal to a MessageLite instance. Use <code>build()</code>, |
| or <code>buildPartial()</code> on the argument to get a MessageLite for comparison instead. Or, |
| if you are passing <code>null</code>, use <a href="com/google/common/truth/Subject.html#isNull()"><code>Subject.isNull()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/LiteProtoSubject.html#isNotEqualTo(com.google.protobuf.MessageLite.Builder)">com.google.common.truth.extensions.proto.LiteProtoSubject.isNotEqualTo​(MessageLite.Builder)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">A Builder will never compare equal to a MessageLite instance. Use <code>build()</code>, |
| or <code>buildPartial()</code> on the argument to get a MessageLite for comparison instead. Or, |
| if you are passing <code>null</code>, use <a href="com/google/common/truth/Subject.html#isNotNull()"><code>Subject.isNotNull()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/MapWithProtoValuesFluentAssertion.html#equals(java.lang.Object)">com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Do not call <code>equals()</code> on a <code>MapWithProtoValuesFluentAssertion</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/MapWithProtoValuesFluentAssertion.html#hashCode()">com.google.common.truth.extensions.proto.MapWithProtoValuesFluentAssertion.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>MapWithProtoValuesFluentAssertion</code> does not support <code>hashCode()</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/MultimapWithProtoValuesFluentAssertion.html#equals(java.lang.Object)">com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Do not call <code>equals()</code> on a <code>MultimapWithProtoValuesFluentAssertion</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/MultimapWithProtoValuesFluentAssertion.html#hashCode()">com.google.common.truth.extensions.proto.MultimapWithProtoValuesFluentAssertion.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>MultimapWithProtoValuesFluentAssertion</code> does not support <code>hashCode()</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/ProtoFluentAssertion.html#equals(java.lang.Object)">com.google.common.truth.extensions.proto.ProtoFluentAssertion.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Do not call <code>equals()</code> on a <code>ProtoFluentAssertion</code>. Use <a href="com/google/common/truth/extensions/proto/ProtoFluentAssertion.html#isEqualTo(com.google.protobuf.Message)"><code>ProtoFluentAssertion.isEqualTo(Message)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/extensions/proto/ProtoFluentAssertion.html#hashCode()">com.google.common.truth.extensions.proto.ProtoFluentAssertion.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>ProtoFluentAssertion</code> does not support <code>hashCode()</code>. Use <a href="com/google/common/truth/extensions/proto/ProtoFluentAssertion.html#isEqualTo(com.google.protobuf.Message)"><code>ProtoFluentAssertion.isEqualTo(Message)</code></a> for testing.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/FloatSubject.html#isEquivalentAccordingToCompareTo(java.lang.Float)">com.google.common.truth.FloatSubject.isEquivalentAccordingToCompareTo​(Float)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Use <a href="com/google/common/truth/FloatSubject.html#isWithin(float)"><code>FloatSubject.isWithin(float)</code></a> or <a href="com/google/common/truth/FloatSubject.html#isEqualTo(java.lang.Object)"><code>FloatSubject.isEqualTo(java.lang.Object)</code></a> instead (see documentation for advice).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/FloatSubject.TolerantFloatComparison.html#equals(java.lang.Object)">com.google.common.truth.FloatSubject.TolerantFloatComparison.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on TolerantFloatComparison. If you |
| meant to compare floats, use <a href="com/google/common/truth/FloatSubject.TolerantFloatComparison.html#of(float)"><code>FloatSubject.TolerantFloatComparison.of(float)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/FloatSubject.TolerantFloatComparison.html#hashCode()">com.google.common.truth.FloatSubject.TolerantFloatComparison.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported on TolerantFloatComparison</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IntegerSubject.html#isEquivalentAccordingToCompareTo(java.lang.Integer)">com.google.common.truth.IntegerSubject.isEquivalentAccordingToCompareTo​(Integer)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Use <a href="com/google/common/truth/Subject.html#isEqualTo(java.lang.Object)"><code>Subject.isEqualTo(java.lang.Object)</code></a> instead. Integer comparison is consistent with equality.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IntegerSubject.TolerantIntegerComparison.html#equals(java.lang.Object)">com.google.common.truth.IntegerSubject.TolerantIntegerComparison.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on TolerantIntegerComparison. If |
| you meant to compare ints, use <a href="com/google/common/truth/IntegerSubject.TolerantIntegerComparison.html#of(int)"><code>IntegerSubject.TolerantIntegerComparison.of(int)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IntegerSubject.TolerantIntegerComparison.html#hashCode()">com.google.common.truth.IntegerSubject.TolerantIntegerComparison.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported on TolerantIntegerComparison</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IterableSubject.html#isNoneOf(java.lang.Object,java.lang.Object,java.lang.Object...)">com.google.common.truth.IterableSubject.isNoneOf​(Object, Object, Object...)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">You probably meant to call <a href="com/google/common/truth/IterableSubject.html#containsNoneOf(java.lang.Object,java.lang.Object,java.lang.Object...)"><code>IterableSubject.containsNoneOf(java.lang.Object, java.lang.Object, java.lang.Object...)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IterableSubject.html#isNotIn(java.lang.Iterable)">com.google.common.truth.IterableSubject.isNotIn​(Iterable<?>)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">You probably meant to call <a href="com/google/common/truth/IterableSubject.html#containsNoneIn(java.lang.Iterable)"><code>IterableSubject.containsNoneIn(java.lang.Iterable<?>)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IterableSubject.UsingCorrespondence.html#equals(java.lang.Object)">com.google.common.truth.IterableSubject.UsingCorrespondence.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on Truth subjects or intermediate |
| classes. If you are writing a test assertion (actual vs. expected), use methods liks |
| <a href="com/google/common/truth/IterableSubject.UsingCorrespondence.html#containsExactlyElementsIn(java.lang.Iterable)"><code>IterableSubject.UsingCorrespondence.containsExactlyElementsIn(Iterable)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IterableSubject.UsingCorrespondence.html#hashCode()">com.google.common.truth.IterableSubject.UsingCorrespondence.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported on Truth types.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/IterableSubject.UsingCorrespondence.html#toString()">com.google.common.truth.IterableSubject.UsingCorrespondence.toString()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.toString()</code> is not supported on Truth subjects.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/LongSubject.html#isEquivalentAccordingToCompareTo(java.lang.Long)">com.google.common.truth.LongSubject.isEquivalentAccordingToCompareTo​(Long)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Use <a href="com/google/common/truth/Subject.html#isEqualTo(java.lang.Object)"><code>Subject.isEqualTo(java.lang.Object)</code></a> instead. Long comparison is consistent with equality.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/LongSubject.TolerantLongComparison.html#equals(java.lang.Object)">com.google.common.truth.LongSubject.TolerantLongComparison.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on TolerantLongComparison. If you |
| meant to compare longs, use <a href="com/google/common/truth/LongSubject.TolerantLongComparison.html#of(long)"><code>LongSubject.TolerantLongComparison.of(long)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/LongSubject.TolerantLongComparison.html#hashCode()">com.google.common.truth.LongSubject.TolerantLongComparison.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported on TolerantLongComparison</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/StreamSubject.html#isEqualTo(java.lang.Object)">com.google.common.truth.StreamSubject.isEqualTo​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>streamA.isEqualTo(streamB)</code> always fails, except when passed the exact same |
| stream reference. If you really want to test object identity, you can eliminate this |
| deprecation warning by using <a href="com/google/common/truth/Subject.html#isSameInstanceAs(java.lang.Object)"><code>Subject.isSameInstanceAs(java.lang.Object)</code></a>. If you instead want to test the |
| contents of the stream, use <a href="com/google/common/truth/StreamSubject.html#containsExactly(java.lang.Object...)"><code>StreamSubject.containsExactly(java.lang.Object...)</code></a> or similar methods.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/StreamSubject.html#isNotEqualTo(java.lang.Object)">com.google.common.truth.StreamSubject.isNotEqualTo​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>streamA.isNotEqualTo(streamB)</code> always passes, except when passed the exact |
| same stream reference. If you really want to test object identity, you can eliminate this |
| deprecation warning by using <a href="com/google/common/truth/Subject.html#isNotSameInstanceAs(java.lang.Object)"><code>Subject.isNotSameInstanceAs(java.lang.Object)</code></a>. If you instead want to test the |
| contents of the stream, collect both streams to lists and perform assertions like <a href="com/google/common/truth/Subject.html#isNotEqualTo(java.lang.Object)"><code>Subject.isNotEqualTo(java.lang.Object)</code></a> on them. In some cases, you may be able to use <a href="com/google/common/truth/StreamSubject.html" title="class in com.google.common.truth"><code>StreamSubject</code></a> assertions like <a href="com/google/common/truth/StreamSubject.html#doesNotContain(java.lang.Object)"><code>StreamSubject.doesNotContain(java.lang.Object)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/StringSubject.html#isEquivalentAccordingToCompareTo(java.lang.String)">com.google.common.truth.StringSubject.isEquivalentAccordingToCompareTo​(String)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment">Use <a href="com/google/common/truth/Subject.html#isEqualTo(java.lang.Object)"><code>Subject.isEqualTo(java.lang.Object)</code></a> instead. String comparison is consistent with equality.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/Subject.html#equals(java.lang.Object)">com.google.common.truth.Subject.equals​(Object)</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.equals(Object)</code> is not supported on Truth subjects. If you are |
| writing a test assertion (actual vs. expected), use <a href="com/google/common/truth/Subject.html#isEqualTo(java.lang.Object)"><code>Subject.isEqualTo(Object)</code></a> instead.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/Subject.html#hashCode()">com.google.common.truth.Subject.hashCode()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.hashCode()</code> is not supported on Truth subjects.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colDeprecatedItemName" scope="row"><a href="com/google/common/truth/Subject.html#toString()">com.google.common.truth.Subject.toString()</a></th> |
| <td class="colLast"> |
| <div class="deprecationComment"><code>Object.toString()</code> is not supported on Truth subjects.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| </div> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="index.html">Overview</a></li> |
| <li>Package</li> |
| <li>Class</li> |
| <li>Use</li> |
| <li><a href="overview-tree.html">Tree</a></li> |
| <li class="navBarCell1Rev">Deprecated</li> |
| <li><a href="index-all.html">Index</a></li> |
| <li><a href="help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2024. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |