Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for testDir (3.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

        }
    
        def "executes tests in correct environment"() {
            given:
            buildFile << """
                test {
                    systemProperties.testSysProperty = 'value'
                    systemProperties.testDir = projectDir
                    environment.TEST_ENV_VAR = 'value'
                }
            """.stripIndent()
            file('src/test/java/org/gradle/OkTest.java') << """
                package org.gradle;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    Multiple files can be added. Files ending in '.zip' will be searched
    for 'xl.meta' files. Wildcards are accepted: 'testdir/*.txt' will compress
    all files in testdir ending with '.txt', directories can be wildcards
    as well. 'testdir/*/*.txt' will match 'testdir/subdir/b.txt', double stars
    means full recursive. 'testdir/**/xl.meta' will search for all xl.meta
    recursively.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication_test.go

    			prefix:         "testdir/",
    			expectedNonRec: false,
    			expectedRec:    true,
    		},
    		// case 5 - has filter with prefix and tags, here we are not matching on tags
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

    import spock.lang.Issue
    
    import java.nio.file.FileSystems
    import java.nio.file.Files
    import java.util.function.Supplier
    
    class UndeclaredBuildInputsIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        def testDir = testDirectoryProvider.testDirectory
    
        def "reports build logic reading a system property set #mechanism.description via the Java API"() {
            buildFile << """
                // not declared
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
  9. src/os/os_windows_test.go

    	dir := t.TempDir()
    	chdir(t, dir)
    
    	pid := os.Getpid()
    	shareName := fmt.Sprintf("GoSymbolicLinkTestShare%d", pid)
    	sharePath := filepath.Join(dir, shareName)
    	testDir := "TestDir"
    
    	err := os.MkdirAll(filepath.Join(sharePath, testDir), 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	wShareName, err := syscall.UTF16PtrFromString(shareName)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. src/net/http/cgi/host_test.go

    		if n < len(buf) {
    			return r.Match(buf[:n])
    		}
    		// Buffer wasn't large enough for a full goroutine dump.
    		// Resize it and try again.
    		buf = make([]byte, 2*len(buf))
    	}
    }
    
    func TestDir(t *testing.T) {
    	testenv.MustHaveExec(t)
    	cwd, _ := os.Getwd()
    	h := &Handler{
    		Path: os.Args[0],
    		Root: "/test.cgi",
    		Dir:  cwd,
    	}
    	expectedMap := map[string]string{
    		"cwd": cwd,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 18:29:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top