Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TestResource (0.3 sec)

  1. 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)
  2. 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)
  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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. guava-gwt/pom.xml

          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>test</directory>
          </testResource>
          <testResource>
            <directory>test-super</directory>
          </testResource>
          <testResource>
            <directory>${project.build.directory}/guava-test-gwt-sources</directory>
          </testResource>
        </testResources>
      </build>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. android/pom.xml

            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>test</directory>
            <excludes>
              <exclude>**/*.java</exclude>
            </excludes>
          </testResource>
        </testResources>
        <plugins>
          <plugin>
            <artifactId>maven-enforcer-plugin</artifactId>
            <executions>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. pom.xml

            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>test</directory>
            <excludes>
              <exclude>**/*.java</exclude>
            </excludes>
          </testResource>
        </testResources>
        <plugins>
          <plugin>
            <artifactId>maven-enforcer-plugin</artifactId>
            <executions>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
Back to top