Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 93 for propagated (0.2 sec)

  1. src/test/java/jcifs/SmbTreeTest.java

         */
        @Test
        void testClose_throwsException() {
            doThrow(new RuntimeException("Failed to close")).when(smbTree).close();
    
            assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails");
        }
    
        /**
         * Test for AutoCloseable functionality.
         * Verifies that SmbTree can be used in try-with-resources.
         */
        @Test
        void testAutoCloseable() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

              nextHeaderIndex += entriesToEvict
            }
            return entriesToEvict
          }
    
          /**
           * Read `byteCount` bytes of headers from the source stream. This implementation does not
           * propagate the never indexed flag of a header.
           */
          @Throws(IOException::class)
          fun readHeaders() {
            while (!source.exhausted()) {
              val b = source.readByte() and 0xff
              when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            verify(resp, atLeastOnce()).reset();
            // Verify disconnect was called on retry
            verify(c, atLeastOnce()).disconnect(eq(true));
        }
    
        @Test
        @DisplayName("send honors NO_RETRY and propagates error immediately")
        void send_noRetry_param() throws Exception {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                throw new RuntimeException("Test exception");
            };
    
            try {
                ThreadDumpUtil.processThreadDump(exceptionConsumer);
                fail("Should propagate RuntimeException from consumer");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.16.md

    * kubeadm: fix "certificate-authority" files not being pre-loaded when using file discovery ([#80966](https://github.com/kubernetes/kubernetes/pull/80966), [@neolit123](https://github.com/neolit123))
    * Errors from pod volume set up are now propagated as pod events. ([#80369](https://github.com/kubernetes/kubernetes/pull/80369), [@jsafrane](https://github.com/jsafrane))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Oct 23 20:13:20 UTC 2024
    - 345.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/EventBus.java

     *   <li>It doesn't support backpressure and other features needed for resilience.
     *   <li>It doesn't provide much control of threading.
     *   <li>It doesn't offer much monitoring.
     *   <li>It doesn't propagate exceptions, so apps don't have a way to react to them.
     *   <li>It doesn't interoperate well with RxJava, coroutines, and other more commonly used
     *       alternatives.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            RuntimeException thrownException = assertThrows(RuntimeException.class, () -> {
                delegatingConfig.getResponseTimeout();
            });
    
            assertSame(testException, thrownException, "Should propagate exception from delegate");
            verify(mockDelegate).getResponseTimeout();
        }
    
        @Test
        @DisplayName("Multiple method calls should result in multiple delegate calls")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("S-1-5-10-20", domSidCap.getValue().toString());
            }
    
            @Test
            @DisplayName("initContext then accessors propagate resolver CIFSException as log-only (no throw)")
            void testResolveWeakCIFSExceptionIsIgnored() throws Exception {
                SID sid = new SID("S-1-5-21-1-2-3");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top