- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for tmpDirs (0.08 sec)
-
testing/integ-test/src/integTest/groovy/org/gradle/integtests/fixture/TempDirIsUniquePerTestSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/util/TempDirIsUniquePerTestSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy
layout.buildDefinitionMissing cleanup: "temporary tree" tmpDir.deleteDir() } def "returns closest ancestor directory that contains a #settingsFilename file"() { given: def locator = buildLayoutFactoryFor() and: def currentDir = tmpDir.createDir("sub/current") def subDir = tmpDir.createDir("sub") def settingsFile = subDir.createFile(settingsFilename)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 09:18:31 UTC 2024 - 6.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
link.createLink(file) expect: def stat = accessor.stat(link) stat.type == FileType.RegularFile assertSameLastModified(stat, file) stat.length == 3 assertSameAccessType(stat, VIA_SYMLINK) } @Requires(UnitTestPreconditions.Symlinks) def "stats symlink to directory"() { def dir = tmpDir.createDir("dir")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetectorTest.groovy
@Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) Logger logger = Mock(Logger) { 0 * _ } AnnotationProcessorDetector detector = new AnnotationProcessorDetector(new TestFileContentCacheFactory(), logger, true) def "detects no processors in broken jars"() { given: def jar = tmpDir.file("classes.jar") jar << "broken"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 10:14:55 UTC 2024 - 8.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
} resetConfigDir(tmpDir, dirsToClean, false) // Verify the files we cleanup implicitly in every test: assertExists(t, tmpDir) assertNotExists(t, filepath.Join(tmpDir, kubeadmconstants.AdminKubeConfigFileName)) assertNotExists(t, filepath.Join(tmpDir, kubeadmconstants.KubeletKubeConfigFileName)) assertDirEmpty(t, filepath.Join(tmpDir, "manifests"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy
def fileSystemAccess = TestFiles.fileSystemAccess() def "should determine output files generated by Gradle"() { def outputFiles = [ tmpDir.createDir('build/outputs/directory'), tmpDir.createFile('build/file'), tmpDir.file('build/not-existing'), ] when: repository.recordOutputs(outputFiles.collect { snapshot(it) }) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultCacheFactoryTest.groovy
given: factory.open(tmpDir.testDirectory, null, [prop: 'value'], mode(Exclusive), null, null) when: factory.open(tmpDir.testDirectory, null, [prop: 'other'], mode(Exclusive), null, null) then: IllegalStateException e = thrown() e.message == "Cache '${tmpDir.testDirectory}' is already open with different properties." cleanup:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 7.8K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
func mktmpdir(t *testing.T) string { tmpdir, err := os.MkdirTemp("", "gcimporter_test") if err != nil { t.Fatal("mktmpdir:", err) } if err := os.Mkdir(filepath.Join(tmpdir, "testdata"), 0700); err != nil { os.RemoveAll(tmpdir) t.Fatal("mktmpdir:", err) } return tmpdir } func TestImportTestdata(t *testing.T) { // This package only handles gc export data.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0)