Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for renderWritesMessageToTextOutput (0.46 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/LogEventTest.groovy

        public static final long TIMESTAMP = 0L
        public static final String CATEGORY = 'category'
        public static final String MESSAGE = 'message'
        private final StyledTextOutput output = Mock()
    
        def renderWritesMessageToTextOutput() {
            given:
            def logEvent = new LogEvent(TIMESTAMP, CATEGORY, LogLevel.INFO, MESSAGE, null)
    
            when:
            logEvent.render(output)
    
            then:
            1 * output.text(MESSAGE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top