Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for assertTasksExecutedInOrder (0.32 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

                succeeds "thing"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep", ":finalizer"
            }
            2.times {
                fails "thing", "-Pthing.broken"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep", ":finalizer"
            }
            2.times {
                fails "thing", "-PfinalizerDep.broken"
                result.assertTasksExecutedInOrder ":thing", ":finalizerDep"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                succeeds 'a'
                result.assertTasksExecutedInOrder(
                    any(
                        exact(':f', ':h'),
                        exact(any(':c', ':g'), ':a'),
                        exact(':f', ':d', ':c')
                    )
                )
            }
    
            and:
            2.times {
                succeeds 'b'
                result.assertTasksExecutedInOrder(
                    any(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIntegrationTest.groovy

                }
            """
            dependency(first, "org.test:second")
            shouldResolve(first, second)
    
            when:
            succeeds("resolve")
            then:
            result.assertTasksExecutedInOrder(":second:generate", ":first:generate", ":resolve")
    
            // Updating the remote repository causes changes downstream
            when:
            changeMessage("goodbye world", first, second)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/BuildInvocationsCrossVersionSpec.groovy

            }
            then:
            result.result.assertTasksExecutedInOrder(':t1', ':b:c:t1', ':b:t2', ':b:c:t2')
    
            when:
            result = withBuild { BuildLauncher it ->
                it.forLaunchables(selectorT2, selectorT1)
            }
            then:
            result.result.assertTasksExecutedInOrder(':b:t2', ':b:c:t2', ':t1', ':b:c:t1')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

            task customTask
            customTask.dependsOn tasks.withType(ClimbTask)
            """
    
            when:
            succeeds('customTask')
    
            then:
            result.assertTasksExecutedInOrder(':climbTask', ':customTask')
        }
    
        def "a non-rule-source task can depend on one or more task of types created via both rule sources and old world container"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

            TestFile target2File = testFile('build/target2.txt')
            target1File.assertDoesNotExist()
            target2File.assertDoesNotExist()
    
            inTestDirectory().withTasks('ant').run().assertTasksExecutedInOrder(':initialize', ':target2', ':target1', ':ant')
    
            target1File.assertExists()
            target2File.assertExists()
        }
    
        @Test
        @ToBeFixedForConfigurationCache(because = "AntTarget task")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/IncrementalGroovyCompileIntegrationTest.groovy

        }
    
        @Test
        void failsCompilationWhenConfigScriptIsUpdated() {
            // compilation passes with a config script that does nothing
            executer.withTasks('compileGroovy').run().assertTasksExecutedInOrder(":compileJava",":compileGroovy")
    
            // make sure it fails if the config script applies type checking
            file('groovycompilerconfig.groovy').assertIsFile().copyFrom(file('newgroovycompilerconfig.groovy'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/GroovyJavaJointCompileSourceOrderIntegrationTest.groovy

                }
                dependencies {
                    implementation localGroovy()
                }
            """
    
            when:
            succeeds 'compileJava'
    
            then:
            result.assertTasksExecutedInOrder(':compileGroovy', ':compileJava')
    
            where:
            configurationStyle | setup
            'lazy'             | "tasks.named('compileJava') { classpath += files(sourceSets.main.groovy.classesDirectory) }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileWithJavaLibraryIntegrationTest.groovy

                dependencies {
                    implementation("org.scala-lang:scala-library:2.11.12")
                }
            """
    
            when:
            succeeds 'compileJava'
    
            then:
            result.assertTasksExecutedInOrder(':compileScala', ':compileJava')
    
            where:
            configurationStyle | setup
            'lazy'             | "tasks.named('compileJava') { classpath += files(sourceSets.main.scala.classesDirectory) }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

            delegate.assertNotPostBuildOutput(expectedOutput);
            return this;
        }
    
        @Override
        public ExecutionResult assertTasksExecutedInOrder(Object... taskPaths) {
            delegate.assertTasksExecutedInOrder(taskPaths);
            return this;
        }
    
        @Override
        public ExecutionResult assertTasksExecuted(Object... taskPaths) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top