Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for hasOutputs (0.24 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractNativeLibraryBinarySpec.java

            @Override
            public final Set<File> getFiles() {
                if (hasOutputs()) {
                    return getOutputs();
                }
                return Collections.emptySet();
            }
    
            @Override
            public final TaskDependency getBuildDependencies() {
                if (hasOutputs()) {
                    return AbstractNativeLibraryBinarySpec.this.getBuildDependencies();
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultSharedLibraryBinarySpec.java

            @Override
            public String getDisplayName() {
                return "Link files for " + DefaultSharedLibraryBinarySpec.this.getDisplayName();
            }
    
            @Override
            protected boolean hasOutputs() {
                return hasSources() && !isResourceOnly();
            }
    
            @Override
            protected Set<File> getOutputs() {
                return Collections.singleton(getSharedLibraryLinkFile());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/plan/MutationInfo.java

        private final Set<Node> nodesYetToConsumeOutput = new HashSet<>();
        final Set<String> outputPaths = new HashSet<>();
        final Set<String> destroyablePaths = new HashSet<>();
        boolean hasFileInputs;
        boolean hasOutputs;
        boolean hasLocalState;
        boolean hasValidationProblem;
        private boolean outputProduced;
    
        void started() {
            outputProduced = true;
        }
    
        boolean isOutputProducedButNotYetConsumed() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/LocalTaskNode.java

            outputFilePropertySpecs.forEach(spec -> {
                File outputLocation = spec.getOutputFile();
                mutations.outputPaths.add(outputLocation.getAbsolutePath());
                mutations.hasOutputs = true;
            });
        }
    
        private void addLocalStateFilesToMutations(FileCollection localStateFiles) {
            final MutationInfo mutations = getMutationInfo();
            localStateFiles.forEach(file -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 16 23:29:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/DefaultStaticLibraryBinarySpec.java

            @Override
            public String getDisplayName() {
                return "Link files for " + DefaultStaticLibraryBinarySpec.this.getDisplayName();
            }
    
            @Override
            protected boolean hasOutputs() {
                return hasSources() || !additionalLinkFiles.isEmpty();
            }
    
            @Override
            protected Set<File> getOutputs() {
                Set<File> allFiles = new LinkedHashSet<File>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/BinaryResultBackedTestResultsProvider.java

        }
    
        @Override
        public boolean hasOutput(final long classId, final TestOutputEvent.Destination destination) {
            final boolean[] hasOutput = new boolean[1];
            withReader(new Action<TestOutputStore.Reader>() {
                @Override
                public void execute(TestOutputStore.Reader reader) {
                    hasOutput[0] = reader.hasOutput(classId, destination);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/InMemoryTestResultsProvider.java

        }
    
        @Override
        public boolean hasOutput(final long classId, final TestOutputEvent.Destination destination) {
            final boolean[] hasOutput = new boolean[1];
            withReader(new Action<TestOutputStore.Reader>() {
                @Override
                public void execute(TestOutputStore.Reader reader) {
                    hasOutput[0] = reader.hasOutput(classId, destination);
                }
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProviderTest.groovy

            when:
            provider.hasOutput(1, TestOutputEvent.Destination.StdOut)
            provider.writeAllOutput(1, TestOutputEvent.Destination.StdOut, writer)
            provider.writeTestOutput(1, 11, TestOutputEvent.Destination.StdOut, writer)
            provider.writeNonTestOutput(1, TestOutputEvent.Destination.StdOut, writer)
    
            then:
            1 * provider1.hasOutput(12, TestOutputEvent.Destination.StdOut)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProvider.java

                }
            }
        }
    
        @Override
        public boolean hasOutput(long classId, final TestOutputEvent.Destination destination) {
            for (DelegateProvider delegateProvider : classOutputProviders.get(classId)) {
                if (delegateProvider.provider.hasOutput(delegateProvider.id, destination)) {
                    return true;
                }
            }
            return false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskOutputsTest.groovy

            then:
            outputs.hasOutput
        }
    
        void hasOutputsWhenNonEmptyOutputFilesRegistered() {
            when:
            outputs.file('a')
    
            then:
            outputs.hasOutput
        }
    
        void hasOutputsWhenUpToDatePredicateRegistered() {
            when:
            outputs.upToDateWhen { false }
    
            then:
            outputs.hasOutput
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:46:24 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top