Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for testGetFileInformationLevel (1.33 sec)

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

            assertNotNull(info);
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_RENAME_INFO, fileRenameInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test size calculation with short filename")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        @BeforeEach
        void setUp() {
            fileStandardInfo = new FileStandardInfo();
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns FILE_STANDARD_INFO")
        void testGetFileInformationLevel() {
            assertEquals(BasicFileInformation.FILE_STANDARD_INFO, fileStandardInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getAttributes returns 0")
        void testGetAttributes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        @BeforeEach
        void setUp() {
            fileInternalInfo = new FileInternalInfo();
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns FILE_INTERNAL_INFO")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_INTERNAL_INFO, fileInternalInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test initial indexNumber value is 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(TEST_ATTRIBUTES, info.getAttributes());
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getSize always returns 0")
        void testGetSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            assertNotNull(info);
            assertTrue(info.toString().contains("endOfFile=" + endOfFile));
        }
    
        @Test
        @DisplayName("Test getFileInformationLevel returns correct value")
        void testGetFileInformationLevel() {
            assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel());
    
            // Test with parameterized constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top