Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testNullPointerExceptions (0.36 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    @SuppressWarnings("SetAutoIncrementStep_Nanos")
    @NullUnmarked
    public class FakeTickerTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
      public void testAdvance() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

                Short.class,
                Void.class);
    
        assertThrows(UnsupportedOperationException.class, () -> wrappers.remove(Boolean.class));
      }
    
      @GwtIncompatible
      @J2ktIncompatible
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Primitives.class);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

    @SuppressWarnings("SetAutoIncrementStep_Nanos")
    @NullUnmarked
    public class FakeTickerTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(new FakeTicker());
      }
    
      @GwtIncompatible // java.time.Duration
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FunctionsTest.java

      public void testToStringFunctionSerializable() {
        checkCanReserializeSingleton(Functions.toStringFunction());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Functions.class);
      }
    
      public void testForMapWithoutDefault() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class ObjectArraysTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ObjectArrays.class);
      }
    
      @GwtIncompatible // ObjectArrays.newArray(Class, int)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

                CollectionFeature.KNOWN_ORDER,
                CollectionSize.ANY)
            .createTestSuite();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Collections2.class);
      }
    
      public void testOrderedPermutationSetEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      public void testToStringFunctionSerializable() {
        checkCanReserializeSingleton(Functions.toStringFunction());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Functions.class);
      }
    
      public void testForMapWithoutDefault() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/IterablesTest.java

        for (@SuppressWarnings("unused") Object obj : iterable) {}
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Iterables.class);
      }
    
      // More exhaustive tests are in IteratorsTest.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        // Predicate<Integer> p3 = Predicates.in(nums);
        // Predicate<Integer> p4 = Predicates.<Integer>in(nums);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Predicates.class);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

        CopyOnWriteArrayList<Integer> list = Lists.newCopyOnWriteArrayList(SOME_ITERABLE);
        assertEquals(SOME_COLLECTION, list);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Lists.class);
      }
    
      /**
       * This is just here to illustrate how {@code Arrays#asList} differs from {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top