Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for TestResource (0.13 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. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.1.0.xml

          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>${project.basedir}/src/test/resources</directory>
          </testResource>
          <testResource>
            <directory>${project.basedir}/src/test/resources-filtered</directory>
            <filtering>true</filtering>
          </testResource>
        </testResources>
      </build>
    
      <reporting>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.2.0.xml

          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>${project.basedir}/src/test/resources</directory>
          </testResource>
          <testResource>
            <directory>${project.basedir}/src/test/resources-filtered</directory>
            <filtering>true</filtering>
          </testResource>
        </testResources>
      </build>
    
      <reporting>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 03:10:05 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 03:10:05 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertEquals(
                    "'build.resources.resource.directory' is missing.",
                    result.getErrors().get(0));
    
            assertEquals(
                    "'build.testResources.testResource.directory' is missing.",
                    result.getErrors().get(1));
        }
    
        @Test
        void testBadPluginDependencyScope() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  10. 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