Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 381 for failures (0.05 sec)

  1. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log authentication failure")
        void testLogAuthenticationFailure() {
            logger.logAuthentication(false, "testuser", "DOMAIN", "192.168.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
        }
    
        @Test
        @DisplayName("Test log file access")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      public void testTrustedGetFailure_failed() {
        SettableFuture<String> future = SettableFuture.create();
        Throwable failure = new Throwable();
        future.setException(failure);
        assertThat(future.tryInternalFastPathGetFailure()).isEqualTo(failure);
      }
    
      public void testTrustedGetFailure_notCompleted() {
        SettableFuture<String> future = SettableFuture.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

        try {
          testHttpUrl(testData)
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Expected failure but was success: $testData")
          }
        } catch (e: Throwable) {
          if (KNOWN_FAILURES.contains(testData.toString())) {
            System.err.println("Ignoring known failure: $testData")
            e.printStackTrace()
          } else {
            throw e
          }
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

                testReconnector.testCreateReconnectionRequest(testHandle);
            });
        }
    
        /**
         * Test implementation of HandleReconnector that allows controlling success/failure
         */
        private static class TestHandleReconnector extends HandleReconnector {
            private final boolean shouldSucceed;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    
        MockCallback(Throwable expectedFailure) {
          this.failure = expectedFailure;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

            throw new UnsupportedOperationException();
        }
    
        /**
         * Starts a scheduled job by ID.
         *
         * @param id the ID of the scheduled job to start
         * @return JSON response indicating success or failure
         */
        // PUT /api/admin/scheduler/{id}/start
        @Execute(urlPattern = "{}/@word")
        public JsonResponse<ApiResult> put$start(final String id) {
            scheduledJobService.getScheduledJob(id).ifPresent(entity -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * <p>If the combiningCallable throws an {@code ExecutionException}, the cause of the thrown
         * {@code ExecutionException} will be extracted and used as the failure of the derived step.
         *
         * <p>If the combiningCallable throws any other exception, it will be used as the failure of the
         * derived step.
         *
         * <p>If an exception is thrown after the combiningCallable creates a {@code ClosingFuture},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              hasBody -> requestBody.buffer.readByteString()
              else -> null
            },
          connectionIndex = connectionIndex,
          exchangeIndex = exchangeIndex,
          socket = socket,
          failure = failure,
        )
      }
    
      @Throws(IOException::class)
      private fun handleWebSocketUpgrade(
        socket: MockWebServerSocket,
        request: RecordedRequest,
        response: MockResponse,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            verify(handle, times(1)).hasCapability(captor.capture());
            assertEquals(cap, captor.getValue());
        }
    
        @Test
        @DisplayName("hasCapability(cap): propagates CIFSException on failure")
        void hasCapability_throws() throws Exception {
            // Arrange
            when(handle.hasCapability(anyInt())).thenThrow(new CIFSException("capability check failed"));
    
            // Act + Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          seenExceptionsLocal = newConcurrentHashSet();
          /*
           * Other handleException() callers may see this as soon as we publish it. We need to populate
           * it with the initial failure before we do, or else they may think that the initial failure
           * has never been seen before.
           */
          addInitialException(seenExceptionsLocal);
    
          ATOMIC_HELPER.compareAndSetSeenExceptions(this, null, seenExceptionsLocal);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top