Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for assertContainsDescendants (0.19 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalBuildIntegrationTest.groovy

                outputs.recompiledClasses('renamed-sum')
            } else {
                outputs.recompiledClasses('greeter', 'renamed-sum', 'main')
            }
    
            outputDirectory.assertContainsDescendants(expectedIntermediateDescendants(app.alternate))
            installation("build/install/main/debug").exec().out == app.expectedAlternateOutput
        }
    
        def "removes stale object files for library"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

         * Asserts that this is a directory and contains the given set of descendant files (and possibly other files). Ignores directories that are not empty.
         */
        public TestFile assertContainsDescendants(String... descendants) {
            return assertContainsDescendants(Arrays.asList(descendants));
        }
    
        public TestFile assertIsEmptyDir() {
            assertHasDescendants();
            return this;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

                def outputDirectories = file(pchHeaderDirName).listFiles().findAll { it.isDirectory() }
                assert outputDirectories.size() == 1
                outputDirectories[0].assertContainsDescendants("prefix-headers.${getSuffix()}")
            }
            true
        }
    
        def pchNotCompiled(String lib="hello", String linkage="shared", String sourceSet=app.sourceType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyUnresolvedModuleIntegrationTest.groovy

            !downloadedLibsDir.isDirectory()
    
            when:
            moduleA.pom.expectGet()
            moduleA.artifact.expectGet()
            succeeds('resolve')
    
            then:
            downloadedLibsDir.assertContainsDescendants('a-1.0.jar')
        }
    
        def "skips subsequent dependency resolution if HTTP connection exceeds timeout, and only prints original cause once"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 11:51:18 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                    from tarTree('v7.tar')
                    into 'dest'
                }
            """
    
            when:
            succeeds("copy")
    
            then:
            file("dest").assertContainsDescendants("file.txt", "sub/subfile.txt")
        }
    
        def cannotCreateAnEmptyZip() {
            given:
            buildFile << '''
                task zip(type: Zip) {
                    from 'test'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top