Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 109 for propagate (0.05 sec)

  1. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            Supplier<String> supplier = mock(Supplier.class);
            when(supplier.get()).thenThrow(new RuntimeException(new SmbUnsupportedOperationException("boom")));
    
            // Act & Assert: the exception is propagated and interaction recorded once
            RuntimeException thrown = assertThrows(RuntimeException.class, supplier::get);
            assertInstanceOf(SmbUnsupportedOperationException.class, thrown.getCause());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

            // Then it should be rejected because the ARCHIVE attribute is not present
            assertFalse(dosFileFilter.accept(mockFile));
        }
    
        /**
         * Tests that the accept method correctly propagates SmbException when
         * {@link SmbFile#getAttributes()} throws it.
         * @throws SmbException if an SMB error occurs.
         */
        @Test
        void testAccept_ThrowsSmbException() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            boolean result = filter.accept(null, "anything");
    
            assertTrue(result, "Filter should accept when dir is null as defined");
        }
    
        /**
         * Exception flow: filter throws SmbException and it propagates to caller.
         */
        @Test
        @DisplayName("throws SmbException as declared by contract")
        void throwsSmbExceptionFromFilter() {
            SmbFilenameFilter filter = (dir, name) -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                    throw new RuntimeException("Script evaluation failed");
                }
            });
    
            // Execute and verify exception is propagated
            try {
                scriptExecutor.execute("errorEngine", "test");
                fail("Expected RuntimeException");
            } catch (RuntimeException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

            verify(configuration, atLeastOnce()).getOemEncoding();
            verifyNoMoreInteractions(cifsContext, configuration);
        }
    
        @Test
        @DisplayName("getPreNTLMResponse: unsupported OEM encoding propagates as runtime exception")
        void testGetPreNTLMResponse_invalidEncoding() {
            // Arrange
            when(cifsContext.getConfig()).thenReturn(configuration);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(nego.isSigningNegotiated()).thenReturn(false);
            assertFalse(session.isSignatureSetupRequired());
        }
    
        @Test
        @DisplayName("reauthenticate propagates transport failures")
        void testReauthenticatePropagates() throws Exception {
            SmbSessionImpl session = newSession();
            // Cause the inner reauthenticate to fail at first transport call
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        assertEquals(0, numCalls.get());
        reject.set(false);
        executor.execute(task);
        assertEquals(1, numCalls.get());
      }
    
      /*
       * Under Android, MyError propagates up and fails the test?
       *
       * TODO(b/218700094): Does this matter to prod users, or is it just a feature of our testing
       * environment? If the latter, maybe write a custom Executor that avoids failing the test when it
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * <p>There is no guaranteed ordering of execution of listeners, but any listener added through
       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.6.md

    * Fix for [federation failing to propagate cascading deletion](https://github.com/kubernetes/kubernetes/issues/44304). ([#44108](https://github.com/kubernetes/kubernetes/pull/44108), [@csbell](https://github.com/csbell))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  10. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

       * <p>There is no guaranteed ordering of execution of listeners, but any listener added through
       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top