Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for assertTaskNotSkipped (0.44 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            then:
            result.assertTaskNotSkipped(":generate")
            file("build/out.txt").text == "value"
    
            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskSkipped(":generate")
    
            when:
            runWithInput("generate", prompt, "")
    
            then:
            result.assertTaskNotSkipped(":generate")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy

            run("a")
    
            then:
            result.assertTaskSkipped(":a")
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskNotSkipped(":a")
            file("out.txt").text == "b"
    
            when:
            executer.withArgument("-Dname=b")
            run("a")
    
            then:
            result.assertTaskSkipped(":a")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:39:53 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

    
            when:
            run(testTaskName, "--tests", "${testSuite('SomeTest')}.${removeParentheses(passingTestCaseName)}")
    
            then:
            result.assertTaskNotSkipped(":$testTaskName")
            testResult.testClass("SomeTest").assertTestsExecuted(passingTestCaseName)
        }
    
        @ToBeFixedForConfigurationCache(bottomSpecs = "XCTestTestFrameworkIntegrationTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         */
        ExecutionResult assertTasksNotSkipped(Object... taskPaths);
    
        /**
         * Asserts that the given task has not been skipped.
         */
        ExecutionResult assertTaskNotSkipped(String taskPath);
    
        /**
         * Asserts that the important information from this result has been verified by the test.
         */
        void assertResultVisited();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResultTest.groovy

            result.skippedTasks == [":b"] as Set
    
            and:
            result.assertTasksNotSkipped(":a")
            result.assertTasksNotSkipped(":a", ":a", [":a"])
    
            and:
            result.assertTaskNotSkipped(":a")
    
            and:
            result.assertTasksSkipped(":b")
            result.assertTasksSkipped(":b", ":b", [":b"])
    
            and:
            result.assertTaskSkipped(":b")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

                outputResult.assertTasksNotSkipped(expected);
                return this;
            }
    
            @Override
            public ExecutionResult assertTaskNotSkipped(String taskPath) {
                assertThat(getNotSkippedTasks(), hasItem(taskPath));
                outputResult.assertTaskNotSkipped(taskPath);
                return this;
            }
    
            private Set<String> getNotSkippedTasks() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            then:
            result.assertTaskSkipped(":checkstyleMain")
    
            when:
            file("config/checkstyle/new-file.xml").touch()
            succeeds('check')
            then:
            result.assertTaskNotSkipped(":checkstyleMain")
        }
    
        @ToBeImplemented
        @Issue("GRADLE-3432")
        def "analyze bad resources"() {
            defaultLanguage('en')
            writeConfigFileForResources()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

                failOnDifferentSets("Build output does not contain the expected non skipped tasks.", expectedTasks, tasks);
            }
            return this;
        }
    
        @Override
        public ExecutionResult assertTaskNotSkipped(String taskPath) {
            Set<String> tasks = new TreeSet<>(getNotSkippedTasks());
            if (!tasks.contains(taskPath)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                }
    
                class Foo {
                    int x
                    String toString() { "xxx" }
                }
            """
    
            expect:
            run("foo").assertTaskNotSkipped(":foo")
            run("foo").assertTaskSkipped(":foo")
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-3435")
        def "task is not up-to-date after file moved between input properties"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            }
    
            return failure
        }
    
        protected void executedAndNotSkipped(String... tasks) {
            assertHasResult()
            tasks.each {
                result.assertTaskNotSkipped(it)
            }
        }
    
        protected void noneSkipped() {
            assertHasResult()
            result.assertTasksSkipped()
        }
    
        protected void allSkipped() {
            assertHasResult()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top