Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for subdir1$i (0.31 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. src/cmd/go/internal/fsys/fsys_test.go

    		"parentoverwritten/subdir1":          "",
    		"childoverlay/subdir1.txt/child.txt": "overlayfiles/child.txt",
    		"subdir11/deleted.txt":               "",
    		"subdir11":                           "overlayfiles/subdir11",
    		"parentdeleted":                      "",
    		"parentdeleted/file.txt":             "overlayfiles/parentdeleted_file.txt"
    	}
    }
    -- subdir11/deleted.txt --
    -- subdir1/file1.txt --
    file 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. pkg/util/removeall/removeall_test.go

    		},
    		{
    			"innermount",
    			[]string{
    				"dir/",
    				"dir/subdir1/",
    				"dir/dir2/",
    				"dir/dir2/subdir2/",
    				"dir/dir2/mount/",
    				"dir/dir2/mount/subdir3/",
    			},
    			true,
    		},
    		{
    			"error",
    			[]string{
    				"dir/",
    				"dir/subdir1/",
    				"dir2/",
    				"err/",
    				"err/subdir3/",
    			},
    			true,
    		},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 20:35:13 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            relativePaths as Set == [
                '',
                'a',
                'a/b', 'a/b/c.txt',
                'a/c', 'a/c/c.txt', 'a/b/c.html',
                'subdir1', 'subdir1/a', 'subdir1/a/b', 'subdir1/a/b/c.html',
                'a.txt'
            ] as Set
        }
    
        def "should snapshot file system root"() {
            given:
            def fileSystemRoot = fileSystemRoot()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy

            1 * statisticsCollector.recordVisitDirectory()
            0 * _
        }
    
        def "can visit directory hierarchy"() {
            given:
            def root = tmpDir.createDir("root")
            def subDir1 = root.createDir("sub-dir-1")
            subDir1.createFile("file.txt")
            def subDir2 = root.createDir("sub-dir-2")
            subDir2.createFile("file.txt")
    
            when:
            snapshot(root)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile()
            def notUnderRoot = tmpDir.createDir("root2").file("a.txt").createFile()
            def doesNotExist = rootDir.file("b.txt")
    
            def patterns = new PatternSet()
            patterns.include("**/*.txt")
            patterns.exclude("subdir1/**")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

            def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile()
            def notUnderRoot = temporaryFolder.createDir("root2").file("a.txt").createFile()
            def doesNotExist = rootDir.file("b.txt")
    
            when:
            def patterns = new PatternSet()
            patterns.include("**/*.txt")
            patterns.exclude("subdir1/**")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/ApacheDirectoryListingParserTest.groovy

            "<a href=\"../\">link</a>"                          | "links to parent URLs of base URL"
            "<a href=\"http://[2h:23:3]\">link</a>"             | "invalid URLs"
            "<a href=\"dir1/subdir1\">link</a>"                 | "links to nested subdirectories"
            "<![CDATA[<a href=\"directory2\">directory2</a>]]>" | "links in CDATA blocks"
            "<a href=\"#anchor\">link</a>"                      | "anchor links"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. 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