Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for FS_SIZE_INFO (0.07 sec)

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

            void shouldReturnCorrectFileSystemInformationClass() {
                // Test with default FS_SIZE_INFO
                TestAllocInfo defaultInfo = new TestAllocInfo(1000L, 500L);
                assertEquals(FileSystemInformation.FS_SIZE_INFO, defaultInfo.getFileSystemInformationClass());
    
                // Test with SMB_INFO_ALLOCATION
    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/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @Test
        void testGetInformationLevel() {
            // Test getInformationLevel method
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO);
    
            assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel());
        }
    
        @Test
        void testGetInfo() {
            // Test getInfo method when info is null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        }
    
        @Test
        @DisplayName("Test constructor with FS_SIZE_INFO")
        void testConstructorWithFsSizeInfo() {
            // Create instance with FS_SIZE_INFO
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO);
    
            // Verify initialization
            assertNotNull(trans2QueryFSInfo);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION);
            }
    
            @Test
            @DisplayName("Should have correct FS_SIZE_INFO constant value")
            void testFsSizeInfoConstant() {
                assertEquals((byte) 3, FileSystemInformation.FS_SIZE_INFO);
            }
    
            @Test
            @DisplayName("Should have correct FS_FULL_SIZE_INFO constant value")
            void testFsFullSizeInfoConstant() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            }
    
            @Test
            @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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with FILESYSTEM info type - FS_SIZE_INFO")
        void testReadBytesWireFormatFilesystemSizeInfo() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, Smb2Constants.SMB2_0_INFO_FILESYSTEM, FileSystemInformation.FS_SIZE_INFO);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
            // Set structure size to 9
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top