- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 281 for testDir (0.14 sec)
-
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) -
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) -
src/path/path_test.go
{"////", "/"}, {"/foo", "/"}, {"x/", "x"}, {"abc", "."}, {"abc/def", "abc"}, {"abc////def", "abc"}, {"a/b/.x", "a/b"}, {"a/b/c.", "a/b"}, {"a/b/c.x", "a/b"}, } func TestDir(t *testing.T) { for _, test := range dirtests { if s := Dir(test.path); s != test.result { t.Errorf("Dir(%q) = %q, want %q", test.path, s, test.result) } } } type IsAbsTest struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 13 01:12:09 UTC 2020 - 4.6K bytes - Viewed (0) -
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) -
test/codegen/README
GOARCH are enabled by default, and only on GOOS=linux. To perform comprehensive tests for all the supported architectures (even on a non-Linux system), one can run the following command: $ ../../bin/go test cmd/internal/testdir -run='Test/codegen' -all_codegen -v This is recommended after any change that affect the compiler's code. The test harness compiles the tests with the same go toolchain that is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
testID := h.Sum() if c.id1 == (cache.ActionID{}) { c.id1 = testID } else { c.id2 = testID } if cache.DebugTest { fmt.Fprintf(os.Stderr, "testcache: %s: test ID %x => %x\n", a.Package.ImportPath, id, testID) } // Load list of referenced environment variables and files // from last run of testID, and compute hash of that content.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
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) -
internal/store/queuestore_test.go
package store import ( "os" "path/filepath" "reflect" "strings" "testing" ) type TestItem struct { Name string `json:"Name"` Property string `json:"property"` } var ( // TestDir queueDir = filepath.Join(os.TempDir(), "minio_test") // Sample test item. testItem = TestItem{Name: "test-item", Property: "property"} // Ext for test item testItemExt = ".test" )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Apr 04 17:52:24 UTC 2023 - 5.9K bytes - Viewed (0) -
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) -
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)