Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 2,109 for collect (0.07 sec)

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

        void connectWrapException_wraps_io_and_unkhost() throws Exception {
            // Subclass to control connect() behavior
            SmbTreeConnection c = new SmbTreeConnection(ctx) {
                @Override
                public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException {
                    throw new java.net.UnknownHostException("nohost");
                }
            };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

        @Test
        void testWitnessEventTypes() {
            assertEquals(7, WitnessEventType.values().length);
    
            WitnessEventType[] events = WitnessEventType.values();
    
            // Verify all expected event types with correct values
            assertEquals(1, WitnessEventType.RESOURCE_CHANGE.getValue());
            assertEquals(2, WitnessEventType.CLIENT_MOVE.getValue());
            assertEquals(3, WitnessEventType.SHARE_MOVE.getValue());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

                assertEquals(expectedUuid, actualUuid, "DCERPC_UUID_SYNTAX_NDR should have the correct UUID value");
            }
        }
    
        @Nested
        @DisplayName("Fragment Flag Constants Tests")
        class FragmentFlagTests {
    
            @Test
            @DisplayName("DCERPC_FIRST_FRAG should have correct value")
            void testDcerpcFirstFrag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. docs/pt/docs/help-fastapi.md

    Podendo selecionar apenas "Novos Updates".
    
    Fazendo isto, serão enviadas notificações (em seu email) sempre que tiver novos updates (uma nova versão) com correções de bugs e novos recursos no **FastAPI**
    
    ## Conect-se com o autor
    
    Você pode se conectar <a href="https://tiangolo.com" class="external-link" target="_blank">comigo (Sebastián Ramírez / `tiangolo`)</a>, o autor.
    
    Você pode:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals("\\", request.getPath());
    
            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
        @DisplayName("Test getPath returns correct formatted path")
        void testGetPath() {
            request = new Smb2CreateRequest(mockConfig, "share\\file.txt");
            assertEquals("\\share\\file.txt", request.getPath());
    
            request.setPath("newpath\\newfile.txt");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileTest.java

        @Nested
        class WhenHandlingConnections {
    
            @Test
            void testConnect() throws IOException {
                // Arrange
                doNothing().when(smbFile).connect();
    
                // Act
                smbFile.connect();
    
                // Assert - should not throw exception
            }
    
            @Test
            void testClose() {
                // Act
                smbFile.close();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            @Test
            @DisplayName("Should have correct constant values for PreauthIntegrityNegotiateContext")
            void testPreauthConstants() {
                assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE);
                assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512);
            }
    
            @Test
            @DisplayName("Should have correct constant values for EncryptionNegotiateContext")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        class SamrCloseHandleTests {
    
            @Test
            @DisplayName("Should construct with correct opnum")
            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Tree Connect request message.
     *
     * This command is used to connect to a shared resource
     * on the server, such as a file share or printer.
     *
     * @author mbechler
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

         */
        public void setHeartbeatInterval(long heartbeatInterval) {
            this.heartbeatInterval = heartbeatInterval;
        }
    
        /**
         * Validates that the heartbeat response is correct.
         * The response sequence number should match the request sequence number.
         *
         * @return true if the response is valid
         */
        public boolean isValidResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top