Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,556 for action1 (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		actions = appendIf(actions, action{"GET", itemPath, nameParams, namer, false}, isGetter)
    		if getSubpath {
    			actions = appendIf(actions, action{"GET", itemPath + "/{path:*}", proxyParams, namer, false}, isGetter)
    		}
    		actions = appendIf(actions, action{"PUT", itemPath, nameParams, namer, false}, isUpdater)
    		actions = appendIf(actions, action{"PATCH", itemPath, nameParams, namer, false}, isPatcher)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. 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)
  6. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	}
    	d.finalizeNamespace(context.Background(), testNamespace)
    	actions := mockClient.Actions()
    	if len(actions) != 1 {
    		t.Errorf("Expected 1 mock client action, but got %v", len(actions))
    	}
    	if !actions[0].Matches("create", "namespaces") || actions[0].GetSubresource() != "finalize" {
    		t.Errorf("Expected finalize-namespace action %v", actions[0])
    	}
    	finalizers := actions[0].(core.CreateAction).GetObject().(*v1.Namespace).Spec.Finalizers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            given:
            def action = Mock(Action)
    
            when:
            gradle.projectsLoaded(action)
    
            and:
            gradle.buildListenerBroadcaster.projectsLoaded(gradle)
    
            then:
            1 * action.execute(gradle)
        }
    
        def "broadcasts projects evaluated events to actions"() {
            given:
            def action = Mock(Action)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. 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)
  9. pkg/controller/serviceaccount/tokens_controller_test.go

    			}
    
    			actions := client.Actions()
    			for i, action := range actions {
    				if len(tc.ExpectedActions) < i+1 {
    					t.Errorf("%s: %d unexpected actions: %+v", k, len(actions)-len(tc.ExpectedActions), actions[i:])
    					break
    				}
    
    				expectedAction := tc.ExpectedActions[i]
    				if !reflect.DeepEqual(expectedAction, action) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  10. pkg/controller/volume/pvcprotection/pvc_protection_controller_test.go

    				}
    				// The test expected more to happen, wait for the actions.
    				// Most probably it's exponential backoff
    				time.Sleep(10 * time.Millisecond)
    				continue
    			}
    			break
    		}
    		actions := client.Actions()
    		for i, action := range actions {
    			if len(test.expectedActions) < i+1 {
    				t.Errorf("Test %q: %d unexpected actions: %+v", test.name, len(actions)-len(test.expectedActions), dump.Pretty(actions[i:]))
    				break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top