- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for assertHasResolutions (0.52 sec)
-
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) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy
.runWithFailure() then: failure.assertHasCause("No locally installed toolchains match and toolchain auto-provisioning is not enabled.") .assertHasResolutions( DocumentationUtils.normalizeDocumentationLink("Learn more about toolchain auto-detection at https://docs.gradle.org/current/userguide/toolchains.html#sec:auto_detection."), STACKTRACE_MESSAGE,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 23.4K bytes - Viewed (0) -
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) -
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) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/integtests/resolve/resource/sftp/ivy/IvySftpRepoErrorsIntegrationTest.groovy
.assertHasCause("""Could not find org.group.name:projectA:1.2. Searched in the following locations: - ${module.ivy.uri} Required by: """) failure.assertHasResolutions(repositoryHint("ivy.xml"), STACKTRACE_MESSAGE, INFO_DEBUG, SCAN, GET_HELP) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 23 11:07:23 UTC 2024 - 9.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/UndefinedBuildExecutionIntegrationTest.groovy
when: fails(*tasks) then: failure.assertHasDescription("Directory '$testDirectory' does not contain a Gradle build.") failure.assertHasResolutions( "Run gradle init to create a new Gradle build in this directory.", STACKTRACE_MESSAGE, INFO_DEBUG, GET_HELP) // Don't suggest running with --scan for a missing build
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 09:18:31 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginToolchainsIntegrationTest.groovy
failure.assertHasDescription("Execution failed for task ':checkstyleMain'.") failure.assertHasErrorOutput("Name 'class1' must match pattern") failure.assertHasResolutions(SCAN) file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.class1")) file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.class2"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalRepoResolveIntegrationTest.groovy
then: failure.assertHasCause("""Could not find group:projectA:1.2. Searched in the following locations: - ${module.pomFile.displayUri} Required by: """) failure.assertHasResolutions(repositoryHint("Maven POM"), STACKTRACE_MESSAGE, INFO_DEBUG, SCAN, GET_HELP) when: module.publish() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 12.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java
assertThat(this.resolution, containsString("> " + resolution)); return this; } @Override public ExecutionFailure assertHasResolutions(String... resolutions) { String expected = Arrays.stream(resolutions) .map(resolution -> "> " + resolution) .collect(joining("\n"));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 12.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java
assertThat(this.fileNames, hasItem(equalTo(filename))); return this; } @Override public ExecutionFailure assertHasResolutions(String... resolutions) { outputFailure.assertHasResolutions(resolutions); return this; } @Override public ExecutionFailure assertHasResolution(String resolution) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 37.1K bytes - Viewed (0)