- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for SmbWatchHandle (0.14 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/SmbWatchHandleTest.java
@Test void testAutoCloseable() throws CIFSException { // Create a mock that tracks close calls SmbWatchHandle autoCloseableHandle = mock(SmbWatchHandle.class); when(autoCloseableHandle.watch()).thenReturn(mockNotifications); // Use try-with-resources try (SmbWatchHandle handle = autoCloseableHandle) { List<FileNotifyInformation> result = handle.watch();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
src/test/java/jcifs/SmbResourceTest.java
class SmbResourceTest { @Mock private SmbResource mockResource; @Mock private SmbResourceLocator mockLocator; @Mock private CIFSContext mockContext; @Mock private SmbWatchHandle mockWatchHandle; @Mock private SmbRandomAccess mockRandomAccess; @Mock private InputStream mockInputStream; @Mock private OutputStream mockOutputStream; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0)