Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ansiCharsToColorText (0.27 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. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RemoteDependencyResolveConsoleIntegrationTest.groovy

            build.waitForFinish()
        }
    
        void outputContainsProgress(GradleHandle build, String taskProgressLine, String... progressOutputLines) {
            def output = LogContent.of(build.standardOutput).ansiCharsToColorText().withNormalizedEol()
            assert output.contains(RichConsoleStyling.workInProgressLine(taskProgressLine)) ||
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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