Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testDecodeWithValidData (0.27 sec)

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        @Test
        @DisplayName("Test size method returns 22")
        void testSize() {
            assertEquals(22, fileStandardInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[30]; // Extra space to test offset
            int bufferIndex = 5; // Start at offset 5
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInternalInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = 0x123456789ABCDEF0L;
    
            // Encode test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top