Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,786 for actioned (0.2 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BuildActionCrossVersionSpec.groovy

            copyClassTo(Action2, classesDir2)
            copyClassTo(SharedActionStaticState, classesDir2)
            def cl1 = actionClassLoader(classesDir1)
            def action1 = cl1.loadClass(Action1.name)
            assert action1 != Action1
            def cl2 = actionClassLoader(classesDir2)
            def action2 = cl2.loadClass(Action2.name)
            assert action2 != Action2
    
            expect:
            def l1 = withConnection { c ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/MutableActionSetTest.groovy

            0 * action._
        }
    
        def broadcastsEventsToMultipleActions() {
            def action1 = Mock(Action)
            def action2 = Mock(Action)
            broadcast.add(action1)
            broadcast.add(action2)
    
            when:
            broadcast.execute('value')
    
            then:
            1 * action1.execute('value')
            1 * action2.execute('value')
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            executor.execute(action1)
            executor.execute(action2)
            executor.execute(action3)
            thread.blockUntil.started3
    
            then:
            instant.started3 > instant.completed1
            instant.started3 > instant.started2
    
            cleanup:
            executor?.stop()
        }
    
        def stopBlocksUntilAllJobsAreComplete() {
            given:
            def action1 = {
                thread.block()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy

            outputs.stdOut.contains(expectedText)
            outputs.stdOut.contains("action1")
            !action1Intermediary || outputs.stdOut.contains("action2")
    
            and:
            1 * actionFactory1.createAction(!null, !null) >> {
                def action1 = { println "action1" }
                action1Intermediary ? action1 as ContinuingAction<ExecutionListener> : action1 as Action<ExecutionListener>
    
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/Action1.java

     */
    
    package org.gradle.integtests.tooling.r32;
    
    import org.gradle.tooling.BuildAction;
    import org.gradle.tooling.BuildController;
    
    import java.util.Collections;
    import java.util.List;
    
    public class Action1 implements BuildAction<List<String>> {
        @Override
        public List<String> execute(BuildController controller) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            def binary2 = Stub(SwiftBinary)
            def action1 = Mock(Action)
            def action2 = Mock(Action)
            def finalizeAction = Mock(Action)
    
            spec.isSatisfiedBy(binary2) >> true
    
            given:
            def p = container.get(spec)
            p.whenFinalized(finalizeAction)
            p.configure(action1)
            container.configureEach(action2)
            container.add(binary1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top