- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for FILE_STANDARD_INFO (0.33 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/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
* @return */ static long mapInformationLevel(final int il) { switch (il) { case FileInformation.FILE_BASIC_INFO: return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; } throw new IllegalArgumentException("Unsupported information level " + il); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInformation.java
byte FILE_ENDOFFILE_INFO = 20; /** * File basic information class constant. */ byte FILE_BASIC_INFO = 0x4; /** * File standard information class constant. */ byte FILE_STANDARD_INFO = 0x5; /** * File internal information class constant. */ byte FILE_INTERNAL_INFO = 0x6; /** * File rename information class constant. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
/** * Default constructor for decoding file standard information. */ public FileStandardInfo() { } @Override public byte getFileInformationLevel() { return FILE_STANDARD_INFO; } @Override public int getAttributes() { return 0; } @Override public long getCreateTime() { return 0L; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K 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/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
FileInformation inf; switch (this.informationLevel) { case FileInformation.FILE_BASIC_INFO: inf = new FileBasicInfo(); break; case FileInformation.FILE_STANDARD_INFO: inf = new FileStandardInfo(); break; case FileInformation.FILE_INTERNAL_INFO: inf = new FileInternalInfo(); break; default:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K 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)