Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for assertHasResolutions (0.73 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

            }
            failure.assertHasDescription("Task 'someTest' not found in root project 'test' and its subprojects. Some candidates are: 'someTask', 'someTaskA', 'someTaskB'.")
            failure.assertHasResolutions(
                GET_TASKS,
                NAME_EXPANSION,
                INFO_DEBUG,
                SCAN,
                GET_HELP
            )
    
            when:
            fails ":someTest"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyBrokenRemoteResolveIntegrationTest.groovy

                .assertHasCause("""Could not find group:projectA:1.2.
    Searched in the following locations:
      - ${module.ivy.uri}
    Required by:
        project :""")
            failure.assertHasResolutions(REPOSITORY_HINT,
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP)
    
    
            when:
            server.resetExpectations()
            module.ivy.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBrokenRemoteResolveIntegrationTest.groovy

                .assertHasCause("""Could not find group:projectA:1.2.
    Searched in the following locations:
      - ${module.pom.uri}
    Required by:
        project :""")
            failure.assertHasResolutions(REPOSITORY_HINT,
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP)
    
            when:
            server.resetExpectations()
            module.pom.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top