Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for failureDescriptionContains (0.47 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            failureDescriptionContains("Type 'TaskWithInput' property 'direct' has $annotation annotation used on property of type 'ResolvedArtifactResult'.")
            failureDescriptionContains("Type 'TaskWithInput' property 'providerInput' has $annotation annotation used on property of type 'Provider<ResolvedArtifactResult>'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy

            when:
            fails "updateDaemonJvm", "--jvm-version=$invalidVersion"
    
            then:
            failureDescriptionContains("Problem configuring option 'jvm-version' on task ':updateDaemonJvm' from command line.")
            failureHasCause("Could not determine Java version from '${invalidVersion}'")
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainInvalidCriteriaIntegrationTest.groovy

            given:
            writeJvmCriteria(JavaVersion.VERSION_17, "unexpectedVendor")
    
            when:
            fails 'help'
    
            then:
            failureDescriptionContains("Option toolchainVendor doesn't accept value 'unexpectedVendor'. Possible values are " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                }
            """
            expect:
            fails "test"
            failure.assertHasDescription("A problem was found with the configuration of task ':test' (type 'DefaultTask').")
            failureDescriptionContains(missingValueMessage { property('input') })
        }
    
        def "optional null input properties registered via TaskInputs.property are allowed"() {
            buildFile << """
                task test {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationTrait.groovy

                    failure.assertHasDescription("Some problems were found with the configuration of task ':run' (type 'MyTask').")
                    break
            }
            expectedFailures.forEach { error ->
                failureDescriptionContains(error.message)
            }
        }
    
        @Override
        TestFile source(String path) {
            return file("buildSrc/$path")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 14:30:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

            given:
            createDirs("1library")
            settingsFile << """
                include '1library'
            """
    
            when:
            fails 'help'
    
            then:
            failureDescriptionContains "Cannot generate project dependency accessors because project '1library' doesn't follow the naming convention: [a-zA-Z]([A-Za-z0-9\\-_])*"
        }
    
        def "fails if two subprojects have the same java name"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

            '''
            expect:
            fails "custom"
    
            failureDescriptionContains("Some problems were found with the configuration of task ':custom' (type 'CustomTask').")
            failureDescriptionContains(missingValueMessage { type('CustomTask').property('srcFile') })
            failureDescriptionContains(missingValueMessage { type('CustomTask').property('destFile') })
    
            verifyAll(receivedProblem(0)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            failureDescriptionContains(implementationUnknown {
                implementationOfTask(':customTask')
                unknownClassloader('CustomTask_Decorated')
            })
            failureDescriptionContains(implementationUnknown {
                additionalTaskAction(':customTask')
                unknownClassloader('CustomTask_Decorated')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoErrorsIntegrationTest.groovy

        }
    
        private void assertTaskFailureDescription(String taskSelector) {
            if (GradleContextualExecuter.configCache) {
                failureDescriptionContains("Configuration cache state could not be cached:")
                failureDescriptionContains(taskSelector)
            } else {
                def description = "Execution failed for task '${taskSelector}'."
                failure.assertHasDescription(description)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 11:07:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top