Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for assertThatDescription (0.3 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

        }
    
        private static void assertFailureDescription(
            ExecutionFailure failure,
            Matcher<String> failureMatcher
        ) {
            failure.assertThatDescription(failureMatcher)
        }
    
        private static void assertHasConsoleSummary(String text, HasConfigurationCacheProblemsSpec spec) {
            def uniqueCount = spec.uniqueProblems.size()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                executer.withArguments("-x", "b").run().assertTasksExecuted(":a", ":c", ":d", ":sub:c", ":sub:d")
                // Unknown task
                executer.withTasks("d").withArguments("-x", "unknown").runWithFailure().assertThatDescription(startsWith("Task 'unknown' not found in root project 'root' and its subprojects."))
            }
        }
    
        def "unqualified exclude task name does not exclude tasks from parent projects"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

                this.failureDescription = failureDescription
            }
    
            @Override
            void assertHasExpectedFailure(ExecutionFailure failure) {
                failure.assertThatDescription(containsString(failureDescription))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                task invalidServiceType(type: Consumer) {}
            """
            enableStableConfigurationCache()
    
            when:
            fails 'invalidServiceType'
    
            then:
            failure.assertThatDescription(containsString(
                "Type 'Consumer' property 'counter' has @ServiceReference annotation used on property of type 'CountingService' which is not a build service implementation."
            ))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                    failure.assertHasDescription("A problem was found with the configuration of task ':${appType}:badTask' (type 'DefaultTask').")
                    failure.assertThatDescription(containsString(cannotWriteToReservedLocation {
                        property('output')
                            .forbiddenAt(reserved)
                            .includeLink()
                    }))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
Back to top