Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 4,572 for Actions (0.15 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftLinkerTest.groovy

            linker.execute(spec)
    
            then:
            1 * operationLogger.getLogLocation() >> LOG_LOCATION
            1 * buildOperationExecutor.runAll(commandLineTool, _) >> { worker, action -> action.execute(queue) }
            1 * invocationContext.getArgAction() >> Actions.doNothing()
            1 * invocationContext.createInvocation("linking lib", outputFile.parentFile, expectedArgs, operationLogger) >> invocation
            1 * queue.add(invocation)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/SerializableMockHelper.groovy

         */
        def <T> Action<T> serializable(Action<T> action, ClassLoader target) {
            String src = """
    class TestAction implements ${Action.class.name}, ${Serializable.class.name}
    {
        Object key
    
        void execute(Object target) {
            def action = ${SerializableMockHelper.class.name}.ACTIONS.remove(key)
            action.execute(target)
        }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. .github/workflows/stale.yml

    permissions:
      contents: read
    
    jobs:
      stale:
        permissions:
          issues: write  # for actions/stale to close stale issues
          pull-requests: write  # for actions/stale to close stale PRs
        runs-on: ubuntu-latest
        env:
          ACTIONS_STEP_DEBUG: true
        steps:
        - name: Close Stale Issues
          uses: actions/stale@v8
          with:
            repo-token: ${{ secrets.GITHUB_TOKEN }}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 02:27:05 UTC 2023
    - 972 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategySpec.groovy

            0 * details._
        }
    
        def "eachDependency calls through to substitution rules"() {
            given:
            def action = Mock(Action)
    
            when:
            strategy.eachDependency(action)
    
            then:
            1 * dependencySubstitutions.allWithDependencyResolveDetails(action, componentSelectorConverter)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. .github/workflows/check-bad-merge.yml

    jobs:
      check_pr_commits:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
            uses: actions/setup-java@v4
            with:
              distribution: 'temurin'
              java-version: '11'
          - name: Install Groovy
            run: sudo apt-get install groovy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/java/org/gradle/api/internal/PropertyListTransformer.java

         * @param action the action to add
         */
        public void addAction(Action<? super T> action) {
            actions.add(action);
        }
    
        /**
         * Transforms a property list object. This will modify the
         * original.
         * @param original the property list to transform
         * @return the transformed property list
         */
        @Override
        public T transform(T original) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 17:10:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. pkg/controller/endpointslice/endpointslice_controller_test.go

    	return service
    }
    
    func expectAction(t *testing.T, actions []k8stesting.Action, index int, verb, resource string) {
    	t.Helper()
    	if len(actions) <= index {
    		t.Fatalf("Expected at least %d actions, got %d", index+1, len(actions))
    	}
    
    	action := actions[index]
    	if action.GetVerb() != verb {
    		t.Errorf("Expected action %d verb to be %s, got %s", index, verb, action.GetVerb())
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/DefaultMavenRepositoryContentDescriptor.java

                            details.notFound();
                        }
                    }
                };
                if (filter == Actions.doNothing()) {
                    return action;
                }
                return Actions.composite(filter, action);
            }
            return filter;
        }
    
        @Override
        public RepositoryContentDescriptorInternal asMutableCopy() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/IO.kt

    import java.io.File
    
    
    /**
     * A scheduler of IO actions.
     */
    interface IO {
    
        /**
         * Schedules the given [io action][action] for execution.
         *
         * The effect of an IO [action] is only guaranteed to be observable
         * by a subsequent [io] action or after the [closing][IOScope.close] of
         * the current [IOScope].
         */
        fun io(action: () -> Unit)
    }
    
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top