Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 310 for action1 (0.75 sec)

  1. 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)
  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. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

                "afterEvaluate action cannot execute before beforeEvaluate"
            }
            executeAll(actions.afterProject, project)
        }
    
        private
        fun executeAll(actions: IsolatedProjectActionList, project: Project) {
            for (action in actions) {
                action.execute(project)
            }
        }
    
        private
        fun isolatedActions() = IsolateOwners.OwnerGradle(gradle).let { owner ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  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. .github/workflows/scorecard.yml

          # contents: read
          # actions: read
    
        steps:
          - name: "Checkout code"
            uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
            with:
              persist-credentials: false
    
          - name: "Run analysis"
            uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
            with:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 04 17:53:21 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt

            class Initial() : State() {
    
                private
                val actions = mutableListOf<RegisteredFlowAction>()
    
                override val pendingActions: List<RegisteredFlowAction>
                    get() = actions
    
                override fun add(registeredFlowAction: RegisteredFlowAction) {
                    synchronized(actions) {
                        actions.add(registeredFlowAction)
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyClosureIntegrationTest.groovy

                        @Internal
                        List<Closure> actions = []
    
                        void action() {
                            actions.add { "Groovy closure in task with delegate=\$delegate, owner=\${owner.class.name}, this=\${this.class.name}" }
                        }
    
                        void actionWithDelegate() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleIsolationIntegrationTest.groovy

            outputContains 'root with version from action'
            outputContains 'sub with version from action'
            outputContains '[1: before root unspecified, 2: before root from action, 1: after root from script, 2: after root from script]'
            outputContains '[1: before sub unspecified, 2: before sub from action, 1: after sub from script, 2: after sub from script]'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. .github/workflows/ci.yml

        branches:
          - master
      pull_request:
        branches:
          - master
    
    permissions:
      contents: read
    
    jobs:
      test:
        permissions:
          actions: write  # for styfle/cancel-workflow-action to cancel/stop running workflows
          contents: read  # for actions/checkout to fetch code
        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
            os: [ ubuntu-latest ]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 16:25:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top