Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for brokenListener (0.22 sec)

  1. subprojects/build-events/src/test/groovy/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistryTest.groovy

            def failure = new RuntimeException()
            def brokenListener = Mock(OperationCompletionListener)
            def okListener = Mock(OperationCompletionListener)
    
            when:
            registry.onTaskCompletion(Providers.of(brokenListener))
            registry.onTaskCompletion(Providers.of(okListener))
            async {
                factory.fire(taskFinishEvent())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy

            buildFile << """
                class BrokenListener implements StandardOutputListener {
                    void onOutput(CharSequence output) {
                        throw new RuntimeException("broken")
                    }
                }
                def output = new BrokenListener()
                def error = new BrokenListener()
    
                task brokenOut {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 9.3K bytes
    - Viewed (0)
Back to top