Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for subdir (0.15 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy

            cacheEntries[2].assertExists()
            deletedFiles == [cacheEntries[1]]
        }
    
        def "can delete directories"() {
            given:
            def cacheEntry = cacheDir.file("subDir").createFile("somefile")
            cacheEntry.text = "delete me"
    
            when:
            cleanupAction(finder([cacheEntry.parentFile]), { true })
                .clean(cleanableStore, progressMonitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. hack/update-mocks.sh

    function git_grep() {
      git grep --untracked --exclude-standard \
          "$@" \
          ':!:vendor/*'        `# catches vendor/...` \
          ':!:*/vendor/*'      `# catches any subdir/vendor/...` \
          ':!:third_party/*'   `# catches third_party/...` \
          ':!:*/third_party/*' `# catches third_party/...` \
          ':!:*/testdata/*'    `# catches any testdata` \
          ':(glob)**/*.go'
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/crypto/ed25519/ed25519vectors_test.go

    			t.Errorf("#%d: vector with flags %s unexpectedly rejected", i, v.Flags)
    		}
    	}
    }
    
    func downloadEd25519Vectors(t *testing.T) []byte {
    	testenv.MustHaveExternalNetwork(t)
    
    	// Create a temp dir and modcache subdir.
    	d := t.TempDir()
    	// Create a spot for the modcache.
    	modcache := filepath.Join(d, "modcache")
    	if err := os.Mkdir(modcache, 0777); err != nil {
    		t.Fatal(err)
    	}
    
    	t.Setenv("GO111MODULE", "on")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/ExecutionNodeAccessHierarchyTest.groovy

            expect:
            assertNodesAccessing(root, excluding, including, includingWithChildren)
            assertNodesAccessing("${root}/child", including, includingWithChildren)
            assertNodesAccessing("${root}/child/some/subdir", includingWithChildren)
        }
    
        def nodesRelatedTo(TestFile location, String includePattern) {
            return hierarchy.getNodesAccessing(location.absolutePath, includes(includePattern))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 11 15:00:43 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. src/cmd/cover/cfg_test.go

    }
    
    func writeOutFileList(t *testing.T, infiles []string, outdir, tag string) ([]string, string) {
    	outfilelist := filepath.Join(outdir, tag+"outfilelist.txt")
    	var sb strings.Builder
    	cv := filepath.Join(outdir, "covervars.go")
    	outfs := []string{cv}
    	fmt.Fprintf(&sb, "%s\n", cv)
    	for _, inf := range infiles {
    		base := filepath.Base(inf)
    		of := filepath.Join(outdir, tag+".cov."+base)
    		outfs = append(outfs, of)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/PathNormalizationStrategyTest.groovy

            fingerprints[resources.file(fileInRoot)]    == fileInRoot
            fingerprints[resources.file(subDirA)]       == directoryFingerprintFor(subDirA, strategy.directorySensitivity)
            fingerprints[resources.file(fileInSubdirA)] == fileInSubdirA
            fingerprints[resources.file(subDirB)]       == directoryFingerprintFor(subDirB, strategy.directorySensitivity)
            fingerprints[resources.file(fileInSubdirB)] == fileInSubdirB
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy

            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:
            1 * statisticsCollector.recordVisitHierarchy()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. test/typeparam/subdict.go

    Matthew Dempsky <******@****.***> 1646087539 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 842 bytes
    - Viewed (0)
Back to top