Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for previousExecutionState (0.28 sec)

  1. platforms/core-execution/execution/src/testFixtures/groovy/org/gradle/internal/execution/TestExecutionHistoryStore.java

    import static com.google.common.collect.Maps.transformValues;
    
    public class TestExecutionHistoryStore implements ExecutionHistoryStore {
    
        private final Map<String, PreviousExecutionState> executionHistory = new HashMap<>();
    
        @Override
        public Optional<PreviousExecutionState> load(String key) {
            return Optional.ofNullable(executionHistory.get(key));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:09:23 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/RemovePreviousOutputsStepTest.groovy

                visitor.visitOutputProperty("file", TreeType.FILE, UnitOfWork.OutputFileValueSupplier.fromStatic(outputs.file, TestFiles.fixed(outputs.file)))
            }
            _ * context.previousExecutionState >> Optional.of(previousExecutionState)
            1 * previousExecutionState.outputFilesProducedByWork >> ImmutableSortedMap.of("dir", outputs.dirSnapshot, "file", outputs.fileSnapshot)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStep.java

            }
    
            Optional<PreviousExecutionState> previousExecutionState = context.getPreviousExecutionState();
            ImmutableSortedMap<String, ValueSnapshot> previousInputPropertySnapshots = previousExecutionState
                .map(ExecutionInputState::getInputProperties)
                .orElse(ImmutableSortedMap.of());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy

            }
            def previousExecutionState = Stub(PreviousExecutionState) {
                getOutputFilesProducedByWork() >> previousOutputs
            }
            def context = Stub(BeforeExecutionContext) {
                getBeforeExecutionState() >> Optional.of(beforeExecutionState)
                getPreviousExecutionState() >> Optional.of(previousExecutionState)
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionHistoryStore.java

    import org.gradle.internal.execution.history.AfterExecutionState;
    import org.gradle.internal.execution.history.ExecutionHistoryStore;
    import org.gradle.internal.execution.history.PreviousExecutionState;
    import org.gradle.internal.fingerprint.CurrentFileCollectionFingerprint;
    import org.gradle.internal.fingerprint.FileCollectionFingerprint;
    import org.gradle.internal.hash.ClassLoaderHierarchyHasher;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:09:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ExecuteStepTest.groovy

    class ExecuteStepTest extends StepSpec<ChangingOutputsContext> {
        def workspace = Mock(File)
        def previousOutputs = ImmutableSortedMap.of()
        def previousExecutionState = Stub(PreviousExecutionState) {
            getOutputFilesProducedByWork() >> previousOutputs
        }
    
        def step = new ExecuteStep<>(new TestBuildOperationRunner())
        def inputChanges = Mock(InputChangesInternal)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipUpToDateStepTest.groovy

            !result.executionReasons.present
    
            _ * context.changes >> Optional.of(changes)
            _ * context.rebuildReasons >> ImmutableList.of()
            _ * context.previousExecutionState >> Optional.of(Stub(PreviousExecutionState) {
                getOutputFilesProducedByWork() >> ImmutableSortedMap.of()
                getOriginMetadata() >> delegateOriginMetadata
            })
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/OverlappingOutputsFilter.java

    package org.gradle.internal.execution.steps;
    
    import com.google.common.collect.ImmutableSortedMap;
    import org.gradle.internal.execution.history.BeforeExecutionState;
    import org.gradle.internal.execution.history.PreviousExecutionState;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    import static org.gradle.internal.execution.history.impl.OutputSnapshotUtil.filterOutputsAfterExecution;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 09:40:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionState.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSortedMap;
    import org.gradle.caching.internal.origin.OriginMetadata;
    import org.gradle.internal.execution.history.PreviousExecutionState;
    import org.gradle.internal.fingerprint.FileCollectionFingerprint;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    import org.gradle.internal.snapshot.ValueSnapshot;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 17:44:52 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStep.java

    import org.gradle.internal.execution.UnitOfWork;
    import org.gradle.internal.execution.history.OverlappingOutputDetector;
    import org.gradle.internal.execution.history.OverlappingOutputs;
    import org.gradle.internal.execution.history.PreviousExecutionState;
    import org.gradle.internal.hash.ClassLoaderHierarchyHasher;
    import org.gradle.internal.operations.BuildOperationRunner;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    
    import javax.annotation.Nullable;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top