Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for assertWithMessage (1.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

            .that(actual.keyEquivalence)
            .isEqualTo(expected.keyEquivalence);
        assertWithMessage("keyStrength").that(actual.keyStrength).isEqualTo(expected.keyStrength);
        assertWithMessage("removalListener")
            .that(actual.removalListener)
            .isEqualTo(expected.removalListener);
        assertWithMessage("weigher").that(actual.weigher).isEqualTo(expected.weigher);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

          assertWithMessage("Creator should not have been called @#%s", i)
              .that(loader.wasCalled())
              .isFalse();
        }
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    
        assertWithMessage("Map must be empty by now").that(cache.size()).isEqualTo(0);
        assertWithMessage("Eviction notifications must be received")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top