Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 269 for testGet (0.25 sec)

  1. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        tester.testAllPublicInstanceMethods(builder);
      }
    
      @GwtIncompatible // CacheTesting
      public void testSizingDefaults() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @GwtIncompatible // NullPointerTester
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        tester.testAllPublicInstanceMethods(builder);
      }
    
      @GwtIncompatible // CacheTesting
      public void testSizingDefaults() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("Status of test-cluster is changed to RED.", result);
            // Note: Notification sending is tested but we don't verify the mock since it uses complex callback mechanism
        }
    
        // Test state change with empty notification addresses
        public void test_execute_stateChangeEmptyNotificationAddresses() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.setAccessible(true);
                assertEquals(oplockLevel, oplockLevelField.get(notification));
    
                // Log the test for clarity
                logger.debug("Tested oplock level: {} ({})", oplockLevel, description);
            }
    
            private static Stream<Arguments> provideOplockLevels() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

            assertEquals(Integer.MAX_VALUE, negotiationResponse.getTransactionBufferSize());
    
            // Test negative values (though not typical, should be tested)
            when(negotiationResponse.getSendBufferSize()).thenReturn(-1);
            when(negotiationResponse.getReceiveBufferSize()).thenReturn(-1);
            when(negotiationResponse.getTransactionBufferSize()).thenReturn(-1);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

      fun fromJavaNetUrlUnsupportedScheme() {
        // java.net.MalformedURLException: unknown protocol: mailto
        platform.assumeNotAndroid()
    
        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        FORBIDDEN,
    
        /** Hostnames that contain this character are encoded with punycode.  */
        PUNYCODE,
    
        /** This code point is special and should not be tested.  */
        SKIP,
    
        ;
    
        open fun encode(codePoint: Int): String = throw UnsupportedOperationException()
      }
    
      enum class Component {
        USER {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA)))
            .testEquals();
      }
    
      /* Remaining behavior tested by AbstractBiMapTest. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        return ImmutableList.of(
            createMapMaker().weakValues(), createMapMaker().weakKeys().weakValues());
      }
    
      public void testNullParameters() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(makeMap(createMapMaker()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top