Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cannotBeConvertedTo (0.22 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

            failureDescriptionContains(unsupportedNotation {
                property('input')
                    .value("task ':dependencyTask'")
                    .cannotBeConvertedTo(targetType)
                    .candidates(
                        "a String or CharSequence path, for example 'src/main/java' or '/usr/include'",
                        "a String or CharSequence URI, for example 'file:/usr/include'",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            when:
            render unsupportedNotation {
                type('Human').property('face')
                value('visible', 'person')
                candidates("a mask", "a vaccine")
                cannotBeConvertedTo('safe person')
                includeLink()
            }
    
            then:
            outputEquals """
    Type 'Human' property 'face' has unsupported value 'visible'.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            UnsupportedNotation value(String value, String type = 'DefaultTask') {
                this.value = value
                this.type = type
                this
            }
    
            UnsupportedNotation cannotBeConvertedTo(String type) {
                this.targetType = type
                this
            }
    
            UnsupportedNotation candidates(String... candidates) {
                candidates.each { solution("Use $it") }
    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