- Sort Score
- Num 10 results
- Language All
Results 11 - 17 of 17 for getFileInformationLevel (0.13 seconds)
-
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
@BeforeEach void setUp() { fileInternalInfo = new FileInternalInfo(); } @Test @DisplayName("Test getFileInformationLevel returns FILE_INTERNAL_INFO") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_INTERNAL_INFO, fileInternalInfo.getFileInformationLevel()); } @Test @DisplayName("Test initial indexNumber value is 0") void testInitialIndexNumber() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
assertEquals(TEST_ATTRIBUTES, info.getAttributes()); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_BASIC_INFO, fileBasicInfo.getFileInformationLevel()); } @Test @DisplayName("Test getSize always returns 0") void testGetSize() { // Default instance
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @Test @DisplayName("Test constructor with FileInformation parameter") void testConstructorWithFileInformation() { // Setup mock FileInformation when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO); // Create instance trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); // Verify initializationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
final int start = dstIndex; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(Trans2QueryPathInformation.mapInformationLevel(this.info.getFileInformationLevel()), dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; return dstIndex - start; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
*/ public <T extends FileInformation & Encodable> void setFileInformation(final T fi) { setInfoType(Smb2Constants.SMB2_0_INFO_FILE); setFileInfoClass(fi.getFileInformationLevel()); setInfo(fi); } /** * Sets the encodable information object for this request * * @param info * the info to set */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Create a mock FileInformation that is also Encodable TestFileInformation mockFileInfo = mock(TestFileInformation.class); byte expectedLevel = (byte) 0x04; when(mockFileInfo.getFileInformationLevel()).thenReturn(expectedLevel); request.setFileInformation(mockFileInfo); // Verify the info type, file info class, and info object were set try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0)