Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 101 for getDefault (0.41 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            () ->
                new ForwardingWrapperTester()
                    .testForwarding(String.class, Functions.<String>identity()));
      }
    
      public void testNulls() {
        new NullPointerTester()
            .setDefault(Class.class, Runnable.class)
            .testAllPublicInstanceMethods(new ForwardingWrapperTester());
      }
    
      private <T> void assertFailure(
          Class<T> interfaceType,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/LongMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. ci/official/utilities/extract_resultstore_links.py

        result_store_line_match = re.search(RESULT_STORE_LINK_RE, line)
        if not result_store_line_match:
          continue
    
        url = result_store_line_match.group(1)
        url_lines = result_store_links.setdefault(url, {})
        # Each bazel RBE invocation should produce two
        # 'Streaming build results to: ...' lines, one at the start, and one at the
        # end of the invocation.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetsTest.java

      @GwtIncompatible // NullPointerTester
      @AndroidIncompatible // see ImmutableTableTest.testNullPointerInstance
      public void testNullPointerExceptions() {
        new NullPointerTester()
            .setDefault(Enum.class, SomeEnum.A)
            .setDefault(Class.class, SomeEnum.class) // for newEnumSet
            .testAllPublicStaticMethods(Sets.class);
      }
    
      public void testNewSetFromMap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        }
      }
    
      public void testNulls() {
        ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
        new NullPointerTester()
            .setDefault(ServiceManager.Listener.class, new RecordingListener())
            .testAllPublicInstanceMethods(manager);
      }
    
      private static final class RecordingListener extends ServiceManager.Listener {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        }
      }
    
      public void testNulls() {
        ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
        new NullPointerTester()
            .setDefault(ServiceManager.Listener.class, new RecordingListener())
            .testAllPublicInstanceMethods(manager);
      }
    
      private static final class RecordingListener extends ServiceManager.Listener {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              }
            });
        assertEquals(oldName, Thread.currentThread().getName());
      }
    
      public void testExecutors_nullCheck() throws Exception {
        new ClassSanityTester()
            .setDefault(RateLimiter.class, RateLimiter.create(1.0))
            .forAllPublicStaticMethods(MoreExecutors.class)
            .thatReturn(Executor.class)
            .testNulls();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  9. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              }
            });
        assertEquals(oldName, Thread.currentThread().getName());
      }
    
      public void testExecutors_nullCheck() throws Exception {
        new ClassSanityTester()
            .setDefault(RateLimiter.class, RateLimiter.create(1.0))
            .forAllPublicStaticMethods(MoreExecutors.class)
            .thatReturn(Executor.class)
            .testNulls();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

        return big.bitLength() <= 31;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.testAllPublicStaticMethods(IntMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top