Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for assertTasksExecutedAndNotSkipped (0.45 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskWiringIntegrationTest.groovy

            configurationCacheRun(":transformer")
    
            then:
            result.assertTasksExecutedAndNotSkipped(":producer", ":transformer")
            output.text == "24"
    
            when:
            input.text = "4"
            configurationCacheRun(":transformer")
    
            then:
            configurationCache.assertStateLoaded()
            result.assertTasksExecutedAndNotSkipped(":producer", ":transformer")
            output.text == "16"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractExecutionResultExecTaskIntegrationTest.groovy

                    doLast {
                        assert ${execResultDsl} == null
                    }
                }
            """
    
            when:
            succeeds('verify')
    
            then:
            result.assertTasksExecutedAndNotSkipped(':verify')
        }
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def "returns ExecResult when is executed"() {
            makeExecProject()
            writeSucceedingExec()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/testFixtures/groovy/org/gradle/language/cpp/AbstractCppComponentIntegrationTest.groovy

            and:
            buildFile << configureTargetMachines("machines.${currentHostOperatingSystemFamilyDsl}")
    
            expect:
            succeeds taskNameToAssembleDevelopmentBinary
            result.assertTasksExecutedAndNotSkipped(tasksToAssembleDevelopmentBinary, ":$taskNameToAssembleDevelopmentBinary")
        }
    
        def "assemble task warns when current operating system family is excluded"() {
            given:
            makeSingleProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

            then:
            result.assertTasksExecutedAndNotSkipped(":a")
            outputFile.assertIsFile()
    
            when:
            configurationCacheRun "a"
    
            then:
            result.assertTasksSkipped(":a")
    
            when:
            outputFile.delete()
            configurationCacheRun "a"
    
            then:
            result.assertTasksExecutedAndNotSkipped(":a")
            outputFile.assertIsFile()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

            delegate.assertTasksExecuted(taskPaths);
            return this;
        }
    
        @Override
        public ExecutionResult assertTasksExecutedAndNotSkipped(Object... taskPaths) {
            delegate.assertTasksExecutedAndNotSkipped(taskPaths);
            return this;
        }
    
        @Override
        public ExecutionResult assertTaskExecuted(String taskPath) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

                    archive = theArchive
                    beginsWith = 'edited by project2'
                }
            """
    
            when:
            run 'verify'
    
            then:
            result.assertTasksExecutedAndNotSkipped(':project1:update', ':project2:update', ':project1:verify', ':project2:verify')
        }
    
        @Issue("https://github.com/gradle/gradle/issues/22685")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/AbstractSwiftIntegrationTest.groovy

                    targetMachines = [machines.linux, machines.macOS]
                }
            """
    
            expect:
            succeeds taskNameToAssembleDevelopmentBinary
            result.assertTasksExecutedAndNotSkipped getTasksToAssembleDevelopmentBinary(currentOsFamilyName.toLowerCase()), ":${taskNameToAssembleDevelopmentBinary}"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            when:
            useTestDirectoryThatIsNotEmbeddedInAnotherBuild()
            configurationCacheRun "init", "--dsl", "groovy", "--type", "basic"
    
            then:
            result.assertTasksExecutedAndNotSkipped(":init")
            configurationCache.assertStateStored { }
            succeeds 'properties'
            def projectName1 = testDirectory.name
            outputContains("name: ${projectName1}")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                }
                subdir2 {
                    file 'file2.xml'
                }
                file 'file3.txt'
            }
    
            run 'copy'
    
            then:
            result.assertTasksExecutedAndNotSkipped(":copy")
            // Copy (intentionally) leaves stuff behind
            file('dest').assertHasDescendants('subdir1/file1.txt', 'subdir2/file2.txt', 'file3.txt')
    
            when:
            run 'copy'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

        /**
         * Asserts that exactly the given set of tasks have been executed in any order and none of the tasks were skipped.
         */
        ExecutionResult assertTasksExecutedAndNotSkipped(Object... taskPaths);
    
        /**
         * Asserts that the given task has not been executed.
         */
        ExecutionResult assertTaskNotExecuted(String taskPath);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top