Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for testAllPublicInstanceMethods (0.21 sec)

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

        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableMultimap.of("a", 1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        list.add(THROWING_RUNNABLE, directExecutor());
        list.execute();
        list.add(THROWING_RUNNABLE, directExecutor());
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicInstanceMethods(new ExecutionList());
      }
    
      private static final Runnable THROWING_RUNNABLE =
          new Runnable() {
            @Override
            public void run() {
              throw new RuntimeException();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/OptionalTest.java

        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(Optional.class);
        npTester.testAllPublicStaticMethods(Optional.class);
        npTester.testAllPublicInstanceMethods(Optional.absent());
        npTester.testAllPublicInstanceMethods(Optional.of("training"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/MoreObjectsTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerTest.java

    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new MapMaker());
      }
    
      @GwtIncompatible // threads
      static final class DelayingIdentityLoader<T> implements Function<T, T> {
        private final CountDownLatch delayLatch;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    public class MapMakerTest extends TestCase {
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new MapMaker());
      }
    
      @GwtIncompatible // threads
      static final class DelayingIdentityLoader<T> implements Function<T, T> {
        private final CountDownLatch delayLatch;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        tester.testAllPublicStaticMethods(ImmutableMap.class);
        tester.testAllPublicInstanceMethods(new ImmutableMap.Builder<Object, Object>());
        tester.testAllPublicInstanceMethods(ImmutableMap.of());
        tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1));
        tester.testAllPublicInstanceMethods(ImmutableMap.of("one", 1, "two", 2, "three", 3));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        out.write(buf);
    
        assertEquals(expectedHash, out.hash());
      }
    
      public void testChecksForNull() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(
            new HashingOutputStream(Hashing.md5(), new ByteArrayOutputStream()));
        tester.testAllPublicStaticMethods(HashingOutputStream.class);
        tester.testAllPublicConstructors(HashingOutputStream.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top