Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for failureDescriptionContains (0.3 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. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsOrderingIntegrationTest.groovy

                plugins {
                    id("groovy-gradle-plugin")
                    id("${build2.projectPluginId}")
                }
            """)
    
            then:
            fails()
            failureDescriptionContains("Plugin [id: '${build2.projectPluginId}'] was not found in any of the following sources:")
        }
    
        def "first included build can include the build it needs project plugins from explicitly"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 11 09:38:08 UTC 2020
    - 7K bytes
    - Viewed (0)
  3. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildConfigurationIntegrationTest.groovy

                plugins {
                    id("${pluginBuild.settingsPluginId}")
                }
                include("$pluginBuild")
            """
    
            when:
            fails()
    
            then:
            failureDescriptionContains("build-logic has name 'build-logic' which is the same as a project of the main build")
        }
    
        def "included project plugin build can not clash with root subproject name"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 06:46:06 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DirectorySensitivityErrorHandlingIntegrationSpec.groovy

                    outputFile = file("\${buildDir}/output")
                }
            """
    
            file('foo').createFile()
    
            when:
            fails("taskWithInputs")
    
            then:
            failureDescriptionContains(
                incompatibleAnnotations {
                    type('TaskWithInputs').property('input')
                    annotatedWith('IgnoreEmptyDirectories')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsNestingIntegrationTest.groovy

                plugins {
                    id("${build1.projectPluginId}")
                    id("${build2.projectPluginId}")
                }
            """
    
            then:
            fails()
            failureDescriptionContains("Plugin [id: '${build1.projectPluginId}'] was not found in any of the following sources:")
        }
    
        def "included plugin build project plugins are visible when included explicitly"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 08 11:18:10 UTC 2020
    - 7.4K bytes
    - Viewed (0)
Back to top