Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addOutputEventListener (0.29 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/LoggingBridgingBuildActionExecuterTest.groovy

        def configuresLoggingWhileActionIsExecuting() {
            when:
            executer.execute(action, parameters, buildRequestContext)
    
            then:
            1 * loggingManager.addOutputEventListener(!null)
            1 * loggingManager.start()
            1 * target.execute(action, parameters, buildRequestContext)
            1 * loggingManager.stop()
        }
    
        def restoresLoggingWhenActionFails() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LoggingBridgingBuildActionExecuter.java

            ProgressListenerVersion1 progressListener = actionParameters.getProgressListener();
            OutputEventListenerAdapter listener = new OutputEventListenerAdapter(progressListener);
            loggingManager.addOutputEventListener(listener);
            loggingManager.setLevelInternal(actionParameters.getBuildLogLevel());
            loggingManager.start();
            try {
                return delegate.execute(action, parameters, buildRequestContext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProgressLoggingFixture.groovy

                        }
                        loggingOutput = objects.newInstance(InternalServices).loggingOutput
                        println("ADDING " + this + " TO " + loggingOutput)
                        loggingOutput.addOutputEventListener(this)
                    }
    
                    @Override
                    synchronized void close() {
                        println("REMOVING " + this + " FROM " + loggingOutput)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top