Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for removeDebugPrefix (0.34 sec)

  1. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleBuildResultFunctionalTest.groovy

            def outputWithoutFailure = errorsShouldAppearOnStdout() ? failure.error : failure.output
            def outputWithFailureAndNoDebugging = LogContent.of(outputWithFailure).ansiCharsToColorText().removeDebugPrefix().withNormalizedEol()
    
            outputWithFailureAndNoDebugging.contains("FAILURE: Build failed with an exception.")
            outputWithFailureAndNoDebugging.contains("* What went wrong:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

            // Find failure section
            Pair<LogContent, LogContent> match = withoutDebug.splitOnFirstMatchingLine(FAILURE_PATTERN);
            if (match == null) {
                // Not present in output, check error output.
                match = LogContent.of(error).ansiCharsToPlainText().removeDebugPrefix().splitOnFirstMatchingLine(FAILURE_PATTERN);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

        }
    
        /**
         * Returns a copy of this log content with the debug prefix removed.
         */
        public LogContent removeDebugPrefix() {
            if (definitelyNoDebugPrefix) {
                return this;
            }
            List<String> result = new ArrayList<String>(lines.size());
            for (String line : lines) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

            this.error = error;
            this.includeBuildSrc = includeBuildSrc;
    
            // Split out up the output into main content and post build content
            LogContent filteredOutput = this.output.ansiCharsToPlainText().removeDebugPrefix();
            Pair<LogContent, LogContent> match = filteredOutput.splitOnFirstMatchingLine(BUILD_RESULT_PATTERN);
            if (match == null) {
                this.mainContent = filteredOutput;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top