Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for verifyAll (0.33 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy

                    .setStandardOutput(System.out)
                    .addArguments("--info")
                    .run()
            }
    
            then:
            thrown(BuildException)
            listener.problems.size() == 2
            verifyAll(listener.problems[0]) {
                definition.id.displayName == "The RepositoryHandler.jcenter() method has been deprecated."
                definition.id.group.displayName == "Deprecation"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

            fails ':help'
    
            then:
            verifyContains(failure.error, missingCatalogFile {
                inCatalog('libs')
                missing(path)
            })
    
            and:
            verifyAll(receivedProblem) {
                fqid == 'dependency-version-catalog:catalog-file-does-not-exist'
                contextualLabel == 'Problem: In version catalog libs, import of external catalog file failed.'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            def nodes = graph.getNodes(PlannedNodeGraph.DetailLevel.LEVEL1_TASKS) as List<TestPlannedNode>
            then:
            nodes.size() == 4
            nodes*.nodeIdentity*.nodeType =~ [NodeType.TASK]
            verifyAll {
                nodes[0].nodeIdentity.name == "task1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            result.actionClassLoaderHashes == null
            result.actionClassNames == null
            result.inputValueHashes == null
            result.outputPropertyNames == null
    
            and:
            verifyAll(receivedProblem(0)) {
                fqid == 'validation:property-validation:unknown-implementation'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            failureDescriptionContains(unexpectedInputType {
                property('input')
                    .kind(fileType)
                    .missing(unexpected)
                    .includeLink()
            })
    
            verifyAll(receivedProblem(0)) {
                fqid == 'validation:property-validation:unexpected-input-file-type'
                contextualLabel == "Property \'input\' $fileType \'${unexpected.absolutePath}\' is not a $fileType"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

                type('CustomTask')
                property('brokenInputFile')
                kind(inputName)
                missing(brokenInputFile)
                includeLink()
            })
    
            verifyAll(receivedProblem(0)) {
                fqid == 'validation:property-validation:input-file-does-not-exist'
    
                def inputNameLc = inputName.toLowerCase()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildPluginDevelopmentIntegrationTest.groovy

            when:
            fails(buildA, "taskFromPluginBuild")
    
            then:
            failure.assertHasDescription("Could not compile build file '$buildA.buildFile.canonicalPath'.")
    
            and:
            verifyAll(receivedProblem) {
                fqid == 'compilation:groovy-dsl:compilation-failed'
                contextualLabel == "Could not compile build file '${buildA.buildFile.absolutePath}'."
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy

            when:
            fails('myTask')
            then:
            failureDescriptionContains("Type 'MyTask' property 'strings' doesn't have a configured value.")
    
            verifyAll(receivedProblem) {
                fqid == 'validation:property-validation:value-not-set'
                contextualLabel == 'Type \'MyTask\' property \'strings\' doesn\'t have a configured value'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

                    return new ReceivedProblem(operation.id, problemDetails)
                }
            }
        }
    
        static void printCollectedProblems(ReceivedProblem problem, int index) {
            println "verifyAll(receivedProblem($index)) {"
            println "    fqid == '${problem.definition.id.fqid}'"
            if (problem.contextualLabel != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/testing_gradle_plugins.adoc

    <2> Configures the URL to be verified through the exposed extension
    
    Executing the `verifyUrl` task renders a success message if the HTTP GET call to the configured URL returns with a 200 response code:
    
    [[verify-url-cmd-output]]
    [source,shell]
    ----
    $ gradle verifyUrl
    
    include::{snippetsPath}/developingPlugins/testingPlugins/tests/verifyUrl.out[]
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 22:49:20 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top