Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for disabledWithoutInputs (0.16 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractResolveCachingStateStep.java

        private static final CachingState BUILD_CACHE_DISABLED_STATE = CachingState.disabledWithoutInputs(BUILD_CACHE_DISABLED_REASON);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/CachingState.java

    import javax.annotation.Nullable;
    import java.util.Optional;
    import java.util.function.Consumer;
    import java.util.function.Function;
    
    public class CachingState {
        public static final CachingState NOT_DETERMINED = disabledWithoutInputs(new CachingDisabledReason(CachingDisabledReasonCategory.UNKNOWN, "Cacheability was not determined"));
    
        private final Either<Enabled, Disabled> delegate;
    
        private CachingState(Either<Enabled, Disabled> delegate) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 13:41:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureOutputsAfterExecutionStepTest.groovy

            result.duration == delegateDuration
            assertNoOperation()
    
            1 * delegate.execute(work, _) >> delegateResult
            _ * context.cachingState >> CachingState.disabledWithoutInputs(new CachingDisabledReason(CachingDisabledReasonCategory.UNKNOWN, "Unknown"))
            0 * _
        }
    
        def "fails if snapshotting outputs fail"() {
            def delegateDuration = Duration.ofMillis(123)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

            when:
            def result = step.execute(work, context)
    
            then:
            result == delegateResult
    
            _ * context.cachingState >> CachingState.disabledWithoutInputs(new CachingDisabledReason(CachingDisabledReasonCategory.UNKNOWN, "Unknown"))
            1 * delegate.execute(work, context) >> delegateResult
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top