Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for assertHasResolutions (0.28 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            fails("check")
            failure.assertHasDescription("Execution failed for task ':pmdTest'.")
            failure.assertThatCause(containsString("2 PMD rule violations were found. See the report at:"))
            failure.assertHasResolutions(SCAN)
            file("build/reports/pmd/main.xml").assertContents(not(containsClass("org.gradle.Class1")))
            file("build/reports/pmd/test.xml").assertContents(containsClass("org.gradle.Class1Test"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

            then:
            failure.assertHasDescription("Problem configuring task :help from command line.")
            failure.assertHasCause("Unknown command-line option '--tasssk'.")
            failure.assertHasResolutions(
                "Run gradle help --task :help to get task usage details.",
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP,
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadSpiIntegrationTest.groovy

                   .assertHasCause("No locally installed toolchains match and toolchain download repositories have not been configured.")
                   .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
    - 23.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy

            """
    
            when:
            fails ':checkDeps'
    
            then:
            failure.assertHasCause("""Could not resolve all dependencies for configuration ':conf'.""")
                .assertHasResolutions("""The project declares repositories, effectively ignoring the repositories you have declared in the settings.
       To determine how project repositories are declared, configure your build to fail on project repositories.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:56:27 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyGraphIntegrationTest.groovy

            failure.assertHasCause("""Could not find org.test:test:1.2.
    Searched in the following locations:
      - ${m.pom.file.displayUri}
    Required by:
        project :buildC""")
            failure.assertHasResolutions(REPOSITORY_HINT,
                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: Thu May 09 19:37:49 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy

            failure.assertHasCause("""Could not find test:a:1.2.
    Searched in the following locations:
      - ${m.pom.uri}
    Required by:
        project :""")
            failure.assertHasResolutions(repositoryHint("Maven POM"),
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP)
    
            when:
            server.resetExpectations()
            m.publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenSnapshotResolveIntegrationTest.groovy

    Searched in the following locations:
      - ${projectA.pom.uri}
    Required by:
    """)
            failure.assertHasResolutions(repositoryHint("Maven POM"),
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
                SCAN,
                GET_HELP)
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 39K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/versions/VersionConflictResolutionIntegrationTest.groovy

    }
    """
    
            expect:
            runAndFail("tool:dependencies")
            failure.assertThatCause(containsString(CONFLICT_FOUND_HEADER_MESSAGE))
            failure.assertHasResolutions("Run with :tool:dependencyInsight --configuration runtimeClasspath " +
                "--dependency org:foo to get more insight on how to solve the conflict.",
                STACKTRACE_MESSAGE,
                INFO_DEBUG,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 76.2K bytes
    - Viewed (0)
Back to top