Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for testNulls (2.99 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

            .addEqualityGroup(Prepender.method("privateMethod"), Prepender.method("privateMethod"))
            .addEqualityGroup(Prepender.method("privateFinalMethod"))
            .testEquals();
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Invokable.class);
        new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod"));
      }
    
      @Retention(RetentionPolicy.RUNTIME)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

              assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, warmupPermits, random));
            }
          }
        }
      }
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester()
                .setDefault(SleepingStopwatch.class, stopwatch)
                .setDefault(int.class, 1)
                .setDefault(double.class, 1.0d);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

              assertEquals(warmupMillis, measureTotalTimeMillis(rateLimiter, warmupPermits, random));
            }
          }
        }
      }
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester()
                .setDefault(SleepingStopwatch.class, stopwatch)
                .setDefault(int.class, 1)
                .setDefault(double.class, 1.0d);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

            .addEqualityGroup(Prepender.method("privateMethod"), Prepender.method("privateMethod"))
            .addEqualityGroup(Prepender.method("privateFinalMethod"))
            .testEquals();
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Invokable.class);
        new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod"));
      }
    
      @Retention(RetentionPolicy.RUNTIME)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            .addEqualityGroup(
                LinkedListMultimap.create(), LinkedListMultimap.create(), LinkedListMultimap.create(1))
            .testEquals();
      }
    
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
        tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        return Resources.asByteSource(left).contentEquals(Resources.asByteSource(right));
      }
    
      private static class Nested {}
    
    
      public void testNulls() throws IOException {
        new NullPointerTester().testAllPublicStaticMethods(ClassPath.class);
        new NullPointerTester()
            .testAllPublicInstanceMethods(ClassPath.from(getClass().getClassLoader()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        new ClassSanityTester()
            .setDefault(RateLimiter.class, RateLimiter.create(1.0))
            .forAllPublicStaticMethods(MoreExecutors.class)
            .thatReturn(Executor.class)
            .testNulls();
      }
    
      private static class TestApplication extends Application {
        private final List<Thread> hooks = Lists.newArrayList();
    
        @Override
        synchronized void addShutdownHook(Thread hook) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

            .put("foo", 1)
            .put("bar", 2)
            .put("foo", 3)
            .build();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
    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. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

          latch.countDown();
        }
    
        @Override
        protected String serviceName() {
          return this.getClass().getSimpleName() + "[" + index + "]";
        }
      }
    
      public void testNulls() {
        ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
        new NullPointerTester()
            .setDefault(ServiceManager.Listener.class, new RecordingListener())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

          assertThat(Doubles.tryParse(badInput)).isNull();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Doubles.class);
      }
    
      public void testStringConverter_convert() {
        Converter<String, Double> converter = Doubles.stringConverter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
Back to top