Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unsupportedNotation (0.15 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

                this
            }
        }
    
        static class UnsupportedNotation extends ValidationMessageDisplayConfiguration<UnsupportedNotation> {
            String type
            String value
            String targetType
    
            UnsupportedNotation(ValidationMessageChecker checker) {
                super(checker)
            }
    
            UnsupportedNotation value(String value, String type = 'DefaultTask') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

            """
    
            expect:
            fails "test"
            failure.assertHasDescription("A problem was found with the configuration of task ':test' (type 'DefaultTask').")
            failureDescriptionContains(unsupportedNotation {
                property('input')
                    .value("task ':dependencyTask'")
                    .cannotBeConvertedTo(targetType)
                    .candidates(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

    Possible solution: Make sure that the root of the file tree 'output' is configured to a directory.
    
    ${validationMessage("cannot_write_output")}
    """
        }
    
        def "tests output of unsupportedNotation"() {
            when:
            render unsupportedNotation {
                type('Human').property('face')
                value('visible', 'person')
                candidates("a mask", "a vaccine")
                cannotBeConvertedTo('safe person')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

                reportUnsupportedValue(propertyName, context, targetType, value.get(), unsupportedNotationException.getCandidates());
            }
        }
    
        private static final String UNSUPPORTED_NOTATION = "UNSUPPORTED_NOTATION";
    
        private static void reportUnsupportedValue(String propertyName, PropertyValidationContext context, String targetType, Object value, Collection<String> candidates) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc

    If you didn't intend to write in this directory, you should simply setup your task to write in a different location.
    
    [[unsupported_notation]]
    == Unsupported notation in file inputs
    
    This error indicates that a file, directory, collection of files, or a nested collection of files property, refers to an element that Gradle cannot convert to a file.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top