CachingTaskStateChangesTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Convert TaskStateChanges to Changes

    • -114
    • +0
    ./CachingTaskStateChangesTest.groovy
  1. … 83 more files in changeset.
Move file changes to snapshotting subproject

  1. … 49 more files in changeset.
Add some support for caching StateChanges

    • -4
    • +47
    ./CachingTaskStateChangesTest.groovy
  1. … 2 more files in changeset.
Replace iterable with visitor in TaskStateChanges

    • -10
    • +12
    ./CachingTaskStateChangesTest.groovy
  1. … 19 more files in changeset.
Separate snapshotting and comparing task executions (#2735)

This way we have all the snapshotting logic in one place, and the comparison logic in another. Makes the code much simpler and easier to extend and test.

    • -17
    • +0
    ./CachingTaskStateChangesTest.groovy
  1. … 42 more files in changeset.
REVIEW-2061: Switched internals of up-to-date checking to be iterator-based instead of listener-based - TaskStateChanges extends Iterable<TaskStateChange> - Caching is done by wrapping implementation for input files and output files - Other implementations are based on non-streaming collections of changes - FileCollectionSnapshot.changesSince(Snapshot,Listener) is now FileCollectionSnapshot.iterateChangesSince(Snapshot) >> ChangeIterator

    • -0
    • +84
    ./CachingTaskStateChangesTest.groovy
  1. … 20 more files in changeset.