Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertOperation (0.19 sec)

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

                assert !state.detectedOverlappingOutputs.present
                assert state.outputFileLocationSnapshots == outputSnapshots
            }
            0 * _
    
            assertOperation()
        }
    
        def "fails when output file properties cannot be snapshot"() {
            def failure = new OutputSnapshotter.OutputFileSnapshottingException("output", new IOException("Error")) {}
            when:
    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

                assert state.implementation == implementationSnapshot
                assert state.additionalImplementations == additionalImplementations
            }
            0 * _
    
            assertOperation()
        }
    
        def "input properties are snapshotted"() {
            def knownSnapshot = Mock(ValueSnapshot)
            def knownFileFingerprint = Mock(CurrentFileCollectionFingerprint)
    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/CaptureOutputsAfterExecutionStepTest.groovy

            delegateResult.duration >> delegateDuration
    
            when:
            step.execute(work, context)
    
            then:
            def ex = thrown RuntimeException
            ex == failure
            assertOperation(ex)
    
            1 * delegate.execute(work, _) >> delegateResult
    
            then:
            _ * context.cachingState >> CachingState.enabled(new DefaultBuildCacheKey(hashCodeFrom(1234)), beforeExecutionState)
    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/CaptureNonIncrementalStateBeforeExecutionStepTest.groovy

                assert !state.detectedOverlappingOutputs.present
                assert state.outputFileLocationSnapshots == ImmutableSortedMap.of()
            }
            0 * _
    
            assertOperation()
        }
    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