Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for allDescendants (0.66 sec)

  1. 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)
  2. 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)
  3. 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)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

                        include 'preserved.txt'
                    }
                }
            '''.stripIndent()
    
            when:
            run 'sync'
    
            then:
            file('dest').allDescendants() == ['not-preserved.txt', 'preserved.txt'] as Set
            noneSkipped()
    
            when:
            file('dest/preserved.txt').text = 'Changed!'
            run 'sync'
    
            then:
            skipped ':sync'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            return assertContainsDescendants(Arrays.asList(descendants));
        }
    
        public TestFile assertIsEmptyDir() {
            assertHasDescendants();
            return this;
        }
    
        public Set<String> allDescendants() {
            Set<String> names = new TreeSet<>();
            if (isDirectory()) {
                visit(names, "", this, false);
            }
            return names;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      while (!current_layer_descendants.empty()) {
        if (current_depth > 5) {
          all_descendants.clear();
          return false;
        }
        current_depth++;
    
        for (Operation* descendant : current_layer_descendants) {
          if (!IsStablehloOp(descendant) || !ops_to_add.contains(descendant)) {
            all_descendants.clear();
            return false;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top