Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 156 for NullPointerTester (0.08 sec)

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

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testContainsPattern_nulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        Predicate<CharSequence> isWooString = Predicates.containsPattern("Woo");
    
        tester.testAllPublicInstanceMethods(isWooString);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testContains_nulls() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CaseFormatTest.java

            assertEquals(from + " to " + to, " ", from.to(to, " "));
          }
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullArguments() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(CaseFormat.class);
        for (CaseFormat format : CaseFormat.values()) {
          tester.testAllPublicInstanceMethods(format);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).isEmpty();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        new NullPointerTester().testAllPublicStaticMethods(Throwables.class);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(Equivalence.identity(), Equivalence.identity())
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() throws NoSuchMethodException {
        NullPointerTester tester = new NullPointerTester();
        // Necessary until JDK15:
        // https://bugs.openjdk.org/browse/JDK-8202469
        tester.ignore(Equivalence.class.getMethod("wrap", Object.class));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        assertEquals(2, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    
      public void testChecksForNull() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer));
        tester.testAllPublicStaticMethods(HashingInputStream.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

        assertEquals(2, numOfByteRead);
    
        assertEquals(expectedHash, in.hash());
      }
    
      public void testChecksForNull() throws Exception {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicInstanceMethods(new HashingInputStream(Hashing.md5(), buffer));
        tester.testAllPublicStaticMethods(HashingInputStream.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/OptionalTest.java

        Optional<Number> first = (Optional<Number>) numbers.first();
        Number value = first.or(0.5); // fine
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(Optional.class);
        npTester.testAllPublicStaticMethods(Optional.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

        assertEquals("five", queue.remove());
        assertTrue(queue.isEmpty());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(EvictingQueue.class);
        tester.testAllPublicConstructors(EvictingQueue.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertFalse(completed);
        thread.start();
        thread.join();
        assertTrue(completed);
      }
    
      public void testNulls() {
        NullPointerTester npTester = new NullPointerTester();
        npTester.testAllPublicConstructors(ThreadFactoryBuilder.class);
        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top