- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 664 for mutate1 (0.14 sec)
-
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/DelegatedGradlePropertiesIntegrationTest.kt
setProperty("projectMutatedBuildProperty", "mutated") require(projectMutatedBuildProperty == "mutated") val projectMutatedUserHomeProperty: String by project require(projectMutatedUserHomeProperty == "user home value") setProperty("projectMutatedUserHomeProperty", "mutated") require(projectMutatedUserHomeProperty == "mutated") } """.trimIndent()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher_test.go
tcs := []struct { config string webhook string mutated bool expected string }{ { config: "test-config", webhook: "test-webhook", mutated: true, expected: `{"configuration":"test-config","webhook":"test-webhook","mutated":true}`, }, { config: "test-config", webhook: "test-webhook", mutated: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNodeBackedModelMapTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ListModelProjectionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/MutationRuleApplicationOrderIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy
failure.assertHasCause("Exception thrown while executing model rule: RulePlugin#mutate(ModelMap<Task>, ModelMap<Person>)") failure.assertHasCause("Attempt to modify a read only view of model element 'people' of type 'ModelMap<Person>' given to rule RulePlugin#mutate(ModelMap<Task>, ModelMap<Person>)") } def "cannot mutate when used as subject of validate rule"() { when: buildScript ''' @Managed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/MutationRuleExecutionOrderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy
void afterPerson(Person person) { person.name += " after" } @Mutate void configurePerson(Person person) { person.name += " configure" } @Mutate void addEchoTask(ModelMap<Task> tasks, Person person) { tasks.create("echo") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy
@Model void managedNamed(ManagedNamed namedThing) { } @Mutate void setName(Named named) { named.name = "superclass" } @Mutate void addTask(ModelMap<Task> tasks, Named named) { tasks.create("echo") { it.doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MutateModelRuleExtractor.java
import javax.annotation.concurrent.ThreadSafe; import org.gradle.model.Mutate; import org.gradle.model.internal.core.ModelActionRole; @ThreadSafe public class MutateModelRuleExtractor extends AbstractMutationModelRuleExtractor<Mutate> { @Override protected ModelActionRole getMutationType() { return ModelActionRole.Mutate; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1010 bytes - Viewed (0)