Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 129 for recovered (0.06 sec)

  1. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link ImmutableGraph} and {@link ImmutableGraph.Builder} that are not ready covered by
     * {@link StandardImmutableDirectedGraphTest}.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class StandardImmutableGraphAdditionalTest {
    
      @Test
      public void immutableGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /**
     * Tests for {@link ImmutableGraph} and {@link ImmutableGraph.Builder} that are not ready covered by
     * {@link StandardImmutableDirectedGraphTest}.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class StandardImmutableGraphAdditionalTest {
    
      @Test
      public void immutableGraph() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.List;
    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.elementSet()} not covered by the derived {@code SetTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

      if (position.index == length) {
        // STANDARD_DATE_FORMAT must match exactly; all text must be consumed, e.g. no ignored
        // non-standard trailing "+01:00". Those cases are covered below.
        return result
      }
      synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) {
        for (i in 0 until BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) {
          var format: DateFormat? = BROWSER_COMPATIBLE_DATE_FORMATS[i]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            IOException error = new IOException("Connection failed");
            failover.handleFailure(failedChannel, error);
    
            // Wait a bit for recovery attempt
            Thread.sleep(100);
    
            verify(mockChannelManager).createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        testers.add(SetRemoveTester.class);
        // SetRemoveAllTester doesn't exist because, Sets not permitting
        // duplicate elements, there are no tests for Set.removeAll() that aren't
        // covered by CollectionRemoveAllTester.
        return testers;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/AbstractCIFSContextTest.java

            // Simulate the shutdown hook being run
            spyContext.run();
    
            assertTrue(spyContext.isCloseCalled()); // Verify close() was called
            // We can't directly assert on log.warn, but we've covered the path
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NbtExceptionTest.java

            assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException");
        }
    
        /**
         * Test the getErrorString method with various error classes and codes to ensure all branches are covered.
         */
        @ParameterizedTest
        @MethodSource("provideErrorClassAndCodeForGetErrorString")
        @DisplayName("getErrorString should return correct messages for all defined error classes and codes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/AuthenticationRateLimiter.java

                }
    
                recentAttempts.incrementAndGet();
                lastAttempt = now;
            }
    
            void recordSuccess() {
                // Reduce counter on success to allow recovery
                recentAttempts.updateAndGet(val -> Math.max(0, val - 1));
            }
    
            void reset() {
                recentAttempts.set(0);
                blocked.set(false);
                blockExpiry = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
                CollectionSize.ANY)
            .skipCollectionTests() // already covered in TestsForListsInJavaUtil
            .suppressing(suppressForLinkedList())
            .createTestSuite();
      }
    
      public Test testsForArrayBlockingQueue() {
        return QueueTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top