Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forNamespace (0.26 sec)

  1. platforms/ide/problems-api/src/integTest/groovy/org/gradle/api/problems/ProblemsServiceIntegrationTest.groovy

            given:
            withReportProblemTask """
                try {
                    problems.forNamespace("org.example.plugin").throwing {
                        it.id('type1', 'inner')
                        .withException(new RuntimeException("test"))
                    }
                } catch (RuntimeException ex) {
                    problems.forNamespace("org.example.plugin").rethrowing(ex) {
                        it.id('type2', 'outer')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ProblemProgressEventCrossVersionTest.groovy

            }
        }
    
        def "Problems expose details via Tooling API events with failure"() {
            given:
            withReportProblemTask """
                getProblems().forNamespace("org.example.plugin").reporting {
                    it.${targetVersion < GradleVersion.version("8.8") ? 'label("shortProblemMessage").category("main", "sub", "id")' : 'id("id", "shortProblemMessage")'}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top