- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 281 for testDir (0.21 sec)
-
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) -
src/cmd/go/testdata/script/mod_vendor.txt
package b import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../testdata/1"); err != nil { t.Fatalf("testdata: %v", err) } } -- a/foo/bar/c/main.go -- package c import _ "a/foo/bar/b" -- a/foo/bar/c/main_test.go -- package c import ( "os" "testing" ) func TestDir(t *testing.T) { if _, err := os.Stat("../../../testdata/1"); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 7.5K 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/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy
testImplementation 'junit:junit:4.13' } eclipse.classpath.file.whenMerged { def testDir = entries.find { entry -> entry.path == 'src/test/java' } def guavaDep = entries.find { entry -> entry.path.contains 'guava-18.0.jar' } testDir.entryAttributes['gradle_used_by_scope'] = 'test,integTest' guavaDep.entryAttributes['gradle_used_by_scope'] = 'main,test,integTest'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 10 13:19:47 UTC 2023 - 8.8K 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) -
docs/ftp/README.md
ftp> ls runner/ 229 Entering Extended Passive Mode (|||39155|) 150 Opening ASCII mode data connection for file list drwxrwxrwx 1 nobody nobody 0 Jan 1 00:00 chunkdocs/ drwxrwxrwx 1 nobody nobody 0 Jan 1 00:00 testdir/ ... ``` Following example shows how to list an object and download it locally via `ftp` client: ``` ftp> ls runner/chunkdocs/metadata 229 Entering Extended Passive Mode (|||44269|)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (0) -
src/os/example_test.go
err := os.WriteFile("testdata/hello", []byte("Hello, Gophers!"), 0666) if err != nil { log.Fatal(err) } } func ExampleMkdir() { err := os.Mkdir("testdir", 0750) if err != nil && !os.IsExist(err) { log.Fatal(err) } err = os.WriteFile("testdir/testfile.txt", []byte("Hello, Gophers!"), 0660) if err != nil { log.Fatal(err) } } func ExampleMkdirAll() { err := os.MkdirAll("test/subdir", 0750)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 17:35:49 UTC 2024 - 8.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)