Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for assertContainsDescendants (0.41 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy

            when:
            succeeds "scaladoc" // intentionally non-qualified
    
            then:
            executedAndNotSkipped scaladoc
            file(docsPath).assertContainsDescendants("House.html", "Other.html", "Person.html")
            file("utils/$docsPath").assertContainsDescendants("City.html")
        }
    
        def "can exclude classes from Scaladoc generation"() {
            classes.baseline()
            buildScript(classes.buildScript())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 6.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/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)
  4. 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