Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for informationLevel (0.45 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Information level should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104)
            int informationLevel = SMBUtil.readInt2(buffer, 4);
            assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, informationLevel);
        }
    
        @Test
        void testZeroValues() {
            // Test with zero values for numeric parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                // Use reflection to verify the information level
                Field infoLevel = Trans2QueryPathInformationResponse.class.getDeclaredField("informationLevel");
                infoLevel.setAccessible(true);
                assertEquals(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO, infoLevel.getInt(resp));
    
                // Verify subCommand is set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

                FileSystemInformation.FS_FULL_SIZE_INFO })
        void testConstructorWithDifferentInformationLevels(int informationLevel) {
            // Test constructor with different information levels
            response = new Trans2QueryFSInformationResponse(config, informationLevel);
    
            assertNotNull(response);
            assertEquals(informationLevel, response.getInformationLevel());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            String result = trans2QueryFSInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("Trans2QueryFSInformation"));
            assertTrue(result.contains("informationLevel=0x"));
            // SMB_INFO_ALLOCATION is -1, which should be displayed properly
            assertTrue(result.contains("fff") || result.contains("FFF"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertTrue(result.contains("searchAttributes=0x16"));
            assertTrue(result.contains("searchCount=50"));
            assertTrue(result.contains("flags=0x00"));
            assertTrue(result.contains("informationLevel=0x104"));
            assertTrue(result.contains("searchStorageType=0"));
            assertTrue(result.contains("filename=\\test\\path\\"));
        }
    
        @Test
        @DisplayName("Test constants values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            String result = trans2QueryPathInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("Trans2QueryPathInformation"));
            assertTrue(result.contains("informationLevel=0x"));
            assertTrue(result.contains("filename=" + TEST_FILENAME));
            assertTrue(result.contains(Hexdump.toHexString(TEST_INFO_LEVEL, 3)));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top