Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for assertHasResolutions (0.58 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ErrorsOnStdoutScrapingExecutionFailure.java

            delegate.assertHasFailure(description, action);
            return this;
        }
    
        @Override
        public ExecutionFailure assertHasResolutions(String... resolutions) {
            delegate.assertHasResolutions(resolutions);
            return this;
        }
    
        @Override
        public ExecutionFailure assertHasResolution(String resolution) {
            delegate.assertHasResolution(resolution);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadIntegrationTest.groovy

                   .assertHasCause("No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories.")
                   .assertHasResolutions(
                       DocumentationUtils.normalizeDocumentationLink("Learn more about toolchain auto-detection at https://docs.gradle.org/current/userguide/toolchains.html#sec:auto_detection."),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 10:53:57 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskJvmArgsProviderIntegrationTest.groovy

            then:
            fails "test", "-PinputFile=different-file.txt"
            failure.assertHasDescription("Execution failed for task ':test'.")
            failure.assertHasCause("There were failing tests.")
            failure.assertHasResolutions(SCAN)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/maven/MavenS3RepoErrorsIntegrationTest.groovy

            failure.assertHasCause(
                    """Could not find org.gradle:test:1.85.
    Searched in the following locations:
      - ${module.pom.uri}
    Required by:
    """)
            failure.assertHasResolutions(repositoryHint("Maven POM"),
                STACKTRACE_MESSAGE,
                DEBUG,
                SCAN,
                GET_HELP)
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/maven/MavenGcsRepoErrorsIntegrationTest.groovy

            failure.assertHasCause(
                """Could not find org.gradle:test:1.85.
    Searched in the following locations:
      - ${module.pom.uri}
    Required by:
    """)
            failure.assertHasResolutions(repositoryHint("Maven POM"),
                STACKTRACE_MESSAGE,
                DEBUG,
                SCAN,
                GET_HELP)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionFailure.java

        /**
         * Asserts that the reported failure has exactly the given resolutions (ie the bit after '* Try').
         */
        ExecutionFailure assertHasResolutions(String... resolutions);
    
        /**
         * Asserts that the reported failure has the given resolution, and maybe more resolutions.
         */
        ExecutionFailure assertHasResolution(String resolution);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy

            """
    
            when:
            fails 'checkDeps'
    
            then:
            failure.assertHasCause """Conflict found for the following module:
      - org:foo between versions 1.1 and 1.0"""
            failure.assertHasResolutions("Run with :dependencyInsight --configuration conf " +
                "--dependency org:foo to get more insight on how to solve the conflict.",
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/MetadataSourcesResolveIntegrationTest.groovy

            failure.assertHasCause("""Could not find org.test:projectA:1.1.
    Searched in the following locations:
      - ${metadataUri}
    Required by:""")
            failure.assertHasResolutions(repositoryHint(format),
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP)
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIdentityIntegrationTest.groovy

            failure.assertHasCause("""Could not find org.test:test:1.2.
    Searched in the following locations:
      - ${m.pom.file.displayUri}
    Required by:
        project :buildSrc""")
            failure.assertHasResolutions(repositoryHint("Maven POM"),
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP)
    
    
            when:
            m.publish()
            m.artifact.file.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginVersionIntegrationTest.groovy

            fails("check")
            failure.assertHasDescription("Execution failed for task ':codenarcTest'.")
            failure.assertThatCause(startsWith("CodeNarc rule violations were found. See the report at:"))
            failure.assertHasResolutions(SCAN)
            !report("main").text.contains("Class2")
            report("test").text.contains("testclass2")
        }
    
        def "can ignore failures"() {
            badCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top