Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,648 for action1 (0.16 sec)

  1. pkg/controller/certificates/rootcacertpublisher/publisher_test.go

    				},
    			},
    			ExpectActions: func(t *testing.T, actions []clienttesting.Action) {
    				if len(actions) != 1 {
    					t.Fatal(actions)
    				}
    				if actions[0].GetVerb() != "update" {
    					t.Fatal(actions)
    				}
    				actualObj := actions[0].(clienttesting.UpdateAction).GetObject()
    				if actualObj.(*v1.ConfigMap).Annotations[DescriptionAnnotation] != Description {
    					t.Fatal(actions)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:16 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/configuration/project/DefaultProjectConfigurationActionContainer.java

        public void finished() {
            actions.clear();
        }
    
        @Override
        public List<Action<? super ProjectInternal>> getActions() {
            return actions;
        }
    
        @Override
        public void add(Action<? super ProjectInternal> action) {
            actions.add(action);
        }
    
        @Override
        public void add(Closure action) {
            add(ConfigureUtil.configureUsing(action));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:07 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultMutationGuardTest.groovy

            where:
            methodUnderTest         | callableType | callable
            "withMutationDisabled"  | "Action"     | Actions.doNothing()
            "withMutationEnabled"   | "Action"     | Actions.doNothing()
        }
    
        def "call to #methodUnderTest(#callableType) inside withMutationEnabled(Action) does enable disallow check outside scope"() {
            def aMethodUnderTest = methodUnderTest
            def aCallable = callable
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

                return this;
            }
    
            public Builder action(ModelActionRole role, ModelAction action) {
                this.actions.put(role, action);
                return this;
            }
    
            public Builder action(ModelActionRole role, Action<? super MutableModelNode> action) {
                return action(role, new NoInputsBuilderAction(reference, descriptorReference, action));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller_test.go

    	if len(actions) != len(expected) {
    		t.Fatalf("Expected at least %d actions, got %d \ndiff: %v", len(expected), len(actions), cmp.Diff(expected, actions))
    	}
    
    	for i, action := range actions {
    		verb := expected[i][0]
    		if action.GetVerb() != verb {
    			t.Errorf("Expected action %d verb to be %s, got %s", i, verb, action.GetVerb())
    		}
    		resource := expected[i][1]
    		if action.GetResource().Resource != resource {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 14 23:31:58 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/result/DefaultResolutionResult.java

            final Set<ResolvedComponentResult> out = new LinkedHashSet<>();
            eachElement(getRoot(), Actions.doNothing(), Actions.doNothing(), out);
            return out;
        }
    
        @Override
        public void allComponents(final Action<? super ResolvedComponentResult> action) {
            eachElement(getRoot(), action, Actions.doNothing(), new HashSet<>());
        }
    
        @Override
        @SuppressWarnings("rawtypes")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

                }
            """
    
            expect:
            def models = withConnection {
                def action = action(new ActionRunsMultipleLevelsOfNestedActions())
                action.standardOutput = System.out
                action.standardError = System.err
                action.addArguments("--parallel")
                action.run()
            }
    
            models.size() == 3
            models.every { it.projects.size() == 5 }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/configuration/project/PluginsProjectConfigureActions.java

        private PluginsProjectConfigureActions(Iterable<Action<ProjectInternal>> actions) {
            this.actions = actions;
        }
    
        @Override
        public void execute(ProjectInternal project) {
            for (Action<ProjectInternal> action : actions) {
                action.execute(project);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 10:39:11 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractTaskSpec.groovy

            return task
        }
    
        def "can add action to a task via Task.getActions() List"() {
            setup:
            def task = createTask("task")
            when:
            def actions = task.actions
            and:
            def action = Mock(Action)
    
            actions.add(action)
            then:
            task.actions.size() == 1
            actions.size() == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 22:32:34 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/VariantAttributesRules.java

        public VariantAttributesRules(ImmutableAttributesFactory attributesFactory) {
            this.attributesFactory = attributesFactory;
        }
    
        public void addAttributesAction(VariantMetadataRules.VariantAction<? super AttributeContainer> action) {
            actions.add(action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top