Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertThatDescription (0.41 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            @Override
            public ExecutionFailure assertHasDescription(String context) {
                assertThatDescription(startsWith(context));
                return this;
            }
    
            @Override
            public ExecutionFailure assertThatDescription(Matcher<? super String> matcher) {
                outputFailure.assertThatDescription(matcher);
                assertHasFailure(matcher, f -> {});
                return this;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

                    input = dependencyTask
                }
            """
    
            expect:
            fails "customTask"
            if(GradleContextualExecuter.configCache){
                failure.assertThatDescription(containsString("Task `:customTask` of type `CustomTask`: cannot serialize object of type 'org.gradle.api.DefaultTask', " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        }
    
        protected void failureDescriptionStartsWith(String description) {
            failure.assertThatDescription(containsNormalizedString(description))
        }
    
        protected void failureDescriptionContains(String description) {
            failure.assertThatDescription(containsNormalizedString(description))
        }
    
        protected void failureCauseContains(String description) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K 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