Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,457 for actioned (0.15 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/DefaultCollectionEventRegisterSpec.groovy

        }
    
        def "nothing subscribed when no actions registered"() {
            expect:
            !r.isSubscribed(null)
            !r.isSubscribed(CharSequence)
            !r.isSubscribed(String)
        }
    
        def "actions are invoked in order registered"() {
            def action1 = Mock(Action)
            def action2 = Mock(Action)
    
            given:
            r.registerEagerAddAction(String, action1)
            r.registerEagerAddAction(String, action2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 16 06:16:46 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/labels_test.go

    	deletionGracePeriod := int64(10)
    	terminationGracePeriod := int64(10)
    	lifecycle := &v1.Lifecycle{
    		// Left PostStart as nil
    		PreStop: &v1.LifecycleHandler{
    			Exec: &v1.ExecAction{
    				Command: []string{"action1", "action2"},
    			},
    			HTTPGet: &v1.HTTPGetAction{
    				Path:   "path",
    				Host:   "host",
    				Port:   intstr.FromInt32(8080),
    				Scheme: "scheme",
    			},
    			TCPSocket: &v1.TCPSocketAction{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/configuration/project/ConfigureActionsProjectEvaluatorTest.groovy

            1 * action1.execute(project)
            1 * action2.execute(project)
            0 * _._
        }
    
        def "does not continue executing actions when action fails"() {
            def project = Mock(ProjectInternal)
            def failure = new RuntimeException("Configure action failed")
    
            when:
            evaluator.evaluate(project, state)
    
            then:
            1 * action1.execute(project) >> {
                throw failure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 02:54:42 UTC 2013
    - 1.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/DefaultIvyContextManagerTest.groovy

            then:
            1 * action.execute({it != null})
            0 * action._
        }
    
        def "executes action against an Ivy instance and returns the result"() {
            def action = Mock(Transformer)
    
            when:
            def result = manager.withIvy(action)
    
            then:
            result == "result"
    
            and:
            1 * action.transform({it != null}) >> "result"
            0 * action._
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

                    def release1 = cacheAccess.acquireFileLock()
                    thread.blockUntil.action2
                    release1.run()
                    instant.action1
                }
                start {
                    def release2 = cacheAccess.acquireFileLock()
                    instant.action2
                    thread.blockUntil.action1
                    release2.run()
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy

            given:
            def action1 = {
                instant.action1Start
                thread.block()
                instant.action1End
            }
            def action2 = {
                instant.action2Start
            }
    
            when:
            start {
                synchronizer.runNow(action1)
            }
            async {
                thread.blockUntil.action1Start
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/DefaultBuildControllerTest.groovy

            then:
            result.getModel() == model
        }
    
        def "runs supplied actions"() {
            def action1 = Mock(Supplier)
            def action2 = Mock(Supplier)
            def action3 = Mock(Supplier)
    
            when:
            def result = controller.run([action1, action2, action3])
    
            then:
            result == ["one", "two", "three"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:56:30 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/ci-systems/github-actions-workflows.png

    github-actions-workflows.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 19:03:12 UTC 2024
    - 137.4K bytes
    - Viewed (0)
  9. .github/actions/comment-docs-preview-in-pr/action.yml

    Sebastián Ramírez <******@****.***> 1603648476 +0100
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Oct 25 17:54:36 UTC 2020
    - 394 bytes
    - Viewed (0)
  10. 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)
Back to top