Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for localState (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/AbstractExecutionPlanSpec.groovy

                return path.compareTo(taskInternal.identityPath)
            }
            task.outputs >> emptyTaskOutputs()
            task.destroyables >> emptyTaskDestroys()
            task.localState >> emptyTaskLocalState()
            task.inputs >> emptyTaskInputs()
            task.requiredServices >> emptyTaskRequiredServices()
            task.taskIdentity >> TestTaskIdentities.create(name, DefaultTask, project)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 24 11:56:02 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

            Destroys          | '@Destroys'                                                | FileCollection | null
            LocalState        | '@LocalState'                                              | FileCollection | null
            InputFile         | '@InputFile @PathSensitive(PathSensitivity.NONE)'          | File           | "new File(\"input.txt\")"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

             */
            requireNonNull(localState).recordOutputCancellation(interruptIfRunning);
            return true;
          }
          return false;
        }
    
        @Override
        protected void afterDone() {
          state = null;
        }
    
        @Override
        @CheckForNull
        protected String pendingToString() {
          InCompletionOrderState<T> localState = state;
          if (localState != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Futures.java

             */
            requireNonNull(localState).recordOutputCancellation(interruptIfRunning);
            return true;
          }
          return false;
        }
    
        @Override
        protected void afterDone() {
          state = null;
        }
    
        @Override
        @CheckForNull
        protected String pendingToString() {
          InCompletionOrderState<T> localState = state;
          if (localState != null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

                        outputFile.get().asFile.text = message
                    }
                }
    
                @CacheableTask
                class LocalStateDirectoryTask extends DefaultTask {
                    @LocalState
                    File localStateDir = new File(project.buildDir, "overlap")
    
                    @Input
                    String message = "Generated by " + path
    
                    @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  6. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                solutions == [
                    'Remove the property',
                    'Use a different annotation, e.g one of @Console, @Destroys, @Inject, @Input, @InputDirectory, @InputFile, @InputFiles, @Internal, @LocalState, @Nested, @OptionValues, @OutputDirectories, @OutputDirectory, @OutputFile, @OutputFiles, @ReplacedBy or @ServiceReference',
                ]
                additionalData.asMap == [
                    'parentPropertyName' : 'options',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy

            _ * task.taskIdentity >> TestTaskIdentities.create("task", DefaultTask, project)
            _ * task.destroyables >> Stub(TaskDestroyablesInternal)
            _ * task.localState >> Stub(TaskLocalStateInternal)
            _ * project.gradle >> services.gradle
            _ * project.owner >> projectState
            def projectServices = new DefaultServiceRegistry(TestUtil.services())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                    task ${taskName} {
                        def sources = file("src")
                        inputs.dir sources skipWhenEmpty()
                        outputs.file "$outputFile"
                        localState.register "$localStateDir"
                        def stateDir = file("${localStateDir}")
                        def sourceTree = files(sources).asFileTree
                        doLast {
                            stateDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            _ * mock.outputs >> Stub(TaskOutputsInternal)
            _ * mock.inputs >> Stub(TaskInputsInternal)
            _ * mock.destroyables >> Stub(TaskDestroyablesInternal)
            _ * mock.localState >> Stub(TaskLocalStateInternal)
            _ * mock.path >> ":${name}"
            _ * mock.taskIdentity >> TestTaskIdentities.create(name, DefaultTask, project as ProjectInternal)
            return mock
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

            }
        }
    
        def "produces a sensible error when a task declares both local state and destroys"() {
            buildFile << """
                task a {
                    localState.register('foo')
                    destroyables.register('bar')
                }
            """
            file('foo') << 'foo'
            file('bar') << 'bar'
    
            expect:
            2.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top