Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 238 for Chester (0.26 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableMultimap.of("a", 1));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        }
    
        return requirements;
      }
    
      /**
       * Find all the tester annotations declared on a tester class or method.
       *
       * @param classOrMethod a class or method whose tester annotations to find
       * @return an iterable sequence of tester annotations on the class
       */
      public static Iterable<Annotation> getTesterAnnotations(AnnotatedElement classOrMethod) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 21 15:08:35 GMT 2022
    - 12.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      public void testNullEqualityGroup() {
        EqualsTester tester = new EqualsTester();
        try {
          tester.addEqualityGroup((Object[]) null);
          fail();
        } catch (NullPointerException e) {
        }
      }
    
      public void testNullObjectInEqualityGroup() {
        EqualsTester tester = new EqualsTester();
        try {
          tester.addEqualityGroup(1, null, 3);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EquivalenceTest.java

        NullPointerTester tester = new NullPointerTester();
        // Necessary until JDK15:
        // https://bugs.openjdk.org/browse/JDK-8202469
        tester.ignore(Equivalence.class.getMethod("wrap", Object.class));
    
        tester.testAllPublicStaticMethods(Equivalence.class);
        tester.testAllPublicInstanceMethods(Equivalence.equals());
        tester.testAllPublicInstanceMethods(Equivalence.identity());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

      }
    
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testConstructors(PatternFilenameFilter.class, Visibility.PACKAGE);
        tester.testStaticMethods(PatternFilenameFilter.class, Visibility.PACKAGE); // currently none
    
        // The reason that we skip this method is discussed in a comment on the method.
        tester.ignore(PatternFilenameFilter.class.getMethod("accept", File.class, String.class));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
      public void testGoodForwarder() {
        tester.testForwarding(
            Arithmetic.class,
            new Function<Arithmetic, Arithmetic>() {
              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(EvictingQueue.class);
        tester.testAllPublicConstructors(EvictingQueue.class);
        EvictingQueue<String> queue = EvictingQueue.create(5);
        // The queue must be non-empty so it throws a NPE correctly
        queue.add("one");
        tester.testAllPublicInstanceMethods(queue);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top