- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for assertThatDescription (0.28 sec)
-
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/DeployedPortalIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 7.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsIncludeManyIntegrationTest.groovy
// The failure here emits a stacktrace because it's at compilation time executer.withStackTraceChecksDisabled() expect: def result = fails("projects") result.assertThatDescription(containsNormalizedString("Could not compile settings file")) failureCauseContains("The max number of supported arguments is 255, but found 301") where: includeFunction << ["include", "includeFlat"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromMultipleCustomPluginRepositorySpec.groovy
} """ use(repoA, repoB) when: fails("helloWorld") then: failure.assertThatDescription(containsNormalizedString(""" - Plugin Repositories (could not resolve plugin artifact 'org.gradle.hello-world:org.gradle.hello-world.gradle.plugin:0.2') Searched in the following repositories:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 19:30:55 UTC 2024 - 8.5K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/MultiProjectDependencyIntegrationTest.groovy
projectDependency from: 'c', to: ['a'] when: fails ':a:build' then: failure.assertHasNoCause() failure.assertThatDescription(CoreMatchers.startsWith("Circular dependency between the following tasks:")) } def "project dependency a->b->c->d and c fails"() { projectDependency from: 'a', to: ['b']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
failure.assertThatDescription(containsString(invalidUseOfCacheableAnnotation { type('Options').invalidAnnotation('CacheableTask').onlyMakesSenseOn('Task').includeLink() })) failure.assertThatDescription(containsString(invalidUseOfCacheableAnnotation {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 11:12:24 UTC 2023 - 37.7K bytes - Viewed (0) -
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) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy
ant.importBuild('build.xml') """ ExecutionFailure failure = inTestDirectory().withTasks('target1').runWithFailure() failure.assertHasFileName("Build file '$buildFile'") failure.assertThatDescription(startsWith('A problem occurred evaluating root project')) failure.assertHasCause("Could not import Ant build file '$antBuildFile'.") } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy
at(producedConsumedLocations[0]) consumer(consumerTask) producer(producerTask) includeLink() } failure.assertThatDescription(containsNormalizedString(expectedMessage)) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 08:14:44 UTC 2024 - 20.3K bytes - Viewed (0) -
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)