BuildProgressListenerAdapterTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Revert "Merge branch 'release'""

This reverts commit 67b8bb8f18f854f45a2f5ec52cc9c8a25981e2f2.

This restores the merge attempt from earlier.

    • -1
    • +2
    ./BuildProgressListenerAdapterTest.groovy
  1. … 66 more files in changeset.
Revert "Merge branch 'release'"

This reverts commit c7fdc455dcb9a8016af0ae9bc8b4c43fde1e2d06, reversing

changes made to 9f70d52b74dbc8c71381781b6c155474031b3cf8.

The changes need a wrapper as there are API changes. Reverting for now.

    • -2
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 66 more files in changeset.
Fix failing test

    • -1
    • +2
    ./BuildProgressListenerAdapterTest.groovy
Fix failing test

    • -1
    • +2
    ./BuildProgressListenerAdapterTest.groovy
Fix failing test

    • -1
    • +2
    ./BuildProgressListenerAdapterTest.groovy
Report transform progress events to TAPI listeners

This commit introduces a new `OperationType.TRANSFORM` and corresponding

TAPI progress events. The `TransformOperationDescriptor` currently only

contains the display names of the transformer and subject.

    • -7
    • +4
    ./BuildProgressListenerAdapterTest.groovy
  1. … 24 more files in changeset.
Report TAPI progress events for project configuration

This commit introduces a new `OperationType.PROJECT_CONFIGURATION` and

adds specific `ProgressEvent` implementations. When the operation type

is not requested, no progress configuration events (neither as typed

events nor as generic build operations) will be reported. While that

will remove generic progress configuration events and their children

from clients that use old TAPI versions against Gradle >= 5.1, it is

consistent with the behavior for tasks and work items.

    • -26
    • +16
    ./BuildProgressListenerAdapterTest.groovy
  1. … 41 more files in changeset.
Report TAPI progress events for work items

This commit introduces a new `OperationType.WORK_ITEM` and adds specific

`ProgressEvent` implementations. For backwards compatibility, if the

new OperationType is not requested, but `OperationType.GENERIC` is, it

will be reported as a generic build operation.

    • -15
    • +14
    ./BuildProgressListenerAdapterTest.groovy
  1. … 42 more files in changeset.
Renamed a bunch of tooling api progress event types.

    • -5
    • +5
    ./BuildProgressListenerAdapterTest.groovy
  1. … 50 more files in changeset.
Removed the task specific progress event types from the tooling api protocol. These things can be inferred from the type of operation (ie the operation is a task).

Need to leave the test specific types for backwards compatibility with 2.4

    • -2
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 20 more files in changeset.
Inlined BuildProgressListenerConfiguration.

    • -1
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 6 more files in changeset.
Use ProgressListener to wire up tooling API listeners instead of some internal wrapper types

    • -18
    • +8
    ./BuildProgressListenerAdapterTest.groovy
  1. … 11 more files in changeset.
Move TestProgressListener to internal package

    • -2
    • +2
    ./BuildProgressListenerAdapterTest.groovy
  1. … 7 more files in changeset.
Move remaining classes from events.internal.build.internal to events.internal

    • -1
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 15 more files in changeset.
Move events.build package to events.internal

    • -1
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 36 more files in changeset.
Rename class to BuildOperationProgressListener

    • -4
    • +4
    ./BuildProgressListenerAdapterTest.groovy
  1. … 7 more files in changeset.
Move BuildProgressListener to internal package

    • -1
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 7 more files in changeset.
Move TaskProgressListener to internal package

    • -1
    • +1
    ./BuildProgressListenerAdapterTest.groovy
  1. … 6 more files in changeset.
If parent operation cannot be found, throw an exception

    • -35
    • +4
    ./BuildProgressListenerAdapterTest.groovy
  1. … 5 more files in changeset.
Rename build events to build operation events, which describe more precisely the intent

+review REVIEW-5487

    • -2
    • +2
    ./BuildProgressListenerAdapterTest.groovy
  1. … 40 more files in changeset.
Split test BuildProgressListenerAdapterTest into multiple test classes

    • -1056
    • +52
    ./BuildProgressListenerAdapterTest.groovy
  1. … 3 more files in changeset.
Get rid of interface InternalTaskProgressListener

    • -5
    • +4
    ./BuildProgressListenerAdapterTest.groovy
  1. … 4 more files in changeset.
Simplify TaskSkippedResult hierarchy and make it similar to the TestSkippedResult hierarchy

    • -50
    • +5
    ./BuildProgressListenerAdapterTest.groovy
  1. … 12 more files in changeset.
Don't throw an exception in case a parent descriptor is not found in the cache

    • -3
    • +43
    ./BuildProgressListenerAdapterTest.groovy
  1. … 1 more file in changeset.
Make skipped task events either a success event or a failure event

+review REVIEW-5482

    • -3
    • +48
    ./BuildProgressListenerAdapterTest.groovy
  1. … 12 more files in changeset.
Remove BuildSuccessResult#getSuccessMessage

    • -9
    • +5
    ./BuildProgressListenerAdapterTest.groovy
  1. … 4 more files in changeset.
Fix test

    • -1
    • +1
    ./BuildProgressListenerAdapterTest.groovy
Adjust tests

    • -41
    • +17
    ./BuildProgressListenerAdapterTest.groovy
  1. … 1 more file in changeset.
Fix BuildProgressListenerAdapterTest after refactoring

+review REVIEW-5487

    • -47
    • +63
    ./BuildProgressListenerAdapterTest.groovy
Add a failsafe mode for errors thrown in listeners

+review REVIEW-5487

    • -43
    • +43
    ./BuildProgressListenerAdapterTest.groovy
  1. … 7 more files in changeset.