Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ansiCharsToColorText (0.29 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RichConsoleStyling.groovy

            return "{bold-on}" + plainText + "{bold-off}"
        }
    
        static void assertHasWorkInProgress(GradleHandle handle, String plainText) {
            assert LogContent.of(handle.standardOutput).ansiCharsToColorText().withNormalizedEol().contains(workInProgressLine(plainText))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/LogContent.java

            }
        }
    
        /**
         * Returns a copy of this log content with ANSI control characters interpreted to produce plain text with text attributes included.
         */
        public LogContent ansiCharsToColorText() {
            if (definitelyNoAnsiChars) {
                return this;
            }
            try {
                AnsiConsole console = interpretAnsiChars();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

        }
    
        @Override
        public String getNormalizedOutput() {
            return normalize(output);
        }
    
        @Override
        public String getFormattedOutput() {
            return output.ansiCharsToColorText().withNormalizedEol();
        }
    
        @Override
        public String getPlainTextOutput() {
            return output.ansiCharsToPlainText().withNormalizedEol();
        }
    
        @Override
    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