- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestResource (0.33 sec)
-
src/test/java/jcifs/util/ResourceManagerTest.java
} @Test @DisplayName("Test force cleanup") @Timeout(value = 5, unit = TimeUnit.SECONDS) void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
@BeforeEach void setUp() { notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); } @Test void testNotificationCreation() { assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType()); assertEquals("TestResource", notification.getResourceName()); assertTrue(notification.getTimestamp() <= System.currentTimeMillis());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5K bytes - Viewed (0)