Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for snapshotState (0.23 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStepTest.groovy

                assert state.outputFileLocationSnapshots == beforeExecutionOutputSnapshots
            }
            0 * _
    
            assertOperation()
        }
    
        @Override
        void snapshotState() {
            super.snapshotState()
            _ * outputSnapshotter.snapshotOutputs(work, _) >> ImmutableSortedMap.of()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractCaptureStateBeforeExecutionStepTest.groovy

                ImmutableSortedMap.of(),
                ImmutableSortedMap.of(),
                _
            ) >> { throw failure }
            interaction { snapshotState() }
            0 * _
    
            assertOperation(ex)
        }
    
        void snapshotState() {
            _ * context.shouldCaptureBeforeExecutionState() >> true
            _ * context.previousExecutionState >> Optional.empty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:34 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/CaptureNonIncrementalStateBeforeExecutionStepTest.groovy

        }
    
        def "output file properties are snapshotted as empty"() {
            when:
            step.execute(work, context)
    
            then:
            interaction { snapshotState() }
            1 * delegate.execute(work, _ as BeforeExecutionContext) >> { UnitOfWork work, BeforeExecutionContext delegateContext ->
                def state = delegateContext.beforeExecutionState.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top