Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for testAllPublicInstanceMethods (0.18 sec)

  1. guava-tests/test/com/google/common/base/SplitterTest.java

      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Splitter.class);
        tester.testAllPublicInstanceMethods(COMMA_SPLITTER);
        tester.testAllPublicInstanceMethods(COMMA_SPLITTER.trimResults());
      }
    
      public void testMapSplitter_trimmedBoth() {
        Map<String, String> m =
            COMMA_SPLITTER
                .trimResults()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(EnumBiMap.class);
        new NullPointerTester()
            .testAllPublicInstanceMethods(
                EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CHILE)));
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        tester.testAllPublicConstructors(AtomicLongMap.class);
        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create(in);
        assertFalse(map.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        NullPointerTester tester =
            new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY);
        tester.testAllPublicConstructors(MacHashFunction.class);
        tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString"));
      }
    
      public void testHashing() throws Exception {
        for (String stringToTest : INPUTS) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableList.class);
        tester.testAllPublicInstanceMethods(ImmutableList.of(1, 2, 3));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization_empty() {
        Collection<String> c = ImmutableList.of();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      private static class Nested {}
    
    
      public void testNulls() throws IOException {
        new NullPointerTester().testAllPublicStaticMethods(ClassPath.class);
        new NullPointerTester()
            .testAllPublicInstanceMethods(ClassPath.from(getClass().getClassLoader()));
      }
    
      @AndroidIncompatible // ClassPath is documented as not supporting Android
    
      public void testLocationsFrom_idempotentScan() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        final NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(InternetDomainName.class);
        tester.testAllPublicInstanceMethods(InternetDomainName.from("google.com"));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

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

            .testEquals();
      }
    
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(Invokable.class);
        new NullPointerTester().testAllPublicInstanceMethods(Prepender.method("staticMethod"));
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      private @interface NotBlank {}
    
      /** Class for testing constructor, static method and instance method. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        tester.ignore(LinkedListMultimap.class.getMethod("get", Object.class));
        tester.ignore(LinkedListMultimap.class.getMethod("removeAll", Object.class));
        tester.testAllPublicInstanceMethods(LinkedListMultimap.create());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top