- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for fails (0.17 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 13K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFlowScopeIntegrationTest.groovy
when: 'task fails' buildFile ''' tasks.register('fail') { doLast { assert false } } ''' configurationCacheFails 'fail' then: 'flow action reacts to build failure' outputContains '(red)' configCache.assertStateStored() when: 'task from cache fails' configurationCacheFails 'fail'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
} where: exceptionHandlerDescritpion | exceptionHandlerImpl | expectedFailuresCount "rethrown" | "throw ex" | 2 // The original exception propagates and fails the build, and configuration cache problem is reported too. "ignored" | "// ignored" | 1 // Only the configuration cache problem is reported }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy
assertThatDeclaredValuesAreSetProperly() when: file("build.gradle.dcl") << """ testSoftwareType { nonPublic = "foo" } """ fails(":printTestSoftwareTypeExtensionImplConfiguration") then: failure.assertThatCause(Matchers.containsString("Failed to interpret the declarative DSL file"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 19 16:59:01 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy
""" when: isolatedProjectsRun("assemble") then: fixture.assertStateStored { projectsConfigured(":", ":a", ":b") } } def "fails on invoke method of unconfigured project"() { given: settingsFile << """ include(':a') include(':b') """ file("a/build.gradle") << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 32.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
*/ private fun <C : Closeable, T : Closeable> safeWrap(innerSupplier: () -> C, unsafeWrapper: (C) -> T): T { // fine if we fail here val innerCloseable = innerSupplier() val outerCloseable = try { // but if we fail here, we need to ensure we close // the inner closeable, or else it will leak unsafeWrapper(innerCloseable) } catch (e: Throwable) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDslProjectBuildFileIntegrationSpec.groovy
} """ def 'reports #kind errors in project file'() { given: file("build.gradle.dcl") << bodyCode when: def failure = fails(":help") then: failure.assertHasErrorOutput(expectedMessage) where: kind | bodyCode | expectedMessage
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:47 UTC 2024 - 12.9K bytes - Viewed (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
* * Our performance tests don't work with PTS, yet. * Smoke and soak tests are hard to grasp for PTS, that is why we run them without. * When running on Windows with PTS, SimplifiedKotlinScriptEvaluatorTest fails. See https://github.com/gradle/gradle-private/issues/3615. */ fun Project.supportsPredictiveTestSelection() = !isPerformanceProject() && !setOf("smoke-test", "soak", "kotlin-dsl", "smoke-ide-test").contains(name) /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 07:43:28 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy
file("settings.gradle.dcl") << getDeclarativeSettingsScriptThatSetsConventions(convention) file("build.gradle.dcl") << getDeclarativeScriptThatConfiguresOnlyTestSoftwareType("") when: fails(":printTestSoftwareTypeExtensionConfiguration") then: result.assertHasErrorOutput("Value reassigned") where: testCase | convention
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 12:50:35 UTC 2024 - 17.5K bytes - Viewed (0)