- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 74 for assertThatCause (0.31 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionFailure.java
* Asserts that there is a failure present with the given cause (ie the bit after the description). * * <p>Error messages are normalized to use new-line char as line separator. */ ExecutionFailure assertThatCause(Matcher<? super String> matcher); /** * Asserts that there is a failure present with the given description (ie the bit after '* What went wrong'). *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:25 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/ComponentModelIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 20.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy
then: failure.assertHasCause("Cannot set readonly property: name for class: Thing\$Impl") when: fails("changeDynProp") then: failure.assertThatCause(allOf( startsWith("No signature of method: Thing\$Impl"), containsString(".setProperty() is applicable for argument types: (String, String) values: [name, 123]") )) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 05:39:53 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/CancellationSpec.groovy
def failure = OutputScrapingExecutionFailure.from(stdout.toString(), stderr.toString()) failure.assertHasDescription("Execution failed for task '${taskPath}'.") failure.assertThatCause(cancelledMessageMatcher(taskPath)) } else { // Verify that there is some logging output that explains that the build was cancelled, for versions that do not include any context in the message
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
failure.assertHasCause("Failed to transform b.jar (project :b) to match attributes {artifactType=jar, color=green}.") failure.assertThatCause(matchesRegexp('Could not isolate parameters MakeGreen\\$Parameters_Decorated@.* of artifact transform MakeGreen'))
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 assertHasCause(String description) { assertThatCause(startsWith(description)); return this; } @Override public ExecutionFailure assertThatCause(Matcher<? super String> matcher) { outputFailure.assertThatCause(matcher); Set<String> seen = new LinkedHashSet<>();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 37.1K bytes - Viewed (0) -
platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformResolveIntegrationTest.groovy
api "org:foo" } """ checkConfiguration("compileClasspath") when: fails ":checkDeps" then: failure.assertThatCause(Matchers.startsWith("No matching variant of project :platform was found.")) } def "can enforce a local platform dependency"() { def module1 = mavenHttpRepo.module("org", "foo", "1.1").publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 10.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ComponentAttributesDynamicVersionIntegrationTest.groovy
fails ':checkDeps' failure.assertHasCause("No matching variant of org.test:module:1.0 was found. The consumer was configured to find attribute 'quality' with value 'canary' but:") failure.assertThatCause(containsNormalizedString("Incompatible because this component declares attribute 'quality' with value 'qa' and the consumer needed attribute 'quality' with value '$requested'")) } where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CredentialsProviderIntegrationTest.groovy
for (int i = 0; i < 10; i++) { args '--parallel', '--continue' fails 'executionCredentials' failure.assertNotOutput("ConcurrentModificationException") failure.assertThatCause(CoreMatchers.equalTo(errorMessage)) failure.assertHasFailures(4) } where: credentialsType | errorMessage
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy
helloWorldApp.writeSources(file("b/src/main")) file("b/src/main/cpp/broken.cpp") << """ A broken C++ file """ expect: fails "mainExecutable" failure.assertThatCause(CoreMatchers.not(CoreMatchers.containsString("Could not stop"))) } @ToBeFixedForConfigurationCache def "can configure output file for binaries"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 11.1K bytes - Viewed (0)