Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for testResources (0.05 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
    
            // Register a witness first
            String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1);
    
            // Send notification affecting the registration
            mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "TestResource");
    
            // Clean up
            mockService.unregisterWitness(regId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

        WitnessNotification notification = new WitnessNotification(
            WitnessEventType.CLIENT_MOVE, "TestResource");
        
        notification.addNewIPAddress(InetAddress.getByName("192.168.1.101"));
        
        assertEquals(WitnessEventType.CLIENT_MOVE, notification.getEventType());
        assertEquals("TestResource", notification.getResourceName());
        assertEquals(1, notification.getNewIPAddresses().size());
    }
    
    @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        /**
         * @deprecated {@link Resource} is replaced by {@link SourceRoot}.
         */
        @Deprecated(since = "4.0.0")
        public void addTestResource(Resource testResource) {
            addResource(ProjectScope.TEST, testResource);
        }
    
        public void setLicenses(List<License> licenses) {
            getModel().setLicenses(licenses);
        }
    
        public List<License> getLicenses() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top