Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for failureDescriptionContains (0.49 sec)

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

                    }
                }
            """
            def isConfigCache = GradleContextualExecuter.configCache
    
            when:
            fails ':consumer:resolve'
            then:
            failureDescriptionContains(isConfigCache ? "MakeGreen" : "Execution failed for task ':consumer:resolve'.")
            failureCauseContains(isConfigCache ? "MakeGreen" : "Could not isolate parameters null of artifact transform MakeGreen")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            when:
            fails 'missingRequiredService'
    
            then:
            failureDescriptionContains("A problem was found with the configuration of task ':missingRequiredService' (type 'Consumer').")
            failureDescriptionContains("- Type 'Consumer' property 'counter' doesn't have a configured value.")
            failureDescriptionContains("Reason: This property isn't marked as optional and no value has been configured.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  3. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

            //   we assume it's mutable, even though the _return type_ is `Provider`.
            //   We will produce the correct message after https://github.com/gradle/gradle/issues/26141 is fixed.
            failureDescriptionContains(missingValueMessage { type('org.gradle.api.tasks.bundling.Jar').property('archiveFile') })
        }
    
        def "can use Provider values in manifest attribute"() {
            given:
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            when:
            fails('myTask', "-Pmy=trash")
            then:
            failureDescriptionContains("Type 'MyTask' property 'strings' doesn't have a configured value.")
    
            when:
            fails('myTask')
            then:
            failureDescriptionContains("Type 'MyTask' property 'strings' doesn't have a configured value.")
    
            verifyAll(receivedProblem) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

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

      - A RegularFile instance.
      - A URI or URL instance.
      - A TextResource instance."""
    
            when:
            fails "broken"
            then:
            executedAndNotSkipped ":broken"
            failureDescriptionContains("Execution failed for task ':broken'.")
            failureCauseContains(cause)
        }
    
        void assertMissingDependency(String producerTask, String consumerTask, File... producedConsumedLocations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                    brokenInputFile = file '${brokenInputFile}'
                }
            """
    
            when:
            fails 'brokenInput'
    
            then:
            failureDescriptionContains(inputDoesNotExist {
                type('CustomTask')
                property('brokenInputFile')
                kind(inputName)
                missing(brokenInputFile)
                includeLink()
            })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/plugins/PluginBuildsIntegrationTest.groovy

                    id("${pluginBuild.settingsPluginId}")
                }
                includeBuild("${pluginBuild.buildName}")
            """
    
            when:
            fails()
    
            then:
            failureDescriptionContains("Plugin [id: '${pluginBuild.settingsPluginId}'] was not found in any of the following sources:")
        }
    
        def "included plugin build is not visible as library component"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

            """
    
            expect:
            fails "myTask"
            failure.assertHasDescription("A problem was found with the configuration of task ':myTask' (type 'TaskWithAbsentNestedInput').")
            failureDescriptionContains(missingValueMessage { type('TaskWithAbsentNestedInput').property('nested') })
    
            where:
            description               | property
            "for plain Java property" | "NestedBean nested"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/LambdaInputsIntegrationTest.groovy

            then:
            executedAndNotSkipped(':myTask')
            failureDescriptionStartsWith("A problem was found with the configuration of task ':myTask' (type 'TaskWithConsumerProperty').")
            failureDescriptionContains(implementationUnknown {
                nestedProperty('consumer')
                implementedByLambda("Lambdas")
            })
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top