Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,220 for onOutput (0.45 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/StreamingStyledTextOutputTest.groovy

            StreamingStyledTextOutput output = new StreamingStyledTextOutput(listener)
    
            when:
            output.text('text')
    
            then:
            1 * listener.onOutput('text')
        }
    
        def forwardsTextToAnAppendable() {
            Appendable appendable = Mock()
            StreamingStyledTextOutput output = new StreamingStyledTextOutput(appendable)
    
            when:
            output.text('text')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressBroadcasterTest.groovy

            when:
            bridge.onOutput(eventWithBuildOperationId)
    
            then:
            1 * buildOperationProgressEventEmitter.emit(_, _, _) >> { OperationIdentifier operationIdentifier, long timestamp, Object details ->
                assert operationIdentifier == testOperationId
                assert details == eventWithBuildOperationId
            }
    
    
            when:
            bridge.onOutput(eventWithFallbackBuildOperationId)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestListenerIntegrationTest.groovy

                            useJUnitJupiter()
                        }
                    }
                }
                tasks.test {
                    onOutput(
                        KotlinClosure2<TestDescriptor, TestOutputEvent, Any>({ descriptor, event ->
                            println("onOutput:" + descriptor.displayName + ":" + event.message)
                        })
                    )
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/LogEventDispatcher.java

            this.stdoutChain = stdoutChain;
            this.stderrChain = stderrChain;
        }
    
        @Override
        public void onOutput(OutputEvent event) {
            if (event.getLogLevel() == null) {
                dispatch(event, stdoutChain);
                dispatch(event, stderrChain);
            } else if (event.getLogLevel() == LogLevel.ERROR) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java

            }
    
            TestMethodResult methodResult = currentTestMethods.get(testDescriptor);
            if (methodResult == null) {
                outputWriter.onOutput(classResult.getId(), outputEvent);
            } else {
                outputWriter.onOutput(classResult.getId(), methodResult.getId(), outputEvent);
            }
        }
    
        private static String findEnclosingClassName(TestDescriptor testDescriptor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/FlushConsoleListener.java

            this.delegate = delegate;
            this.console = console;
        }
    
        @Override
        public void onOutput(OutputEvent event) {
            delegate.onOutput(event);
            if (event instanceof UpdateNowEvent || event instanceof EndOutputEvent) {
                console.flush();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/ClientInputForwarder.java

        public <T> T forwardInput(Function<StdinHandler, T> action) {
            final StdInStream stdInStream = new StdInStream(new OutputEventListener() {
                @Override
                public void onOutput(OutputEvent event) {
                    eventDispatch.onOutput(event);
                }
            });
            inputReader.startInput();
    
            StdinHandler stdinHandler = new StdinHandler() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirector.java

            @Override
            public void onOutput(CharSequence output) {
            }
        }
    
        private static class WriteAction implements TextStream {
            private OutputListener destination;
    
            @Override
            public void text(String message) {
                destination.onOutput(message);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandler.java

                if (interrupted.get()) {
                    return null;
                }
    
                if (!hasPrompted) {
                    eventDispatch.onOutput(new UserInputRequestEvent());
                    hasPrompted = true;
                }
    
                eventDispatch.onOutput(prompt);
                while (true) {
                    UserInputReader.UserInput input = userInputReader.readInput();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/StandardOutputListener.java

    /**
     * <p>A {@code StandardOutputListener} receives text written by Gradle's logging system to standard output or
     * error.</p>
     */
    public interface StandardOutputListener {
        /**
         * Called when some output is written by the logging system.
         *
         * @param output The text.
         */
        void onOutput(CharSequence output);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 984 bytes
    - Viewed (0)
Back to top