Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for forwardsEachLineOfTextToListener (0.18 sec)

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

            when:
            output.text('line').println()
    
            then:
            1 * listener.onOutput({ it.spans[0].text == toNative('another line\n') })
            0 * listener._
        }
    
        def forwardsEachLineOfTextToListener() {
            when:
            output.text(toNative('message1\nmessage2')).println()
    
            then:
            1 * listener.onOutput({ it.spans[0].text == toNative('message1\n') })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top