Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 75 for testAllPublicInstanceMethods (0.17 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      // null parameters test
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        CacheLoader<Object, Object> loader = identityLoader();
        tester.testAllPublicInstanceMethods(makeCache(createCacheBuilder(), loader));
      }
    
      // stats tests
    
      public void testStats() {
        CacheBuilder<Object, Object> builder = createCacheBuilder().concurrencyLevel(1).maximumSize(2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

      // null parameters test
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        CacheLoader<Object, Object> loader = identityLoader();
        tester.testAllPublicInstanceMethods(makeCache(createCacheBuilder(), loader));
      }
    
      // stats tests
    
      public void testStats() {
        CacheBuilder<Object, Object> builder = createCacheBuilder().concurrencyLevel(1).maximumSize(2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(EnumHashBiMap.class);
        new NullPointerTester().testAllPublicInstanceMethods(EnumHashBiMap.create(Currency.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerInstance() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
        new NullPointerTester().testAllPublicInstanceMethods(table);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerInstance() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 2, 'c', "bar", 3, 'd');
        new NullPointerTester().testAllPublicInstanceMethods(table);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/CharMatcherTest.java

      public void testStaticNullPointers() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(CharMatcher.class);
        tester.testAllPublicInstanceMethods(CharMatcher.any());
        tester.testAllPublicInstanceMethods(CharMatcher.anyOf("abc"));
      }
    
      private static final CharMatcher WHATEVER =
          new CharMatcher() {
            @Override
            public boolean matches(char c) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                    .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,
          Function<T, ? extends T> wrapperFunction,
          String... expectedMessages) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicConstructors(AtomicDoubleArray.class);
        new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1));
      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top