Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for copyYamlTestsTask (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            when:
            def result = gradleRunner("copyRestApiSpecsTask").build()
    
            then:
            result.task(':copyRestApiSpecsTask').outcome == TaskOutcome.NO_SOURCE
            result.task(':copyYamlTestsTask').outcome == TaskOutcome.NO_SOURCE
        }
    
        def "restResources copies API by default for projects with tests"() {
            given:
            internalBuild()
            buildFile << """
    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. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPluginFuncTest.groovy

            }
            """
    
            when:
            def result = gradleRunner("yamlRestTest").build()
    
            then:
            result.task(':yamlRestTest').outcome == TaskOutcome.NO_SOURCE
            result.task(':copyYamlTestsTask').outcome == TaskOutcome.NO_SOURCE
            result.task(':copyRestApiSpecsTask').outcome == TaskOutcome.NO_SOURCE
        }
    
        def "yamlRestTest executes and copies api and tests to correct source set"() {
            given:
    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)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestResourcesPlugin.java

     *
     * @see CopyRestApiTask
     * @see CopyRestTestsTask
     */
    public class RestResourcesPlugin implements Plugin<Project> {
    
        public static final String COPY_YAML_TESTS_TASK = "copyYamlTestsTask";
        public static final String COPY_REST_API_SPECS_TASK = "copyRestApiSpecsTask";
        private static final String EXTENSION_NAME = "restResources";
    
        @Override
        public void apply(Project project) {
    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/YamlRestCompatTestPluginFuncTest.groovy

            file("/build/resources/yamlRestCompatTest/rest-api-spec/test/" + wrongTest).exists() == false
    
            result.task(':copyRestApiSpecsTask').outcome == TaskOutcome.NO_SOURCE
            result.task(':copyYamlTestsTask').outcome == TaskOutcome.NO_SOURCE
    
            when:
            result = gradleRunner("yamlRestTestV${compatibleVersion}CompatTest").build()
    
            then:
    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)
Back to Top