Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 19 for BOGUS (0.09 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        before.assertRun();
        after.assertRun();
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullListener() {
        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullExecutor() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        before.assertRun();
        after.assertRun();
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullListener() {
        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullExecutor() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testPadStart_negativeMinLength() {
        assertThat(Strings.padStart("x", -1, '-')).isSameInstanceAs("x");
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testPadStart_negativeMinLength() {
        assertThat(Strings.padStart("x", -1, '-')).isSameInstanceAs("x");
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertThat(e.escape("foo%7Cbar")).isEqualTo("foo%7Cbar"); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      @SuppressWarnings("nullness") // test of a bogus call
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
      static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) {
        // URL escapers should throw null pointer exceptions for null input
        try {
          e.escape((String) null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      protected static String formatFeatureSet(Set<? extends Feature<?>> features) {
        List<String> temp = new ArrayList<>();
        for (Feature<?> feature : features) {
          Object featureAsObject = feature; // to work around bogus JDK warning
          if (featureAsObject instanceof Enum) {
            Enum<?> f = (Enum<?>) featureAsObject;
            temp.add(f.getDeclaringClass().getSimpleName() + "." + feature);
          } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertThat(e.escape("foo%7Cbar")).isEqualTo("foo%7Cbar"); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      @SuppressWarnings("nullness") // test of a bogus call
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIdentitySerializable() {
        checkCanReserializeSingleton(Functions.identity());
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testToStringFunction_apply() {
        assertThat(Functions.toStringFunction().apply(3)).isEqualTo("3");
        assertThat(Functions.toStringFunction().apply("hiya")).isEqualTo("hiya");
        assertThat(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
Back to Top