Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 621 for incorrectly (0.09 seconds)

  1. src/main/java/jcifs/smb1/smb1/DosError.java

         * Array of descriptive strings for each DOS error condition.
         */
        String[] DOS_ERROR_MESSAGES = { "The operation completed successfully.", "Incorrect function.", "Incorrect function.",
                "The system cannot find the file specified.", "Bad password.", "The system cannot find the path specified.", "reserved",
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/DosError.java

         * Array of descriptive strings for each DOS error condition.
         */
        String[] DOS_ERROR_MESSAGES = { "The operation completed successfully.", "Incorrect function.", "Incorrect function.",
                "The system cannot find the file specified.", "Bad password.", "The system cannot find the path specified.", "reserved",
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            byte[] token = { 0x0A, 0x0B, 0x0C };
    
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);
    
            // Then - verify fields are set correctly using reflection
            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertNull(context.getHashAlgos());
                assertNull(context.getSalt());
            }
    
            @Test
            @DisplayName("Should encode context correctly")
            void testEncode() {
                // Arrange
                context = new PreauthIntegrityNegotiateContext(mockConfig, testHashAlgos, testSalt);
                byte[] buffer = new byte[100];
    
                // Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        @Test
        @DisplayName("readInt4 should correctly read 32-bit integer")
        void testReadInt4() {
            byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78 };
            int result = SessionServicePacket.readInt4(src, 0);
    
            assertEquals(0x12345678, result);
        }
    
        @Test
        @DisplayName("readInt4 with negative bytes should handle correctly")
        void testReadInt4WithNegativeBytes() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

            @Test
            @DisplayName("Should correctly implement SmbBasicFileInfo interface")
            void testSmbBasicFileInfoInterface() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(60, buffer, 0);
    
                // Use proper millisecond times that will be converted correctly
                long creationTimeMs = System.currentTimeMillis();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @Test
            @DisplayName("Should calculate size correctly with no data")
            void testSizeWithNoData() {
                request.setData(new byte[0], 0, 0);
                int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8;
                assertEquals(expectedSize, request.size());
            }
    
            @Test
            @DisplayName("Should calculate size correctly with data")
            void testSizeWithData() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, result);
                verify(mockFileSystemInfo, times(1)).getFileSystemInformationClass();
            }
    
            @Test
            @DisplayName("Should decode buffer correctly")
            void testDecode() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[100];
                when(mockFileSystemInfo.decode(any(byte[].class), anyInt(), anyInt())).thenReturn(24);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. tests/test_compat.py

        assert is_uploadfile_sequence_annotation(Union[list[str], list[UploadFile]])
    
    
    def test_serialize_sequence_value_with_optional_list():
        """Test that serialize_sequence_value handles optional lists correctly."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=Union[list[str], None])
        field = v2.ModelField(name="items", field_info=field_info)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Then: Should parse correctly
                assertNotNull(binding);
                assertEquals(expectedProto, binding.getProto());
                assertEquals(expectedServer, binding.getServer());
                assertEquals(expectedEndpoint, binding.getEndpoint());
            }
    
            @ParameterizedTest
            @DisplayName("Should handle IPv6 addresses correctly")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top