Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for getExecuter (0.37 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationTest.java

        protected GradleExecuter inDirectory(File directory) {
            return getExecuter().inDirectory(directory);
        }
    
        @Deprecated
        protected GradleExecuter usingBuildFile(File file) {
            return getExecuter().usingBuildScript(file);
        }
    
        protected GradleExecuter usingProjectDir(File projectDir) {
            return getExecuter().usingProjectDirectory(projectDir);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:04:13 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

    import javax.inject.Inject
    
    @SelfType(AbstractIntegrationSpec)
    trait ToolingApiSpec {
        ToolingApiBackedGradleExecuter getToolingApiExecutor() {
            return (ToolingApiBackedGradleExecuter) getExecuter()
        }
    
        TestFile getProjectDir() {
            temporaryFolder.testDirectory
        }
    
        BuildTestFile singleProjectBuildInRootDir(String projectName, @DelegatesTo(BuildTestFile) Closure cl = {}) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        private GradleExecuter executor
        private boolean ignoreCleanupAssertions
    
        private boolean enableProblemsApiCheck = false
        private BuildOperationsFixture buildOperationsFixture = null
    
        GradleExecuter getExecuter() {
            if (executor == null) {
                executor = createExecuter()
                if (ignoreCleanupAssertions) {
                    executor.ignoreCleanupAssertions()
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

        test_util::PopulateDefaultDeviceFns(&device_fns_);
        test_util::PopulateDefaultStreamExecutor(&se_);
        test_util::PopulateDefaultTimerFns(&timer_fns_);
      }
      void TearDown() override {}
    
      StreamExecutor* GetExecutor(int ordinal) {
        if (!cplatform_) {
          cplatform_ = absl::make_unique<CPlatform>(
              platform_, test_util::DestroyPlatform, platform_fns_,
              test_util::DestroyPlatformFns, device_fns_, se_, timer_fns_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectStateInternal.java

        @Override
        public boolean getExecuted() {
            // We intentionally consider “execution” done before doing afterEvaluate.
            // The Android plugin relies on this behaviour.
            return state.ordinal() > State.IN_EVALUATE.ordinal();
        }
    
        public boolean isConfiguring() {
            // Intentionally asymmetrical to getExecuted()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:05 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskServiceInjectionIntegrationTest.groovy

            given:
            buildFile << """
                import org.gradle.workers.WorkerExecutor
    
                class CustomTask extends DefaultTask {
                    @Inject
                    WorkerExecutor getExecutor() { }
    
                    @TaskAction
                    void printIt() {
                        println(executor != null ? "got it" : "NOT IT")
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskStateInternal.java

        }
    
        public void setDidWork(boolean didWork) {
            this.didWork = didWork;
        }
    
        @Override
        public boolean getExecuted() {
            return outcome != null;
        }
    
        public boolean isConfigurable() {
            return !getExecuted() && !executing;
        }
    
        @Nullable
        public TaskExecutionOutcome getOutcome() {
            return outcome;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 29 19:57:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/internal/AfterEvaluateHelper.java

         *
         * @param project The target project.
         * @param action The target action.
         */
        public static void afterEvaluateOrExecute(Project project, Action<Project> action) {
            if (project.getState().getExecuted()) {
                action.execute(project);
            } else {
                project.afterEvaluate(action);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/PluginServiceInjectionIntegrationTest.groovy

        }
    
        def "can inject service using getter method"() {
            buildFile """
                class CustomPlugin implements Plugin<Project> {
                    @Inject
                    WorkerExecutor getExecutor() { }
    
                    void apply(Project p) {
                        println(executor != null ? "got it" : "NOT IT")
    
                        // is generated but not extensible
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/ProjectState.java

     */
    @HasInternalProtocol
    public interface ProjectState {
        /**
         * <p>Returns true if this project has been evaluated.</p>
         *
         * @return true if this project has been evaluated.
         */
        boolean getExecuted();
    
        /**
         * Returns the exception describing the project failure, if any.
         *
         * @return The exception, or null if project evaluation did not fail.
         */
        @Nullable
        Throwable getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 22 14:45:40 UTC 2017
    - 1.3K bytes
    - Viewed (0)
Back to top