Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DOS_ERROR_MESSAGES (0.19 sec)

  1. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            verify(mock).consume(expectedNt);
        }
    
        @Test
        @DisplayName("DOS_ERROR_MESSAGES length matches expectations")
        void testMessageArrayLength() {
            assertNotNull(DosError.DOS_ERROR_MESSAGES, "DOS_ERROR_MESSAGES should be non‑null");
            assertTrue(DosError.DOS_ERROR_MESSAGES.length >= DosError.DOS_ERROR_CODES.length, "DOS_ERROR_MESSAGES should cover all codes");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Messages: array is present and contains expected first entries")
        void dosErrorMessagesContainsExpectedTexts() {
            // Arrange & Act
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Assert
            assertNotNull(msgs);
            assertTrue(msgs.length >= 3, "Expect at least the first 3 entries present");
            assertEquals("The operation completed successfully.", msgs[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbException.java

                        min = mid + 1;
                    } else if (errcode < DOS_ERROR_CODES[mid][0]) {
                        max = mid - 1;
                    } else {
                        return DOS_ERROR_MESSAGES[mid];
                    }
                }
            }
    
            return "0x" + Hexdump.toHexString(errcode, 8);
        }
    
        static int getStatusByCode(final int errcode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DosError.java

         * map to NTSTATUS codes.
         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
         * 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",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/DosError.java

         */
        /**
         * Human-readable error messages corresponding to DOS error codes.
         * 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",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top