- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isHidden (0.04 sec)
-
src/test/java/jcifs/SmbResourceTest.java
when(mockResource.isDirectory()).thenReturn(false); when(mockResource.isHidden()).thenReturn(false); // When boolean isFile = mockResource.isFile(); boolean isDirectory = mockResource.isDirectory(); boolean isHidden = mockResource.isHidden(); // Then assertTrue(isFile, "Should be a file");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
} @Test void testIsHidden() throws SmbException { // Arrange doReturn(true).when(smbFile).isHidden(); // Act & Assert assertTrue(smbFile.isHidden()); } @Test void testGetName() { // Act & Assert assertEquals("file.txt", smbFile.getName()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* * @return <code>true</code> if the <code>SmbResource</code> is marked as being hidden * @throws CIFSException if an error occurs accessing the resource */ boolean isHidden() throws CIFSException; /** * Tests to see if the file this <code>SmbResource</code> represents is not a directory. * * @return <code>true</code> if this <code>SmbResource</code> is not a directory
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)