- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 76 for testDir (0.23 sec)
-
platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy
} void setup() { initConfiguration() testDir = temporaryFolder.testDirectory distributionDir = new TestFile(testDir, 'someDistPath') gradleHomeDir = new TestFile(distributionDir, 'gradle-0.9') zipStore = new File(testDir, 'zips') zipDestination = new TestFile(zipStore, zipFileName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy
TestFile testFile TestFile testFileLock TestFile testDir TestFile testDirLock List<Closeable> openedLocks = [] def setup() { testFile = tmpDir.createFile("state.bin") testFileLock = tmpDir.file(testFile.name + ".lock") testDir = tmpDir.createDir("lockable-dir") testDirLock = tmpDir.file("${testDir.name}/${testDir.name}.lock") metaDataProvider.processIdentifier >> '123'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 13.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy
class DefaultCopySpecResolutionTest extends Specification { @Rule public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def fileResolver = TestFiles.resolver(testDir.testDirectory) def fileCollectionFactory = TestFiles.fileCollectionFactory(testDir.testDirectory) def objectFactory = TestUtil.objectFactory() def instantiator = TestUtil.instantiatorFactory().decorateLenient()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 10.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy
import org.gradle.util.internal.GUtil import org.junit.Rule import spock.lang.Specification class DefaultPluginRegistryTest extends Specification { @Rule final TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) def classLoader = Mock(ClassLoader) def classLoaderScope = Stub(ClassLoaderScope) { getLocalClassLoader() >> classLoader }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:06 UTC 2021 - 13K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy
import java.nio.charset.Charset class DefaultCopySpecTest extends Specification { @Rule public TestNameTestDirectoryProvider testDir = new TestNameTestDirectoryProvider(getClass()) private fileCollectionFactory = TestFiles.fileCollectionFactory(testDir.testDirectory) private objectFactory = TestUtil.objectFactory() private instantiator = TestUtil.instantiatorFactory().decorateLenient()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 26 08:05:50 UTC 2023 - 14.7K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy
// Don't store userHome in the default location (in the project dir), because this will cause the non-empty project dir detection to fail init = TestUtil.create(testDir.testDirectory.file("project"), testDir.testDirectory.file("userHome")).task(InitBuild) projectLayoutRegistry = Mock() defaultGenerator = Mock() buildConverter = Mock() init.projectLayoutRegistry = projectLayoutRegistry
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 20:10:43 UTC 2024 - 12.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy
'RegularFileProperty' | [] | 'null' | 'fileProperty' | 'not provided' 'DirectoryProperty' | ['--myProp=testDir'] | 'testDir' | 'directoryProperty' | 'provided' 'DirectoryProperty' | [] | 'null' | 'directoryProperty' | 'not provided' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 28.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy
collection as Set == toLinkedSet(file) collection as List == toList(file) } void toFileTreeReturnsSingletonTreeForEachFileInCollection() { File file = testDir.createFile("f1") File file2 = testDir.createFile("f2") TestFileCollection collection = new TestFileCollection(file, file2) FileTree tree = collection.getAsFileTree() expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
src/go/types/check_test.go
path := filepath.Join(dir, fi.Name()) // If fi is a directory, its files make up a single package. if fi.IsDir() { testDir(t, path, manual) } else { t.Run(filepath.Base(path), func(t *testing.T) { testPkg(t, []string{path}, manual) }) } } } func testDir(t *testing.T, dir string, manual bool) { testenv.MustHaveGoBuild(t) fis, err := os.ReadDir(dir) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
// If fi is a directory, its files make up a single package. if fi.IsDir() { testDir(t, path, colDelta, manual) } else { t.Run(filepath.Base(path), func(t *testing.T) { testPkg(t, []string{path}, colDelta, manual) }) } } } func testDir(t *testing.T, dir string, colDelta uint, manual bool) { fis, err := os.ReadDir(dir) if err != nil { t.Error(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0)