Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for convertToSingleLine (0.65 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DefaultWorkValidationWarningRecorder.java

    import static org.gradle.internal.deprecation.DeprecationMessageBuilder.withDocumentation;
    import static org.gradle.internal.reflect.validation.TypeValidationProblemRenderer.convertToSingleLine;
    import static org.gradle.internal.reflect.validation.TypeValidationProblemRenderer.renderMinimalInformationAbout;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:26:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy

                convertToSingleLine(renderMinimalInformationAbout(warnings.first(), false, false)) == expectedWarning
            })
            1 * virtualFileSystem.invalidateAll()
    
            then:
            1 * delegate.execute(work, { ValidationFinishedContext context ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultNodeValidator.java

    import static org.gradle.internal.deprecation.DeprecationMessageBuilder.withDocumentation;
    import static org.gradle.internal.reflect.validation.TypeValidationProblemRenderer.convertToSingleLine;
    import static org.gradle.internal.reflect.validation.TypeValidationProblemRenderer.renderMinimalInformationAbout;
    
    /**
     * This class will validate a {@link LocalTaskNode}, logging any warnings discovered and halting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/validation/TypeValidationProblemRenderer.java

            }
        }
    
        /**
         * This is an adhoc reformatting tool which should go away as soon as we have
         * a better way to display multiline deprecation warnings
         */
        public static String convertToSingleLine(String message) {
            return message.replaceAll("(\\r?\\n *)+", ". ")
                .replaceAll("[.]+", ".")
                .replaceAll("[ ]+", " ")
                .replaceAll(": ?[. ]", ": ");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

    import org.gradle.integtests.fixtures.executer.GradleExecuter
    import org.gradle.internal.reflect.JavaReflectionUtil
    
    import static org.gradle.internal.reflect.validation.TypeValidationProblemRenderer.convertToSingleLine
    
    // https://issues.apache.org/jira/browse/GROOVY-10055
    //@CompileStatic
    trait ValidationMessageChecker {
        private final DocumentationRegistry documentationRegistry = new DocumentationRegistry()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
Back to top