Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testGetFileSystemInformationClass (0.58 sec)

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

        }
    
        @Nested
        @DisplayName("Mock Interface Tests")
        class MockInterfaceTests {
    
            @Test
            @DisplayName("Should return configured file system information class")
            void testGetFileSystemInformationClass() {
                when(mockFileSystemInfo.getFileSystemInformationClass()).thenReturn(FileSystemInformation.FS_SIZE_INFO);
    
                byte result = mockFileSystemInfo.getFileSystemInformationClass();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        @BeforeEach
        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)
Back to top