Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for assertTaskNotSkipped (0.47 sec)

  1. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/TaskUpToDateCrossVersionIntegrationTest.groovy

    package org.gradle;
    class Person { }
    """
    
            expect:
            version previous withTasks 'compileJava' run() assertTaskNotSkipped(":compileJava")
            version previous withTasks 'compileJava' run() assertTaskSkipped(":compileJava")
    
            version current withTasks 'compileJava' run() assertTaskNotSkipped(":compileJava")
            version current withTasks 'compileJava' run() assertTaskSkipped(":compileJava")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy

                'one.txt',
                'two.txt'
            )
    
            when:
            file('files/a/three.txt').createFile()
            run 'copy'
    
            then:
            result.assertTaskNotSkipped(':copy')
            file('dest').assertHasDescendants(
                'one.txt',
                'two.txt',
                'three.txt'
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

                'a/one.txt',
                'b/not one to IGNORE.txt'
            )
    
            when:
            file('files/c/more-one.txt').createFile()
            run 'copy'
    
            then:
            result.assertTaskNotSkipped(':copy')
            file('dest').assertHasDescendants(
                'one.txt',
                'a/one.txt',
                'b/not one to IGNORE.txt',
                'c/more-one.txt'
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/fixtures/StaleOutputJavaProject.groovy

        }
        String getJarTaskPath() {
            "${projectPath}:$JAR_TASK_NAME"
        }
    
        void assertBuildTasksExecuted(ExecutionResult result) {
            result.assertTaskNotSkipped(getCompileTaskPath())
            result.assertTaskNotSkipped(getJarTaskPath())
        }
    
        void assertBuildTasksSkipped(ExecutionResult result) {
            result.assertTaskSkipped(getCompileTaskPath())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
            file("build/output.txt").text == "input"
    
            when:
            taskSourceFile.text = customKotlinTask(" modified")
    
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            result.assertTaskNotSkipped(":customTask")
            file("build/output.txt").text == "input modified"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocFileEncodingIntegrationTest.groovy

            result.assertTaskNotSkipped(":javadoc")
    
            when:
            executer.withBuildJvmOpts("-Dfile.encoding=UTF-8")
            succeeds("javadoc")
            then:
            file("build/docs/javadoc/index.html").text.contains("<title>💩 💩 💩 💩</title>")
            file("build/tmp/javadoc/javadoc.options").text.contains("-windowtitle '💩 💩 💩 💩'")
            result.assertTaskNotSkipped(":javadoc")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DependencyHandlerApiResolveIntegrationTest.groovy

                    }
                }
            """
    
            when:
            ExecutionResult result = succeeds('verifyTestKitJars', 'compileTestJava')
    
            then:
            result.assertTaskNotSkipped(':compileTestJava')
        }
    
        def "gradleApi dependency API does not include test-kit JAR"() {
            when:
            buildFile << """
                dependencies {
                    testImplementation gradleApi()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 06:59:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationTrait.groovy

        }
    
        @Override
        String getKeySymbolFor(String name) {
            ".$name"
        }
    
        @Override
        void assertValidationSucceeds() {
            succeeds "run"
            result.assertTaskNotSkipped(":run")
        }
    
        void assertValidationFailsWith(List<AbstractPluginValidationIntegrationSpec.DocumentedProblem> messages) {
            def expectedDeprecations = messages
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCachedCompileIntegrationTest.groovy

        }
    
        void compileIsCached() {
            result.assertTaskSkipped(compilationTask)
            assert file(compiledFile).exists()
        }
    
        void compileIsNotCached() {
            result.assertTaskNotSkipped(compilationTask)
        }
    
        def populateCache() {
            def remoteProjectDir = file("remote-project")
            setupProjectInDirectory(remoteProjectDir)
            executer.inDirectory(remoteProjectDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionResult.java

        public ExecutionResult assertTasksNotSkipped(Object... taskPaths) {
            delegate.assertTasksNotSkipped(taskPaths);
            return this;
        }
    
        @Override
        public ExecutionResult assertTaskNotSkipped(String taskPath) {
            delegate.assertTasksNotSkipped(taskPath);
            return this;
        }
    
        @Override
        public void assertResultVisited() {
            delegate.assertResultVisited();
        }
    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