- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for getFileInformationLevel (0.64 sec)
-
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Define behavior when(mockFileInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); // Test interface method byte level = mockFileInfo.getFileInformationLevel(); assertEquals(FileInformation.FILE_BASIC_INFO, level); // Verify interaction verify(mockFileInfo).getFileInformationLevel(); } /** * Test FileInformation as Decodable
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/fscc/FileEndOfFileInformationTest.java
assertTrue(info.toString().contains("endOfFile=" + endOfFile)); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_ENDOFFILE_INFO, fileInfo.getFileInformationLevel()); // Test with parameterized constructor FileEndOfFileInformation info = new FileEndOfFileInformation(5000L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
assertNotNull(info); } @Test @DisplayName("Test getFileInformationLevel returns correct value") void testGetFileInformationLevel() { assertEquals(FileInformation.FILE_RENAME_INFO, fileRenameInfo.getFileInformationLevel()); } @Test @DisplayName("Test size calculation with short filename") void testSizeWithShortFilename() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
*/ public FileEndOfFileInformation() { } /** * {@inheritDoc} * * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel() */ @Override public byte getFileInformationLevel() { return FileInformation.FILE_ENDOFFILE_INFO; } /** * Constructs file end of file information. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileInternalInfo.java
*/ public FileInternalInfo() { } /** * {@inheritDoc} * * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel() */ @Override public byte getFileInformationLevel() { return FILE_INTERNAL_INFO; } /** * Gets the file index number. * * @return the index number assigned by the file system */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
when(mockBasicFileInfo.getLastAccessTime()).thenReturn(TEST_LAST_ACCESS_TIME); when(mockBasicFileInfo.getSize()).thenReturn(1024L); when(mockBasicFileInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); // When & Then assertEquals(TEST_ATTRIBUTES, mockBasicFileInfo.getAttributes()); assertEquals(TEST_CREATE_TIME, mockBasicFileInfo.getCreateTime());
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/fscc/FileRenameInformation2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
this.changeTime = change; this.attributes = attributes; } /** * {@inheritDoc} * * @see jcifs.internal.fscc.FileInformation#getFileInformationLevel() */ @Override public byte getFileInformationLevel() { return FileInformation.FILE_BASIC_INFO; } @Override public int getAttributes() { return this.attributes; } @Override
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
} @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 initialization
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (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() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)