Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for testAllPublicStaticMethods (0.44 sec)

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
      private static String rootLocaleFormat(String format, Object... args) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

            GeneralRange.range(ORDERING, 3, CLOSED, 5, OPEN).reverse());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(GeneralRange.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

                  absentBehavior);
            }
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(SortedLists.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
        fail();
      }
    
      public void testDontAcceptIae() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ThrowsNpe.class);
        tester.testAllPublicStaticMethods(ThrowsUoe.class);
        try {
          tester.testAllPublicStaticMethods(ThrowsIae.class);
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      public void testNulls() throws Exception {
        new NullPointerTester()
            .setDefault(Class.class, Color.class)
            .setDefault(Iterable.class, EnumSet.allOf(Color.class))
            .testAllPublicStaticMethods(EnumMultiset.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/BytesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Bytes.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      public void testNulls() throws Exception {
        new NullPointerTester()
            .setDefault(Class.class, Color.class)
            .setDefault(Iterable.class, EnumSet.allOf(Color.class))
            .testAllPublicStaticMethods(EnumMultiset.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
      private static String rootLocaleFormat(String format, Object... args) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ObjectsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Objects.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top