Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 76 for testDir (0.26 sec)

  1. 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)
  2. 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)
  3. src/go/printer/testdata/declarations.input

    // typical enum
    const (
    	a MyType = iota
    	abcd
    	b
    	c
    	def
    )
    
    // excerpt from godoc.go
    var (
    	goroot = flag.String("goroot", runtime.GOROOT(), "Go root directory")
    	testDir = flag.String("testdir", "", "Go root subdirectory - for testing only (faster startups)")
    	pkgPath = flag.String("path", "", "additional package directories (colon-separated)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  4. 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)
  5. src/go/printer/testdata/declarations.golden

    // typical enum
    const (
    	a	MyType	= iota
    	abcd
    	b
    	c
    	def
    )
    
    // excerpt from godoc.go
    var (
    	goroot		= flag.String("goroot", runtime.GOROOT(), "Go root directory")
    	testDir		= flag.String("testdir", "", "Go root subdirectory - for testing only (faster startups)")
    	pkgPath		= flag.String("path", "", "additional package directories (colon-separated)")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/path/filepath/path_test.go

    	{`\\host\share`, `\\host\share`},
    	{`\\host\share\`, `\\host\share\`},
    	{`\\host\share\a`, `\\host\share\`},
    	{`\\host\share\a\b`, `\\host\share\a`},
    	{`\\\\`, `\\\\`},
    }
    
    func TestDir(t *testing.T) {
    	tests := dirtests
    	if runtime.GOOS == "windows" {
    		// make unix tests work on windows
    		for i := range tests {
    			tests[i].result = filepath.Clean(tests[i].result)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. src/strconv/atoi_test.go

    			test := &parseInt32Tests[i]
    			out, err := Atoi(test.in)
    			var testErr error
    			if test.err != nil {
    				testErr = &NumError{"Atoi", test.in, test.err.(*NumError).Err}
    			}
    			if int(test.out) != out || !reflect.DeepEqual(testErr, err) {
    				t.Errorf("Atoi(%q) = %v, %v want %v, %v",
    					test.in, out, err, test.out, testErr)
    			}
    		}
    	case 64:
    		for i := range parseInt64Tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 05:09:21 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top