Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 31 for testResources (0.06 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore1).exists()
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiCore2).exists()
            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + apiXpack).exists()
            file("/build/restResources/yamlTests/rest-api-spec/test/" + coreTest).exists()
            file("/build/restResources/yamlTests/rest-api-spec/test/" + xpackTest).exists()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     * configured with `includeCore` or `includeXpack` through the `restResources.restTests` extension.
     * <i>For example:</i>
     * <pre>
     * restResources {
     *  restApi {
     *      includeXpack 'graph'
     *   }
     *   restTests {
     *     includeXpack 'graph'
     *   }
     * }
     * </pre>
     * Will copy any of the the x-pack tests that start with graph, and will copy the X-pack graph specification, as well as the full core
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:36:58 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            file("/build/restResources/yamlSpecs/rest-api-spec/api/" + api).exists()
            file("/build/resources/yamlRestTest/rest-api-spec/test/10_basic.yml").exists()
            file("/build/classes/java/yamlRestTest/MockIT.class").exists()
    
            // check that our copied specs and tests are on the yamlRestTest classpath
            result.output.contains("./build/restResources/yamlSpecs")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  5. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

        def compatibleVersion = Version.fromString(VersionProperties.getVersions().get("elasticsearch")).getMajor() - 1
        def specIntermediateDir = "restResources/v${compatibleVersion}/yamlSpecs"
        def testIntermediateDir = "restResources/v${compatibleVersion}/yamlTests"
        def transformTask  = ":yamlRestTestV${compatibleVersion}CompatTransform"
        def YAML_FACTORY = new YAMLFactory()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
  8. build-tools-internal/build.gradle

        }
        repositories {
          id = 'elasticsearch.repositories'
          implementationClass = 'org.elasticsearch.gradle.internal.RepositoriesSetupPlugin'
        }
        restResources {
          id = 'elasticsearch.rest-resources'
          implementationClass = 'org.elasticsearch.gradle.internal.test.rest.RestResourcesPlugin'
        }
        restTest {
          id = 'elasticsearch.rest-test'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/YamlRestCompatTestPlugin.java

        public void apply(Project project) {
            final int compatibleVersion = Version.fromString(VersionProperties.getVersions().get("elasticsearch")).getMajor() - 1;
            final Path compatRestResourcesDir = Path.of("restResources").resolve("v" + compatibleVersion);
            final Path compatSpecsDir = compatRestResourcesDir.resolve("yamlSpecs");
            final Path compatTestsDir = compatRestResourcesDir.resolve("yamlTests");
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 11.7K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
Back to Top