Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 347 for directly (5.17 sec)

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

                SmbUnsupportedOperationException ex =
                        assertThrows(SmbUnsupportedOperationException.class, () -> SmbEnumerationUtil.list(parent, "*", 0, null, null));
                // SmbUnsupportedOperationException is directly thrown, not wrapped
                assertNotNull(ex);
            }
    
            @Test
            @DisplayName("listFiles propagates SmbUnsupportedOperationException from doEnum")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NetworkExplorerTest.java

            networkExplorer.doGet(request, response);
    
            verify(response).setContentType("application/octet-stream");
        }
    
        /**
         * Test doFile method directly - simplified test
         */
        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

                    // Verify the prefix is correct
                    assertTrue("Temp file prefix should be 'crawler-StorageClient-'", prefix.equals("crawler-StorageClient-"));
                    assertEquals("Temp file suffix should be '.out'", ".out", suffix);
                    assertNull("Directory should be null", directory);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/InfoTest.java

            assertEquals(1630000001000L, resp.getCreateTime());
            assertEquals(1630000001000L, resp.getLastWriteTime());
            assertEquals(2048, resp.getSize());
            // toString() uses lastWriteTime directly without offset
            assertTrue(resp.toString().contains(new Date(1630000000000L).toString()));
        }
    
        // Buffer helpers to build SMB basic file info wire format.
        // SMB uses little-endian byte order
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmSsp.java

    import jcifs.smb1.util.Base64;
    
    /**
     * This class is used internally by {@code NtlmHttpFilter},
     * {@code NtlmServlet}, and {@code NetworkExplorer} to negiotiate password
     * hashes via NTLM SSP with MSIE. It might also be used directly by servlet
     * containers to incorporate similar functionality.
     * <p>
     * How NTLMSSP is used in conjunction with HTTP and MSIE clients is
     * described in an <A HREF="http://www.innovation.ch/java/ntlm.html">NTLM
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        /**
         * Test of constructor, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testConstructor() {
            // The constructor sets the command and serverTimeZoneOffset.
            // We can't directly access serverTimeZoneOffset, but we can verify its effect.
            assertEquals(ServerMessageBlock.SMB_COM_QUERY_INFORMATION, response.command);
            assertEquals(serverTimeZoneOffset, response.getLastWriteTime());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture());
            MsrpcSamrOpenAlias capturedRpc = rpcCaptor.getValue();
            // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass
            // Instead, we verify the interaction with the DcerpcHandle and the return value.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmSsp.java

    /**
     * This class is used internally by {@code NtlmHttpFilter},
     * {@code NtlmServlet}, and {@code NetworkExplorer} to negotiate password
     * hashes via NTLM SSP with MSIE. It might also be used directly by servlet
     * containers to incorporate similar functionality.
     * <p>
     * How NTLMSSP is used in conjunction with HTTP and MSIE clients is
     * described in an <A HREF="http://www.innovation.ch/java/ntlm.html">NTLM
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

    /**
     * Tests for {@link SmbComClose}.
     * <p>
     * All tests are written in the same package as the class under test so
     * that package-private fields and constants can be accessed directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComCloseTest {
    
        /**
         * Ensure the constructor sets the {@code command} field of the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top