- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 664 for mutate1 (0.2 sec)
-
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedToModelMapElementIntegrationTest.groovy
@Mutate void mutateEcho(Task echo, String message) { echo.message = message } } class Rules extends RuleSource { @Model String message() { "foo" } @Mutate void addTasks(ModelMap<Task> tasks) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
pkg/wasm/imagefetcher_test.go
configLayer, err := random.Layer(1000, "application/vnd.module.wasm.config.v1+json") if err != nil { t.Fatal(err) } img, err := mutate.Append(empty.Image, mutate.Addendum{Layer: wasmLayer}, mutate.Addendum{Layer: configLayer}) if err != nil { t.Fatal(err) } img = mutate.MediaType(img, types.OCIManifestSchema1) // Push image to the registry. err = crane.Push(img, ref) if err != nil { t.Fatal(err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 05 04:15:17 UTC 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
for ( String mutate : applyMutations ) { if ( excludes.contains(mutate) || shouldSkip(excludes, mutate) ) { continue; } if ( MUTATIONS.containsKey(mutate) ) { configs.put(cfgname + "-" + mutate, MUTATIONS.get(mutate).mutate(new HashMap<>(map))); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (0) -
pkg/registry/core/replicationcontroller/strategy_test.go
errs = Strategy.ValidateUpdate(ctx, invalidRc, rc) if len(errs) == 0 { t.Errorf("Expected a validation error") } if invalidRc.ResourceVersion != "4" { t.Errorf("Incoming resource version on update should not be mutated") } } func TestControllerStatusStrategy(t *testing.T) { ctx := genericapirequest.NewDefaultContext() if !StatusStrategy.NamespaceScoped() { t.Errorf("ReplicationController must be namespace scoped") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 13 16:56:29 UTC 2019 - 6.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy
class MyPlugin extends RuleSource { @Mutate void tasks(ModelMap<EchoTask> tasks) { tasks.create("test") } @Mutate void applyMessages(@Path("tasks.test") Task task) { println "as task: \$task" } @Mutate void applyMessages(@Path("tasks.test") EchoTask task) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 12:57:53 UTC 2024 - 19.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ConfigurationCycleIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:55 UTC 2024 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskCreationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 18 22:50:47 UTC 2020 - 16.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ModelSetModelProjectionTest.groovy
.build() ) } void mutate(@DelegatesTo(ModelSet) Closure<?> action) { registry.mutate(reference, new ClosureBackedAction<>(action)) registry.realizeNode(collectionPath) } def "can define and query elements"() { when: mutate { create { name = '1' } create { name = '2' } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedScalarCollectionsIntegrationTest.groovy
def "rule can mutate a managed type with a #type of scalar read-only property"() { given: buildScript """ @Managed interface Container { $type<String> getItems() } class Rules extends RuleSource { @Model void createContainer(Container c) {} @Mutate void addItems(Container c) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.5K bytes - Viewed (0)