Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for propagated (2.72 sec)

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

            assertTrue(filter.accept(smbFile), "Positive size should be accepted");
            verify(smbFile, times(1)).length();
            verifyNoMoreInteractions(smbFile);
        }
    
        @Test
        @DisplayName("accept: propagates SmbException thrown by dependency")
        void accept_propagatesSmbException() throws Exception {
            // Arrange: filter delegates to isDirectory which may throw SmbException
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Then: Should call sendrecv with bind message
                verify(spyHandle).sendrecv(any(DcerpcMessage.class));
            }
    
            @Test
            @DisplayName("Should propagate IOException during bind")
            void testBindIOException() throws DcerpcException, IOException {
                // Given: Spy that throws IOException on sendrecv
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

         * @throws JobProcessingException if the script explicitly throws this exception
         *         (allows scripts to signal job-specific errors that should propagate)
         */
        @Override
        public Object evaluate(final String template, final Map<String, Object> paramMap) {
            // Null-safety: return null for blank templates
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(0, testMessage.getTreeId());
                testMessage.setTreeId(123);
                assertEquals(123, testMessage.getTreeId());
            }
    
            @Test
            @DisplayName("Should propagate tree ID to chained message")
            void testTreeIdPropagation() {
                TestServerMessageBlock2 nextMessage = new TestServerMessageBlock2(mockConfig);
                testMessage.chain(nextMessage);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top