Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 642 for SKIPPED (0.16 sec)

  1. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCacheIntegrationTest.groovy

    import org.gradle.util.internal.TextUtil
    
    import static org.gradle.testkit.runner.TaskOutcome.FAILED
    import static org.gradle.testkit.runner.TaskOutcome.FROM_CACHE
    import static org.gradle.testkit.runner.TaskOutcome.SKIPPED
    import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
    import static org.gradle.testkit.runner.TaskOutcome.UP_TO_DATE
    
    /**
     * Tests the behavior of a task with a FROM_CACHE result
     */
    @NonCrossVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

                #include MY_HEADER
    """
    
            and:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            run "mainExecutable"
            then:
            skipped compileTask
        }
    
        @ToBeFixedForConfigurationCache
        def "does not recompile when included header has the same name as a directory"() {
            given:
            buildFile << """
    model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

        /**
         * Asserts that exactly the given set of tasks have been skipped.
         */
        ExecutionResult assertTasksSkipped(Object... taskPaths);
    
        /**
         * Asserts the given task has been skipped.
         */
        ExecutionResult assertTaskSkipped(String taskPath);
    
        /**
         * Asserts that exactly the given set of tasks have not been skipped.
         */
        ExecutionResult assertTasksNotSkipped(Object... taskPaths);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ForkCapableRelocationIntegrationTest.groovy

            when:
            inDirectory(originalDir)
            withBuildCache().run taskName
    
            then:
            skipped taskName
    
            when:
            inDirectory(relocatedDir)
            withBuildCache().run taskName
    
            then:
            skipped taskName
        }
    
        void setupProjectWithJavaAgentIn(TestFile directory) {
            setupProjectIn(directory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

            // Work around some bugs in Input.skip()
            int remaining = input.limit() - input.position();
            if (remaining == 0) {
                long skipped = inputStream.skip(count);
                if (skipped > 0) {
                    extraSkipped += skipped;
                }
                return skipped;
            } else if (count <= remaining) {
                input.setPosition(input.position() + (int) count);
                return count;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerResultIntegrationTest.groovy

    import static org.gradle.testkit.runner.TaskOutcome.FAILED
    import static org.gradle.testkit.runner.TaskOutcome.FROM_CACHE
    import static org.gradle.testkit.runner.TaskOutcome.NO_SOURCE
    import static org.gradle.testkit.runner.TaskOutcome.SKIPPED
    import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
    import static org.gradle.testkit.runner.TaskOutcome.UP_TO_DATE
    
    /**
     * Tests more intricate aspects of the BuildResult object
     */
    @InspectsExecutedTasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            then:
            executedAndNotSkipped ':compileJava'
    
            when:
            withBuildCache().run 'clean', 'run'
    
            then:
            skipped ':compileJava'
    
            when:
            withBuildCache().run 'clean', 'run'
    
            then:
            skipped ':compileJava'
        }
    
        def "outputs loaded from the cache are snapshotted as outputs"() {
            buildFile << """
                apply plugin: 'base'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParametersKotlinIntegrationTest.groovy

            runWork()
    
            then: 'it is skipped because UP-TO-DATE'
            result.assertTaskSkipped ':runWork'
            outputContains ':runWork UP-TO-DATE'
    
            and:
            outputDoesNotContain expectedOutput
    
            when: 'the outputs are deleted'
            file('build').deleteDir()
    
            and: 'task runs for the 3rd time'
            runWork()
    
            then: 'it is skipped because FROM-CACHE'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/RequiresInstalledToolChainExtension.groovy

            final available = isToolChainAvailable(annotation)
            spec.skipped |= !available
        }
    
        @Override
        void visitFeatureAnnotation(RequiresInstalledToolChain annotation, FeatureInfo feature) {
            final available = isToolChainAvailable(annotation)
            feature.skipped |= !available
        }
    
        private static boolean isToolChainAvailable(RequiresInstalledToolChain annotation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskIntegrationTest.groovy

            then:
            listCacheFiles().any { it.name == cacheOperations.getCacheKeyForTask(taskPath) }
    
            when:
            withBuildCache().run("clean", "cacheable")
    
            then:
            skipped ":cacheable"
        }
    
        def "task is cacheable after previous failure"() {
            buildFile << """
                task foo {
                    def outFile = project.file("out.txt")
                    outputs.file(outFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 20 17:51:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top