Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 81 for testNulls (0.07 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

    import java.util.Enumeration;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link InetAddresses}.
     *
     * @author Erik Kline
     */
    public class InetAddressesTest extends TestCase {
    
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(InetAddresses.class);
      }
    
      public void testForStringBogusInput() {
        ImmutableSet<String> bogusInputs =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        return Resources.asByteSource(left).contentEquals(Resources.asByteSource(right));
      }
    
      private static class Nested {}
    
    
      public void testNulls() throws IOException {
        new NullPointerTester().testAllPublicStaticMethods(ClassPath.class);
        new NullPointerTester()
            .testAllPublicInstanceMethods(ClassPath.from(getClass().getClassLoader()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.countTrue(false, false, true, false, false)).isEqualTo(1);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Booleans.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

          assertThat(Floats.tryParse(badInput)).isNull();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Floats.class);
      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testStringConverter_convert() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      public void testAsListEmpty() {
        assertThat(Ints.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Ints.class);
      }
    
      public void testStringConverter_convert() {
        Converter<String, Integer> converter = Ints.stringConverter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/DoublesTest.java

          assertThat(Doubles.tryParse(badInput)).isNull();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Doubles.class);
      }
    
      public void testStringConverter_convert() {
        Converter<String, Double> converter = Doubles.stringConverter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

          assertThat(Floats.tryParse(badInput)).isNull();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Floats.class);
      }
    
      @GwtIncompatible // Float.toString returns different value in GWT.
      public void testStringConverter_convert() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      public void testAsListEmpty() {
        assertThat(Longs.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Longs.class);
      }
    
      public void testStringConverter_convert() {
        Converter<String, Long> converter = Longs.stringConverter();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testIterables_nullCheck() throws Exception {
        new ClassSanityTester()
            .forAllPublicStaticMethods(Iterables.class)
            .thatReturn(Iterable.class)
            .testNulls();
      }
    
      private static void verifyMergeSorted(
          Iterable<Iterable<Integer>> iterables, Iterable<Integer> unsortedExpected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top