Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for removeDownloadMessageAndEmptyLines (0.23 sec)

  1. subprojects/diagnostics/src/testFixtures/groovy/org/gradle/api/reporting/components/AbstractComponentReportIntegrationTest.groovy

        }
    
        boolean outputMatches(String expectedOutput) {
            def actualOutput = result.groupedOutput.task(":components").output
            assert removeDownloadMessageAndEmptyLines(actualOutput) == expected(expectedOutput)
            return true
        }
    
        String removeDownloadMessageAndEmptyLines(String output) {
            return output.readLines().findAll { !it.isEmpty() && !(it ==~ /^Download http.*$/) }.join('\n')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 15 23:29:03 UTC 2022
    - 2.3K bytes
    - Viewed (0)
Back to top