Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for FROM_CACHE (0.13 sec)

  1. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/TaskOutcome.java

         * </p>
         * <p>NOTE: If the Gradle version used for the build under test is older than 3.3,
         * no tasks will have this outcome.</p>
         *
         * @since 3.3
         */
        FROM_CACHE,
    
        /**
         * The task was skipped due to all input files declared with {@code @SkipWhenEmpty} being empty.
         *
         * @since 3.4
         */
        NO_SOURCE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

    import java.time.Duration
    import java.time.temporal.ChronoUnit
    
    import static org.gradle.internal.execution.ExecutionEngine.Execution
    import static org.gradle.internal.execution.ExecutionEngine.ExecutionOutcome.FROM_CACHE
    
    class BuildCacheStepTest extends StepSpec<TestCachingContext> implements SnapshotterFixture {
        def buildCacheController = Mock(BuildCacheController)
    
        def beforeExecutionState = Stub(BeforeExecutionState)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/TaskStateInternalTest.groovy

            assertFalse(state.configurable)
            assertThat(state.skipMessage, equalTo('UP-TO-DATE'))
        }
    
        @Test
        public void canMarkTaskAsFromCache() {
            state.setOutcome(TaskExecutionOutcome.FROM_CACHE)
            assertTrue(state.executed)
            assertTrue(state.skipped)
            assertTrue(state.upToDate)
            assertFalse(state.configurable)
            assertThat(state.skipMessage, equalTo('FROM-CACHE'))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 30 07:54:03 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ExecuteWorkBuildOperationFiringStep.java

                switch (execution.getOutcome()) {
                    case SHORT_CIRCUITED:
                        return "NO-SOURCE";
                    case FROM_CACHE:
                        return "FROM-CACHE";
                    case UP_TO_DATE:
                        return "UP-TO-DATE";
                    case EXECUTED_INCREMENTALLY:
                    case EXECUTED_NON_INCREMENTALLY:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/Tag.java

        String getClassAttr();
    
        String getTitle();
    
        String getUrl();
    
        default boolean isValid() {
            return this != UNTAGGED;
        }
    
        enum FixedTag implements Tag {
            FROM_CACHE("FROM-CACHE", "badge badge-info", "The test is not really executed - its results are fetched from build cache."),
            FAILED("FAILED", "badge badge-danger", "Regression confidence > 99.9% despite retries."),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskStateInternal.java

        }
    
        @Override
        public boolean getNoSource() {
            return outcome == TaskExecutionOutcome.NO_SOURCE;
        }
    
        public boolean isFromCache() {
            return outcome == TaskExecutionOutcome.FROM_CACHE;
        }
    
        public boolean isActionable() {
            return actionable;
        }
    
        public void setActionable(boolean actionable) {
            this.actionable = actionable;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 29 19:57:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/ExecutionEngine.java

             * same workspace).
             */
            UP_TO_DATE,
    
            /**
             * The outputs of the work have been loaded from the build cache.
             */
            FROM_CACHE,
    
            /**
             * Executing the work was not necessary to produce the outputs.
             * This is usually due to the work having no inputs to process.
             */
            SHORT_CIRCUITED,
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:17 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    === Example: Testing cacheable tasks
    
    [source,groovy,indent=0]
    .BuildLogicFunctionalTest.groovy
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    If this can’t be done right away, using tests that run all tasks contributed by the plugin several times, for e.g. asserting the `UP_TO_DATE` and `FROM_CACHE` behavior, is also a good strategy.
    ====
    
    [[config_cache:requirements]]
    == Requirements
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
Back to top