Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for taskname (0.21 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DefaultTaskSelector.java

            private final String taskName;
    
            public TaskPathSpec(ProjectInternal targetProject, String taskName) {
                this.targetProject = targetProject;
                this.taskName = taskName;
            }
    
            @Override
            public boolean isSatisfiedBy(Task element) {
                if (!element.getName().equals(taskName)) {
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractTaskRelocationIntegrationTest.groovy

            when:
            succeeds taskName
            def originalResults = extractResults()
            then:
            executedAndNotSkipped taskName
    
            when:
            succeeds taskName
            then:
            skipped taskName
    
            when:
            moveFilesAround()
            succeeds taskName
            then:
            skipped(taskName)
    
            when:
            removeResults()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecDebugIntegrationTest.groovy

        }
    
        def "debug is disabled by default with task :#taskName"() {
            setup:
            sampleProject """
                debugOptions {
                }
            """
    
            expect:
            succeeds(taskName)
    
            where:
            taskName << ['runJavaExec', 'runExecOperationsJavaExec', 'test']
        }
    
        def "debug session fails without debugger with task :#taskName"() {
            setup:
            sampleProject """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedTaskOutputFixture.java

        private final String taskName;
    
        private String taskOutcome;
    
        public GroupedTaskOutputFixture(String taskName) {
            this.taskName = taskName;
        }
    
        public void setOutcome(String taskOutcome) {
            if (this.taskOutcome != null) {
                throw new AssertionError(taskName + " task's outcome is set twice!");
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractProjectRelocationIntegrationTest.groovy

            withBuildCache().run taskName
            def originalResults = extractResultsFrom(originalDir)
            then: "it is executed and cached"
            executedAndNotSkipped taskName
    
            when: "task is re-executed without the cache"
            inDirectory(originalDir)
            run taskName, '-i'
            then: "it is UP-TO-DATE"
            result.assertTaskSkipped taskName
    
            when: "it is executed in the new location"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ForkCapableRelocationIntegrationTest.groovy

            when:
            inDirectory(originalDir)
            withBuildCache().run taskName
    
            then:
            executedAndNotSkipped taskName
    
            and:
            outputContains('JavaAgent configured!')
    
            when:
            inDirectory(originalDir)
            withBuildCache().run taskName
    
            then:
            skipped taskName
    
            when:
            inDirectory(relocatedDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        configureGradleTestEnvironment()
        addSetUpAndTearDownActions()
    }
    
    fun executerRequiresDistribution(taskName: String) =
        !taskName.startsWith("embedded") || taskName.contains("CrossVersion") // <- Tooling API [other-version]->[current]
    
    fun executerRequiresFullDistribution(taskName: String) =
        taskName.startsWith("noDaemon")
    
    fun DistributionTest.addSetUpAndTearDownActions() {
        cachesCleaner = cachesCleanerService
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 14:05:00 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixture.java

        }
    
        public boolean hasTask(String taskName) {
            return tasks.containsKey(taskName);
        }
    
        public GroupedTaskOutputFixture task(String taskName) {
            boolean foundTask = hasTask(taskName);
    
            if (!foundTask) {
                throw new AssertionError(String.format("The grouped output for task '%s' could not be found.%nOutput:%n%s", taskName, originalOutput));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

            final boolean includeSubprojects;
            final String taskName;
    
            public ProjectResolutionResult(BuildState build, ProjectState project, boolean includeSubprojects, String taskName) {
                this.build = build;
                this.project = project;
                this.includeSubprojects = includeSubprojects;
                this.taskName = taskName;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

                systemProp.org.gradle.internal.cmdline.max.length=1000
            """
    
            when:
            succeeds taskName, "-i"
    
            then:
            executedAndNotSkipped(":$taskName")
            assertOutputContainsShorteningMessage()
    
            where:
            method                    | taskName
            'JavaExec task'           | 'run'
            'project.javaexec'        | 'runWithJavaExec'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top