Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 156 for NullPointerTester (0.09 sec)

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

        assertEquals(1, multimap1.asMap().size());
        assertSame(multimap1, multimap2);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMap.class);
        tester.testAllPublicInstanceMethods(new ImmutableMap.Builder<Object, Object>());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      public void testAsListEmpty() {
        assertThat(Chars.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Chars.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

            .addEqualityGroup(Prepender.method("privateFinalMethod"))
            .testEquals();
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Invokable.class);
        new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod"));
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      private @interface NotBlank {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

            .addEqualityGroup(Prepender.method("privateFinalMethod"))
            .testEquals();
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Invokable.class);
        new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod"));
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      private @interface NotBlank {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            IllegalArgumentException.class,
            () -> {
              BloomFilter.create(Funnels.unencodedCharsFunnel(), n, p);
            });
      }
    
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100));
        tester.testAllPublicStaticMethods(BloomFilter.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            .testEquals();
      }
    
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(LinkedListMultimap.class);
        tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/SplitterTest.java

      public void testInvalidZeroLimit() {
        assertThrows(IllegalArgumentException.class, () -> COMMA_SPLITTER.limit(0));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Splitter.class);
        tester.testAllPublicInstanceMethods(COMMA_SPLITTER);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

            .put("bar", 2)
            .put("foo", 3)
            .build();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

     *
     * @author Marcin Mikosik
     */
    @GwtCompatible(emulated = true)
    public class FluentIterableTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(FluentIterable.class);
      }
    
      public void testFromArrayAndAppend() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/LongMathTest.java

        if (big.compareTo(MIN_LONG) < 0) {
          return Long.MIN_VALUE;
        }
        return big.longValue();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top