- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for FILE_STANDARD_INFO (0.16 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
assertNotNull(trans2QueryPathInfo); // Test with FILE_STANDARD_INFO trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, FileInformation.FILE_STANDARD_INFO); assertNotNull(trans2QueryPathInfo); // Test with FILE_ENDOFFILE_INFO
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
when(standardInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_STANDARD_INFO); when(internalInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_INTERNAL_INFO); // Verify each has correct level assertEquals(FileInformation.FILE_BASIC_INFO, basicInfo.getFileInformationLevel()); assertEquals(FileInformation.FILE_STANDARD_INFO, standardInfo.getFileInformationLevel());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
} @Test @DisplayName("Test constructor with FILE_STANDARD_INFO level") void testConstructorWithFileStandardInfo() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_STANDARD_INFO); assertNotNull(response); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, response.getSubCommand()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
public long getSize() { return 666L; } @Override public byte getFileInformationLevel() { return FileInformation.FILE_STANDARD_INFO; } @Override public int decode(byte[] buffer, int bufferIndex, int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @DisplayName("Test with different information levels") @ParameterizedTest @CsvSource({ "4, 257", // FILE_BASIC_INFO -> 0x0101 "5, 258", // FILE_STANDARD_INFO -> 0x0102 "20, 260" // FILE_ENDOFFILE_INFO -> 0x0104 }) void testWithDifferentInformationLevels(byte infoLevel, int expectedMappedValue) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)