Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for allDescendants (0.15 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodePredicate.java

                    return new BasicPredicate(null, scope, null, matcher);
                }
            };
        }
    
        public static NodePredicate allDescendants() {
            return allDescendants(Predicates.<MutableModelNode>alwaysTrue());
        }
    
        public static NodePredicate allDescendants(Predicate<? super MutableModelNode> predicate) {
            return new NodePredicate(predicate) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/AbstractTaskOutputCachingPerformanceTest.groovy

                        if (isLastRun(context, invocationSettings) && checkIfCacheUsed) {
                            assert !(buildCacheServer.cacheDir.allDescendants().empty && cacheDir.allDescendants().isEmpty())
                            assert pushToRemote || buildCacheServer.cacheDir.allDescendants().empty
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WaitForCompletionWorkerExecutorSampleIntegrationTest.groovy

        }
    
        @Override
        void assertSampleSpecificOutcome(String dsl) {
            assert TextUtil.normaliseFileSeparators(result.output).contains("Created ${workerExecutorSample(dsl).file("sources").allDescendants().size()} reversed files in build/reversed")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

            } finally {
                zipFile.close()
            }
        }
    
        @Override
        def hasDescendants(String... relativePaths) {
            String[] allDescendants = relativePaths + JarFile.MANIFEST_NAME
            return super.hasDescendants(allDescendants)
        }
    
        JavaVersion getJavaVersion() {
            JarFile jarFile = new JarFile(file)
            try {
                //take the first class file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                assert !outputDir.allDescendants().contains("first-file")
                assert !outputDir.allDescendants().contains("second-file")
            }
    
            void staleFilesAreStillPresent() {
                assert outputFile.exists()
                assert outputDir.allDescendants().contains("first-file")
                assert outputDir.allDescendants().contains("second-file")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/api/plugins/JavaLibraryDistributionIntegrationTest.groovy

        implementation 'org.gradle.test:compile:1.0'
        compileOnly 'org.gradle.test:compileOnly:1.0'
    }
    """
            when:
            run "installDist"
    
            then:
            file('build/install/sample/lib').allDescendants() == ['compile-1.0.jar'] as Set
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

        compileOnly 'org.gradle.test:compileOnly:1.0'
    }
    """
    
            when:
            run "installDist"
    
            then:
            file('build/install/sample/lib').allDescendants() == ['sample.jar', 'compile-1.0.jar'] as Set
        }
    
        def "executables can be placed at the root of the distribution"() {
            given:
            buildFile << """
    application.executableDir = ''
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCachingIntegrationTest.groovy

        }
    
        Map<String, TestFile.Snapshot> snapshotObjects(TestFile projectDir) {
            def objDir = projectDir.file('build/obj')
            def objects = objDir.allDescendants()
            def snapshots = objects.collectEntries { path ->
                def obj = objDir.file(path)
                if (!obj.isFile()) {
                    return null
                }
                [(path): obj.snapshot()]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            def confCacheDir = file("./app/.gradle/configuration-cache")
            confCacheDir.isDirectory()
            def confCacheFiles = confCacheDir.allDescendants().findAll { it != 'configuration-cache.lock' && it != 'gc.properties' }
            confCacheFiles.size() == 5 // header, 2 * fingerprint, root build state file, included build state file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            Bytes.indexOf(contents, toFind) >= 0
        }
    
        private TestFile findRequiredKeystoreFile(boolean required = true) {
            def keyStoreDirFiles = keyStoreDir.allDescendants()
            def keyStorePath = keyStoreDirFiles.find { it.endsWith('gradle.keystore') }
            assert !required || keyStorePath != null
            return keyStorePath?.with { keyStoreDir.file(keyStorePath) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top