Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for subdir2 (0.28 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java

            rootDir.file("subdir/file1.txt").write("content");
            rootDir.file("subdir2/file2.txt").write("content");
            rootDir.tgzTo(tgz);
    
            TarFileTree tree = tarTree(tgz);
    
            assertVisits(tree, toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2"));
            assertSetContainsForAllTypes(tree, toList("subdir/file1.txt", "subdir2/file2.txt"));
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pkg/util/removeall/removeall_test.go

    			[]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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            createTar('test1.tar') {
                subdir1 {
                    file ('file.txt').text = 'original text 1'
                }
                subdir2 {
                    file('file2.txt').text = 'original text 2'
                    file ('file3.txt').text =  'original text 3'
                }
            }
            createTar('test2.tar') {
                subdir1 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            when:
            execute(task)
    
            then:
            new File(testDir, "subdir").isDirectory()
        }
    
        def validationActionSucceedsWhenSpecifiedOutputFilesDoesNotExist() {
            given:
            def task = expectTaskCreated(TaskWithOutputFiles, [new File(testDir, "subdir/output.txt"), new File(testDir, "subdir2/output.txt")] as List)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        }
    
        /**
         * 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)
  7. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy

            and:
            hasIncubatingLegend()
        }
    
        def "Test suites in different projects can use same test type"() {
            def subADir = createDir("subA")
            subADir.file("build.gradle") << """
                plugins {
                    id 'java'
                }
    
                ${mavenCentralRepository()}
    
                testing {
                    suites {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_volumes.go

    				cleanupFailed = true
    				err := fmt.Errorf("volumes subdir was found after it was removed")
    				klog.ErrorS(err, "Orphaned pod found, but failed to remove volumes subdir", "podUID", uid, "path", podSubdirPath)
    				continue
    			}
    			if err := removeall.RemoveAllOneFilesystem(kl.mounter, podSubdirPath); err != nil {
    				cleanupFailed = true
    				klog.ErrorS(err, "Failed to remove orphaned pod subdir", "podUID", uid, "path", podSubdirPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

        }
    
        def "attribute and capability combinations can be repeated across projects without a warning"() {
            given:
            def subADir = createDir("subA")
            subADir.file("build.gradle") << """
                plugins {
                    id 'java'
                }
    
                configurations {
                    sampleA {
                        canBeResolved = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. src/cmd/covdata/tool_test.go

    func buildProg(t *testing.T, prog string, dir string, tag string, flags []string) (string, string) {
    	// Create subdirs.
    	subdir := filepath.Join(dir, prog+"dir"+tag)
    	if err := os.Mkdir(subdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", subdir, err)
    	}
    	depdir := filepath.Join(subdir, "dep")
    	if err := os.Mkdir(depdir, 0777); err != nil {
    		t.Fatalf("can't create outdir %s: %v", depdir, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top