Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for testAllPublicStaticMethods (0.79 sec)

  1. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        }
      }
    
      @AndroidIncompatible // .class files aren't available
      public void testNulls() {
        new NullPointerTester()
            .setDefault(URL.class, classfile(ResourcesTest.class))
            .testAllPublicStaticMethods(Resources.class);
      }
    
      private static URL classfile(Class<?> c) {
        return c.getResource(c.getSimpleName() + ".class");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

      public void testNulls() throws Exception {
        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)
  3. guava-tests/test/com/google/common/base/MoreObjectsTest.java

      public void testNulls() throws Exception {
        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)
  4. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

      }
    
      @GwtIncompatible
      @J2ktIncompatible
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Primitives.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

                  absentBehavior);
            }
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(SortedLists.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/InternersTest.java

        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
      public void testNullPointerExceptions() {
        new NullPointerTester().testAllPublicStaticMethods(Interners.class);
      }
    
      public void testConcurrencyLevel_zero() {
        Interners.InternerBuilder builder = Interners.newBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

        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)
  8. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      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());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

      }
    
      @GwtIncompatible
      @J2ktIncompatible
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Primitives.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/InternersTest.java

        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
      public void testNullPointerExceptions() {
        new NullPointerTester().testAllPublicStaticMethods(Interners.class);
      }
    
      public void testConcurrencyLevel_zero() {
        Interners.InternerBuilder builder = Interners.newBuilder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top