Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testGetFileName (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            notifyInfo.decode(buffer, 0, buffer.length);
    
            assertEquals(expectedAction, notifyInfo.getAction());
        }
    
        @Test
        @DisplayName("Test getFileName returns correct value")
        void testGetFileName() throws SMBProtocolDecodingException {
            String expectedFileName = "important_document.xlsx";
            byte[] buffer = createValidNotificationBuffer(expectedFileName, FileNotifyInformation.FILE_ACTION_ADDED);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertArrayEquals(testFileId, response.getFileId());
            }
    
            @Test
            @DisplayName("getFileName should return the file name passed in constructor")
            void testGetFileName() {
                assertEquals(testFileName, response.getFileName());
            }
        }
    
        @Nested
        @DisplayName("writeBytesWireFormat Tests")
        class WriteBytesWireFormatTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 26.9K bytes
    - Click Count (0)
Back to Top