Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 960 for correctly (0.08 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(mockConfig, responseConfig);
    
            // Verify response has correct fileId
            assertEquals(testFileId, response.getFileId());
    
            // Verify response has correct fileName
            assertEquals(testFileName, response.getFileName());
        }
    
        @Test
        @DisplayName("size should return correct message size")
        void testSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should create request with correct command type and path")
        void testConstructorSetsCorrectCommandAndPath() throws Exception {
            // Given & When
            String path = "\\\\testserver\\testshare";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path);
    
            // Then - verify command is set correctly using reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenInitTest.java

            } finally {
                der.close();
            }
            return collector.toByteArray();
        }
    
        @Test
        @DisplayName("Round-trip: all fields set encodes and parses back correctly")
        void testRoundTripAllFields() throws Exception {
            ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test constructor initialization with valid parameters
         */
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/versions.md

    ## Pin your `fastapi` version { #pin-your-fastapi-version }
    
    The first thing you should do is to "pin" the version of **FastAPI** you are using to the specific latest version that you know works correctly for your application.
    
    For example, let's say you are using version `0.112.0` in your app.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly.");
            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Encode Tests")
        class EncodeTests {
    
            @Test
            @DisplayName("Should encode simple path correctly")
            void testEncodeSimplePath() {
                String path = "\\\\server\\share";
                int maxReferralLevel = 3;
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
        }
    
        @Nested
        @DisplayName("FileId Tests")
        class FileIdTests {
    
            @Test
            @DisplayName("Should set file ID correctly")
            void testSetFileId() {
                byte[] newFileId = new byte[16];
                new SecureRandom().nextBytes(newFileId);
    
                assertDoesNotThrow(() -> request.setFileId(newFileId));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        class GetterTests {
    
            @Test
            @DisplayName("getPtype should return correct packet type")
            void testGetPtype() {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST;
                assertEquals(DcerpcConstants.RPC_PT_REQUEST, message.getPtype());
            }
    
            @Test
            @DisplayName("getFlags should return correct flags")
            void testGetFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                        "Should return correct message for error 1");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2),
                        "Should return correct message for error 2");
                assertEquals("DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED", getResultMessageMethod.invoke(null, 3),
                        "Should return correct message for error 3");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top