Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for verifyAll (0.18 sec)

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

                        property('output')
                            .forbiddenAt(reserved)
                            .includeLink()
                    }))
                    verifyAll(receivedProblem(index as Integer)) {
                        fqid == 'validation:property-validation:cannot-write-to-reserved-location'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/functionalTest/groovy/org/myorg/UrlVerifierPluginFunctionalTest.groovy

            def result = GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withArguments('verifyUrl')
                .withPluginClasspath()
                .build()
    
            then:
            result.output.contains("Successfully resolved URL 'https://www.google.com/'")
            result.task(":verifyUrl").outcome == SUCCESS
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/tasks/commandLineOption-stringOption/tests/taskCommandLineOption.sample.conf

    # tag::cli[]
    # gradle verifyUrl --quiet --url=http://www.google.com/
    # end::cli[]
    executable: gradle
    args: "verifyUrl --url=http://www.google.com/"
    flags: --quiet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 211 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/src/functionalTest/groovy/org/myorg/UrlVerifierPluginFunctionalTest.groovy

            def result = GradleRunner.create()
                .withProjectDir(testProjectDir)
                .withArguments('verifyUrl')
                .withPluginClasspath()
                .build()
    
            then:
            result.output.contains("Successfully resolved URL 'https://www.google.com/'")
            result.task(":verifyUrl").outcome == SUCCESS
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/groovy/url-verifier-plugin/src/main/java/org/myorg/UrlVerifierPlugin.java

        @Override
        public void apply(Project project) {
            UrlVerifierExtension extension = project.getExtensions().create("verification", UrlVerifierExtension.class);
            UrlVerify verifyUrlTask = project.getTasks().create("verifyUrl", UrlVerify.class);
            verifyUrlTask.getUrl().set(extension.getUrl());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 503 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/tasks/commandLineOption-stringOption/kotlin/build.gradle.kts

    // tag::task[]
    tasks.register<UrlVerify>("verifyUrl")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 69 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/developingPlugins/testingPlugins/kotlin/url-verifier-plugin/src/main/java/org/myorg/UrlVerifierPlugin.java

        @Override
        public void apply(Project project) {
            UrlVerifierExtension extension = project.getExtensions().create("verification", UrlVerifierExtension.class);
            UrlVerify verifyUrlTask = project.getTasks().create("verifyUrl", UrlVerify.class);
            verifyUrlTask.getUrl().set(extension.getUrl());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 503 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/tasks/commandLineOption-stringOption/groovy/build.gradle

    // tag::task[]
    tasks.register('verifyUrl', UrlVerify)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 69 bytes
    - Viewed (0)
  9. 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)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    - The option uses a double-dash as a prefix, e.g., `--url`.
    A single dash does not qualify as valid syntax for a task option.
    - The option argument follows directly after the task declaration, e.g., `verifyUrl --url=http://www.google.com/`.
    - Multiple task options can be declared in any order on the command line following the task name.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top