Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 4,140 for action1 (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainer.java

            return registerResolvableConfiguration(name, Actions.doNothing());
        }
    
        @Override
        public NamedDomainObjectProvider<ResolvableConfiguration> resolvable(String name, Action<? super ResolvableConfiguration> action) {
            assertMutable("resolvableUnlocked(String, Action)");
            return registerResolvableConfiguration(name, action);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 00:10:35 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. 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)
  10. pkg/controller/volume/pvprotection/pv_protection_controller_test.go

    				// Most probably it's exponential backoff
    				time.Sleep(10 * time.Millisecond)
    				continue
    			}
    			break
    		}
    		actions := client.Actions()
    
    		if !reflect.DeepEqual(actions, test.expectedActions) {
    			t.Errorf("Test %q: action not expected\nExpected:\n%s\ngot:\n%s", test.name, dump.Pretty(test.expectedActions), dump.Pretty(actions))
    		}
    
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top