Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for subdir1$i (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            and: "a zip archive in the root with many files with the same content, so that the editing won't finish too quickly"
            createZip('test.zip') {
                for (int i = 0; i < 1000; i++) {
                    "subdir1$i" {
                        file('file1.txt').text = 'original'
                    }
                    "subdir2$i" {
                        file('file2.txt').text = 'original'
                        file('file3.txt').text = 'original'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            then:
            result.assertTaskExecuted(":copy")
            file('dest').assertHasDescendants('subdir1/file1.txt', 'subdir2/file2.txt')
    
            when:
            run 'copy'
    
            then:
            result.assertTasksSkipped(":copy")
    
            when:
            createZip('test.zip') {
                subdir1 {
                    file 'file1.txt'
                }
                subdir2 {
                    file 'file2.xml'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            assert file.setLastModified(file.lastModified() - 2000L);
        }
    
        /**
         * Creates a directory structure specified by the given closure.
         * <pre>
         * dir.create {
         *     subdir1 {
         *        file 'somefile.txt'
         *     }
         *     subdir2 { nested { file 'someFile' } }
         * }
         * </pre>
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top