diff --git a/api/latest/com/google/common/truth/BigDecimalSubject.html b/api/latest/com/google/common/truth/BigDecimalSubject.html index d45f789a1..47681e9d3 100644 --- a/api/latest/com/google/common/truth/BigDecimalSubject.html +++ b/api/latest/com/google/common/truth/BigDecimalSubject.html @@ -142,7 +142,8 @@
public final class BigDecimalSubject +@NullMarked +public final class BigDecimalSubject extends ComparableSubject<java.math.BigDecimal>Propositions forBigDecimal
typed subjects.
public final class BooleanSubject +@NullMarked +public final class BooleanSubject extends SubjectPropositions for boolean subjects.
@GwtIncompatible("reflection") +@NullMarked +@GwtIncompatible("reflection") public final class ClassSubject extends SubjectPropositions fordiff --git a/api/latest/com/google/common/truth/ComparableSubject.html b/api/latest/com/google/common/truth/ComparableSubject.html index 1d9329be3..8cfd75601 100644 --- a/api/latest/com/google/common/truth/ComparableSubject.html +++ b/api/latest/com/google/common/truth/ComparableSubject.html @@ -145,7 +145,8 @@Class
subjects.Class ComparableSubject<T e
BigDecimalSubject
,DoubleSubject
,FloatSubject
,IntegerSubject
,LongSubject
,StringSubject
public abstract class ComparableSubject<T extends java.lang.Comparable<?>> +@NullMarked +public abstract class ComparableSubject<T extends java.lang.Comparable<?>> extends SubjectPropositions forComparable
typed subjects.
public abstract class Correspondence<A extends @Nullable java.lang.Object,E extends @Nullable java.lang.Object> +@NullMarked +public abstract class Correspondence<A extends @Nullable java.lang.Object,E extends @Nullable java.lang.Object> extends java.lang.Object
Determines whether an instance of typeA
corresponds in some way to an instance of typeE
for the purposes of a test assertion. For example, the implementation returned by the diff --git a/api/latest/com/google/common/truth/CustomSubjectBuilder.html b/api/latest/com/google/common/truth/CustomSubjectBuilder.html index 9024ed92a..6b51eb9b6 100644 --- a/api/latest/com/google/common/truth/CustomSubjectBuilder.html +++ b/api/latest/com/google/common/truth/CustomSubjectBuilder.html @@ -136,7 +136,8 @@Class CustomSubjectBuilder<
ProtoSubjectBuilder
-public abstract class CustomSubjectBuilder +@NullMarked +public abstract class CustomSubjectBuilder extends java.lang.Object
In a fluent assertion chain, exposes one or more "custom"that
methods, which accept a value under test and return aSubject
. diff --git a/api/latest/com/google/common/truth/DoubleSubject.html b/api/latest/com/google/common/truth/DoubleSubject.html index 4db78554d..239c48e61 100644 --- a/api/latest/com/google/common/truth/DoubleSubject.html +++ b/api/latest/com/google/common/truth/DoubleSubject.html @@ -142,7 +142,8 @@Class DoubleSubject
-public final class DoubleSubject +@NullMarked +public final class DoubleSubject extends ComparableSubject<java.lang.Double>Propositions forDouble
subjects.diff --git a/api/latest/com/google/common/truth/Expect.html b/api/latest/com/google/common/truth/Expect.html index 36fff5deb..1a6b35de7 100644 --- a/api/latest/com/google/common/truth/Expect.html +++ b/api/latest/com/google/common/truth/Expect.html @@ -142,6 +142,7 @@
Class Expect
@GwtIncompatible("JUnit4") +@NullMarked public final class Expect extends StandardSubjectBuilder implements TestRulediff --git a/api/latest/com/google/common/truth/ExpectFailure.html b/api/latest/com/google/common/truth/ExpectFailure.html index 77e51eb02..ad61452e7 100644 --- a/api/latest/com/google/common/truth/ExpectFailure.html +++ b/api/latest/com/google/common/truth/ExpectFailure.html @@ -136,7 +136,8 @@Class ExpectFailure
TestRule
-public final class ExpectFailure +@NullMarked +public final class ExpectFailure extends java.lang.Object
A utility for testing that assertions against a customSubject
fail when they should, plus a utility to assert about parts of the resulting failure messages. diff --git a/api/latest/com/google/common/truth/Fact.html b/api/latest/com/google/common/truth/Fact.html index 2e0dc1cb4..17d5beccd 100644 --- a/api/latest/com/google/common/truth/Fact.html +++ b/api/latest/com/google/common/truth/Fact.html @@ -136,7 +136,8 @@Class Fact
java.io.Serializable
-public final class Fact +@NullMarked +public final class Fact extends java.lang.Object implements java.io.Serializable
A string key-value pair in a failure message, such as "expected: abc" or "but was: xyz." diff --git a/api/latest/com/google/common/truth/FailureMetadata.html b/api/latest/com/google/common/truth/FailureMetadata.html index 2933e28e2..c03804c95 100644 --- a/api/latest/com/google/common/truth/FailureMetadata.html +++ b/api/latest/com/google/common/truth/FailureMetadata.html @@ -126,7 +126,8 @@Class FailureMetadata
-public final class FailureMetadata +@NullMarked +public final class FailureMetadata extends java.lang.Object
An opaque, immutable object containing state from the previous calls in the fluent assertion chain. It appears primarily as a parameter toSubject
constructors (andSubject.Factory
methods), which should pass it to the superclass constructor and not otherwise diff --git a/api/latest/com/google/common/truth/FailureStrategy.html b/api/latest/com/google/common/truth/FailureStrategy.html index b8f13b062..d9d26bee1 100644 --- a/api/latest/com/google/common/truth/FailureStrategy.html +++ b/api/latest/com/google/common/truth/FailureStrategy.html @@ -124,7 +124,8 @@Interface FailureStrategy
-public interface FailureStrategy
+@NullMarked +public interface FailureStrategy
Defines what to do when a check fails.This type does not appear directly in a fluent assertion chain, but you choose a
diff --git a/api/latest/com/google/common/truth/FloatSubject.html b/api/latest/com/google/common/truth/FloatSubject.html index 476a60f6e..3a0fd0c2f 100644 --- a/api/latest/com/google/common/truth/FloatSubject.html +++ b/api/latest/com/google/common/truth/FloatSubject.html @@ -142,7 +142,8 @@
Class FloatSubject
-public final class FloatSubject +@NullMarked +public final class FloatSubject extends ComparableSubject<java.lang.Float>Propositions forFloat
subjects.diff --git a/api/latest/com/google/common/truth/GuavaOptionalSubject.html b/api/latest/com/google/common/truth/GuavaOptionalSubject.html index 470db945e..b7515bcc0 100644 --- a/api/latest/com/google/common/truth/GuavaOptionalSubject.html +++ b/api/latest/com/google/common/truth/GuavaOptionalSubject.html @@ -137,7 +137,8 @@
Class GuavaOptionalSubject<
-public final class GuavaOptionalSubject +@NullMarked +public final class GuavaOptionalSubject extends SubjectPropositions for GuavaOptional
subjects. diff --git a/api/latest/com/google/common/truth/IntegerSubject.html b/api/latest/com/google/common/truth/IntegerSubject.html index 7fe55f30a..41110501c 100644 --- a/api/latest/com/google/common/truth/IntegerSubject.html +++ b/api/latest/com/google/common/truth/IntegerSubject.html @@ -142,7 +142,8 @@Class IntegerSubject
-public class IntegerSubject +@NullMarked +public class IntegerSubject extends ComparableSubject<java.lang.Integer>Propositions forInteger
subjects.diff --git a/api/latest/com/google/common/truth/IterableSubject.html b/api/latest/com/google/common/truth/IterableSubject.html index f833434de..1f56da8a3 100644 --- a/api/latest/com/google/common/truth/IterableSubject.html +++ b/api/latest/com/google/common/truth/IterableSubject.html @@ -141,7 +141,8 @@
Class IterableSubject
IterableOfProtosSubject
,MultisetSubject
-public class IterableSubject +@NullMarked +public class IterableSubject extends SubjectPropositions forIterable
subjects. diff --git a/api/latest/com/google/common/truth/LongSubject.html b/api/latest/com/google/common/truth/LongSubject.html index 468ba322d..edce9c144 100644 --- a/api/latest/com/google/common/truth/LongSubject.html +++ b/api/latest/com/google/common/truth/LongSubject.html @@ -142,7 +142,8 @@Class LongSubject
-public class LongSubject +@NullMarked +public class LongSubject extends ComparableSubject<java.lang.Long>Propositions forlong
subjects.diff --git a/api/latest/com/google/common/truth/MapSubject.html b/api/latest/com/google/common/truth/MapSubject.html index c27837a7d..50d0c4485 100644 --- a/api/latest/com/google/common/truth/MapSubject.html +++ b/api/latest/com/google/common/truth/MapSubject.html @@ -141,7 +141,8 @@
Class MapSubject
MapWithProtoValuesSubject
-public class MapSubject +@NullMarked +public class MapSubject extends SubjectPropositions forMap
subjects.diff --git a/api/latest/com/google/common/truth/MultimapSubject.html b/api/latest/com/google/common/truth/MultimapSubject.html index f19a442b1..e1342f45d 100644 --- a/api/latest/com/google/common/truth/MultimapSubject.html +++ b/api/latest/com/google/common/truth/MultimapSubject.html @@ -141,7 +141,8 @@
Class MultimapSubject
MultimapWithProtoValuesSubject
-public class MultimapSubject +@NullMarked +public class MultimapSubject extends SubjectPropositions forMultimap
subjects.diff --git a/api/latest/com/google/common/truth/MultisetSubject.html b/api/latest/com/google/common/truth/MultisetSubject.html index 87daec2dc..b4fc6b3ba 100644 --- a/api/latest/com/google/common/truth/MultisetSubject.html +++ b/api/latest/com/google/common/truth/MultisetSubject.html @@ -142,7 +142,8 @@
Class MultisetSubject
-public final class MultisetSubject +@NullMarked +public final class MultisetSubject extends IterableSubjectPropositions forMultiset
subjects.diff --git a/api/latest/com/google/common/truth/ObjectArraySubject.html b/api/latest/com/google/common/truth/ObjectArraySubject.html index 265015631..3e59116d9 100644 --- a/api/latest/com/google/common/truth/ObjectArraySubject.html +++ b/api/latest/com/google/common/truth/ObjectArraySubject.html @@ -137,7 +137,8 @@
Class ObjectArraySubject<T
-public final class ObjectArraySubject<T extends @Nullable java.lang.Object> +@NullMarked +public final class ObjectArraySubject<T extends @Nullable java.lang.Object> extends SubjectA Subject forObject[]
and more genericallyT[]
.diff --git a/api/latest/com/google/common/truth/Ordered.html b/api/latest/com/google/common/truth/Ordered.html index 99e4fda48..f42bfb3f5 100644 --- a/api/latest/com/google/common/truth/Ordered.html +++ b/api/latest/com/google/common/truth/Ordered.html @@ -124,7 +124,8 @@
Interface Ordered
-public interface Ordered
+@NullMarked +public interface Ordered
Returned by calls likeIterableSubject.containsExactly(java.lang.Object...)
,Ordered
lets the caller additionally check that the expected elements were present in the order they were passed to the previous calls. diff --git a/api/latest/com/google/common/truth/PrimitiveBooleanArraySubject.html b/api/latest/com/google/common/truth/PrimitiveBooleanArraySubject.html index d5788cc2a..03517e1af 100644 --- a/api/latest/com/google/common/truth/PrimitiveBooleanArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveBooleanArraySubject.html @@ -137,7 +137,8 @@Class PrimitiveBool
-public final class PrimitiveBooleanArraySubject +@NullMarked +public final class PrimitiveBooleanArraySubject extends SubjectA Subject forboolean[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveByteArraySubject.html b/api/latest/com/google/common/truth/PrimitiveByteArraySubject.html index a235b5c63..af0ecbf20 100644 --- a/api/latest/com/google/common/truth/PrimitiveByteArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveByteArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveByteArr
-public final class PrimitiveByteArraySubject +@NullMarked +public final class PrimitiveByteArraySubject extends SubjectA Subject forbyte[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveCharArraySubject.html b/api/latest/com/google/common/truth/PrimitiveCharArraySubject.html index dd7a3f5b4..bc6d0aafd 100644 --- a/api/latest/com/google/common/truth/PrimitiveCharArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveCharArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveCharArr
-public final class PrimitiveCharArraySubject +@NullMarked +public final class PrimitiveCharArraySubject extends SubjectA Subject forchar[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveDoubleArraySubject.html b/api/latest/com/google/common/truth/PrimitiveDoubleArraySubject.html index e5efc890e..1b719378c 100644 --- a/api/latest/com/google/common/truth/PrimitiveDoubleArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveDoubleArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveDoubl
-public final class PrimitiveDoubleArraySubject +@NullMarked +public final class PrimitiveDoubleArraySubject extends SubjectA Subject fordouble[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveFloatArraySubject.html b/api/latest/com/google/common/truth/PrimitiveFloatArraySubject.html index 1be2f4b16..1998f3c28 100644 --- a/api/latest/com/google/common/truth/PrimitiveFloatArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveFloatArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveFloatA
-public final class PrimitiveFloatArraySubject +@NullMarked +public final class PrimitiveFloatArraySubject extends SubjectA Subject forfloat[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveIntArraySubject.html b/api/latest/com/google/common/truth/PrimitiveIntArraySubject.html index ee3cef3df..27d733336 100644 --- a/api/latest/com/google/common/truth/PrimitiveIntArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveIntArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveIntArray
-public final class PrimitiveIntArraySubject +@NullMarked +public final class PrimitiveIntArraySubject extends SubjectA Subject forint[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveLongArraySubject.html b/api/latest/com/google/common/truth/PrimitiveLongArraySubject.html index 110e60169..30001869d 100644 --- a/api/latest/com/google/common/truth/PrimitiveLongArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveLongArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveLongArr
-public final class PrimitiveLongArraySubject +@NullMarked +public final class PrimitiveLongArraySubject extends SubjectA Subject forlong[]
.diff --git a/api/latest/com/google/common/truth/PrimitiveShortArraySubject.html b/api/latest/com/google/common/truth/PrimitiveShortArraySubject.html index 584d429e7..03309295e 100644 --- a/api/latest/com/google/common/truth/PrimitiveShortArraySubject.html +++ b/api/latest/com/google/common/truth/PrimitiveShortArraySubject.html @@ -137,7 +137,8 @@
Class PrimitiveShortA
-public final class PrimitiveShortArraySubject +@NullMarked +public final class PrimitiveShortArraySubject extends SubjectA Subject forshort[]
.diff --git a/api/latest/com/google/common/truth/SimpleSubjectBuilder.html b/api/latest/com/google/common/truth/SimpleSubjectBuilder.html index 52c094d2d..8b54f2908 100644 --- a/api/latest/com/google/common/truth/SimpleSubjectBuilder.html +++ b/api/latest/com/google/common/truth/SimpleSubjectBuilder.html @@ -132,7 +132,8 @@
Class SimpleSubjectBuilder&
-public final class SimpleSubjectBuilder<SubjectT extends Subject,ActualT> +@NullMarked +public final class SimpleSubjectBuilder<SubjectT extends Subject,ActualT> extends java.lang.Object
In a fluent assertion chain, exposes the most commonthat
method, which accepts a value under test and returns aSubject
. diff --git a/api/latest/com/google/common/truth/StandardSubjectBuilder.html b/api/latest/com/google/common/truth/StandardSubjectBuilder.html index af4c63f42..b1dddfcc6 100644 --- a/api/latest/com/google/common/truth/StandardSubjectBuilder.html +++ b/api/latest/com/google/common/truth/StandardSubjectBuilder.html @@ -136,7 +136,8 @@Class StandardSubjectBuil
Expect
-public class StandardSubjectBuilder +@NullMarked +public class StandardSubjectBuilder extends java.lang.Object
In a fluent assertion chain, an object with which you can do any of the following: diff --git a/api/latest/com/google/common/truth/StringSubject.html b/api/latest/com/google/common/truth/StringSubject.html index 2819bd651..8df782799 100644 --- a/api/latest/com/google/common/truth/StringSubject.html +++ b/api/latest/com/google/common/truth/StringSubject.html @@ -142,7 +142,8 @@Class StringSubject
-public class StringSubject +@NullMarked +public class StringSubject extends ComparableSubject<java.lang.String>Propositions for string subjects.diff --git a/api/latest/com/google/common/truth/Subject.html b/api/latest/com/google/common/truth/Subject.html index bb3924e2b..a67e247f6 100644 --- a/api/latest/com/google/common/truth/Subject.html +++ b/api/latest/com/google/common/truth/Subject.html @@ -136,7 +136,8 @@
Class Subject
BooleanSubject
,ClassSubject
,ComparableSubject
,GuavaOptionalSubject
,IntStreamSubject
,IterableSubject
,LiteProtoSubject
,LongStreamSubject
,MapSubject
,MultimapSubject
,ObjectArraySubject
,OptionalDoubleSubject
,OptionalIntSubject
,OptionalLongSubject
,OptionalSubject
,PathSubject
,PrimitiveBooleanArraySubject
,PrimitiveByteArraySubject
,PrimitiveCharArraySubject
,PrimitiveDoubleArraySubject
,PrimitiveFloatArraySubject
,PrimitiveIntArraySubject
,PrimitiveLongArraySubject
,PrimitiveShortArraySubject
,Re2jSubjects.Re2jStringSubject
,StreamSubject
,TableSubject
,ThrowableSubject
-public class Subject +@NullMarked +public class Subject extends java.lang.Object
An object that lets you perform checks on the value under test. For example,Subject
containsisEqualTo(Object)
andisInstanceOf(Class)
, andStringSubject
diff --git a/api/latest/com/google/common/truth/TableSubject.html b/api/latest/com/google/common/truth/TableSubject.html index ab9e39442..3a292e4d4 100644 --- a/api/latest/com/google/common/truth/TableSubject.html +++ b/api/latest/com/google/common/truth/TableSubject.html @@ -137,7 +137,8 @@Class TableSubject
-public final class TableSubject +@NullMarked +public final class TableSubject extends SubjectPropositions forTable
subjects.diff --git a/api/latest/com/google/common/truth/ThrowableSubject.html b/api/latest/com/google/common/truth/ThrowableSubject.html index 2480c461e..4d6f1b526 100644 --- a/api/latest/com/google/common/truth/ThrowableSubject.html +++ b/api/latest/com/google/common/truth/ThrowableSubject.html @@ -141,7 +141,8 @@
Class ThrowableSubject
TruthFailureSubject
-public class ThrowableSubject +@NullMarked +public class ThrowableSubject extends SubjectPropositions forThrowable
subjects. diff --git a/api/latest/com/google/common/truth/Truth.html b/api/latest/com/google/common/truth/Truth.html index 8e6f9f3ec..81daa2c43 100644 --- a/api/latest/com/google/common/truth/Truth.html +++ b/api/latest/com/google/common/truth/Truth.html @@ -132,7 +132,8 @@Class Truth
-public final class Truth +@NullMarked +public final class Truth extends java.lang.Object
The primary entry point for Truth, a library for fluent test assertions. diff --git a/api/latest/com/google/common/truth/TruthFailureSubject.html b/api/latest/com/google/common/truth/TruthFailureSubject.html index e7dfd319d..4797739ea 100644 --- a/api/latest/com/google/common/truth/TruthFailureSubject.html +++ b/api/latest/com/google/common/truth/TruthFailureSubject.html @@ -142,7 +142,8 @@Class TruthFailureSubject
-public final class TruthFailureSubject +@NullMarked +public final class TruthFailureSubject extends ThrowableSubjectSubject forAssertionError
objects thrown by Truth.TruthFailureSubject
contains methods for asserting about the individual "facts" of those failures. This allows tests to avoid diff --git a/api/latest/com/google/common/truth/TruthJUnit.html b/api/latest/com/google/common/truth/TruthJUnit.html index 240d71648..ca436456a 100644 --- a/api/latest/com/google/common/truth/TruthJUnit.html +++ b/api/latest/com/google/common/truth/TruthJUnit.html @@ -132,7 +132,8 @@Class TruthJUnit
-@GwtIncompatible("JUnit4") +@NullMarked +@GwtIncompatible("JUnit4") public final class TruthJUnit extends java.lang.ObjectProvides a way to use Truth to perform JUnit "assumptions." An assumption is a check that, if diff --git a/api/latest/member-search-index.zip b/api/latest/member-search-index.zip index 8b6bf68ce..4440329ba 100644 Binary files a/api/latest/member-search-index.zip and b/api/latest/member-search-index.zip differ diff --git a/api/latest/package-search-index.zip b/api/latest/package-search-index.zip index 09601632e..58890801d 100644 Binary files a/api/latest/package-search-index.zip and b/api/latest/package-search-index.zip differ diff --git a/api/latest/type-search-index.zip b/api/latest/type-search-index.zip index d972b3063..1f8758320 100644 Binary files a/api/latest/type-search-index.zip and b/api/latest/type-search-index.zip differ