Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for failureDescriptionContains (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            runBuildActionFails(new FetchGradleProjectForTarget(":a"))
    
            then:
            fixture.assertNoConfigurationCache()
    
            failureDescriptionContains("org.gradle.tooling.model.GradleProject can only be requested on the root project, got project ':a'")
        }
    
        def "can fetch GradleProject model for an included build project"() {
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy

            assert !link.exists()
    
            expect:
            fails("work")
            failure.assertHasDescription("A problem was found with the configuration of task ':work' (type 'DefaultTask').")
            failureDescriptionContains(inputDoesNotExist {
                property('$1')
                    .file(link)
                    .includeLink()
            })
        }
    
        def "can replace input file with symlink to file with same content"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 14:30:36 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top