Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getFileSystemInformationClass (0.43 sec)

  1. src/test/java/jcifs/internal/AllocInfoTest.java

            @DisplayName("Should inherit getFileSystemInformationClass from FileSystemInformation")
            void shouldInheritGetFileSystemInformationClass() throws NoSuchMethodException {
                // Verify method is inherited
                assertNotNull(AllocInfo.class.getMethod("getFileSystemInformationClass"));
                assertEquals(byte.class, AllocInfo.class.getMethod("getFileSystemInformationClass").getReturnType());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                when(mockFileSystemInfo.getFileSystemInformationClass()).thenReturn(FileSystemInformation.FS_SIZE_INFO);
    
                byte result = mockFileSystemInfo.getFileSystemInformationClass();
    
                assertEquals(FileSystemInformation.FS_SIZE_INFO, result);
                verify(mockFileSystemInfo, times(1)).getFileSystemInformationClass();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @DisplayName("Should return correct file system information class")
            void shouldReturnCorrectFileSystemInformationClass() {
                assertEquals(FileSystemInformation.FS_SIZE_INFO, fileFsSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
        @DisplayName("Test getFileSystemInformationClass returns SMB_INFO_ALLOCATION")
        void testGetFileSystemInformationClass() {
            assertEquals(FileSystemInformation.SMB_INFO_ALLOCATION, smbInfoAllocation.getFileSystemInformationClass());
        }
    
        @Test
        @DisplayName("Test decode with typical values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            @DisplayName("Should return correct file system information class")
            void shouldReturnCorrectFileSystemInformationClass() {
                assertEquals(FileSystemInformation.FS_FULL_SIZE_INFO, fileFsFullSizeInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Decode Method Tests")
        class DecodeMethodTests {
    
            @Test
            @DisplayName("Should decode buffer with typical values correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top