- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for assertWithMessage (0.28 sec)
-
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
assertWithMessage( rootLocaleFormat("%s must be annotated with @TesterAnnotation.", annotationClass)) .that(annotationClass.getAnnotation(TesterAnnotation.class)) .isNotNull(); Retention retentionPolicy = annotationClass.getAnnotation(Retention.class); assertWithMessage(rootLocaleFormat("%s must have a @Retention annotation.", annotationClass))Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
if (values.hasAnyNonFinite()) { assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN(); assertWithMessage("population covariance by addAll(PairedStats) of %s", values) .that(populationCovarianceByAddAllPartitionedPairedStats) .isNaN(); } else { assertWithMessage("population covariance of %s", values)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
if (values.hasAnyNaN()) { assertWithMessage("mean of %s", values).that(mean).isNaN(); assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN(); } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) { assertWithMessage("mean of %s", values).that(mean).isNaN();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 36.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
if (values.hasAnyNonFinite()) { assertWithMessage("population covariance of %s", values).that(populationCovariance).isNaN(); assertWithMessage("population covariance by addAll(PairedStats) of %s", values) .that(populationCovarianceByAddAllPartitionedPairedStats) .isNaN(); } else { assertWithMessage("population covariance of %s", values)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue(); assertWithMessage("%s is supertype of %s", returnType, paramType) .that(TypeToken.of(returnType).isSupertypeOf(paramType)) .isTrue();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.tryParse("9999999999999999")).isNull(); assertWithMessage("Max integer + 1") .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1))) .isNull(); assertWithMessage("Max integer * 10") .that(Ints.tryParse(Long.toString(((long) GREATEST) * 10))) .isNull(); assertWithMessage("Min integer - 1") .that(Ints.tryParse(Long.toString(((long) LEAST) - 1)))
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue(); assertWithMessage("%s is supertype of %s", returnType, paramType) .that(TypeToken.of(returnType).isSupertypeOf(paramType)) .isTrue();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertWithMessage("Float value of %s", unsignedValue) .that(unsignedValue.floatValue()) .isEqualTo(unsignedValue.bigIntegerValue().floatValue()); } } public void testDoubleValue() { for (long value : TEST_LONGS) { UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value); assertWithMessage("Double value of %s", unsignedValue)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
assertWithMessage("Float value of %s", unsignedValue) .that(unsignedValue.floatValue()) .isEqualTo(unsignedValue.bigIntegerValue().floatValue()); } } public void testDoubleValue() { for (long value : TEST_LONGS) { UnsignedLong unsignedValue = UnsignedLong.fromLongBits(value); assertWithMessage("Double value of %s", unsignedValue)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
if (expected == 0) { assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected); } else if (expected < 0) { assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual) .that(actual < 0) .isTrue(); } else { assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 7K bytes - Viewed (0)