- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 281 for testDir (0.14 sec)
-
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) -
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) -
test/rangegen.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Torture test for range-over-func. // // cmd/internal/testdir runs this like // // go run rangegen.go >x.go // go run x.go // // but a longer version can be run using // // go run rangegen.go long // // In that second form, rangegen takes care of compiling
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 23:35:19 UTC 2023 - 8.4K bytes - Viewed (0) -
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) -
src/cmd/dist/test.go
// this list. registerStdTestSpecially := map[string]bool{ // testdir can run normally as part of "go test std cmd", but because // it's a very large test, we register is specially as several shards to // enable better load balancing on sharded builders. Ideally the build // system would know how to shard any large test package. "cmd/internal/testdir": true, } // Fast path to avoid the ~1 second of `go list std cmd` when
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 16:01:35 UTC 2024 - 50K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go
t.tester = t.tester.ClusterScope() return t } func (t *Tester) Namer(namer func(int) string) *Tester { t.tester = t.tester.Namer(namer) return t } func (t *Tester) AllowCreateOnUpdate() *Tester { t.tester = t.tester.AllowCreateOnUpdate() return t } func (t *Tester) GeneratesName() *Tester { t.tester = t.tester.GeneratesName() return t } func (t *Tester) ReturnDeletedObject() *Tester {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 16:50:16 UTC 2019 - 4.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/divconst_test.go
t.Run("8", testdiv(8, func(n uint64) (uint64, uint64) { return n / 8, n % 8 })) t.Run("9", testdiv(9, func(n uint64) (uint64, uint64) { return n / 9, n % 9 })) t.Run("10", testdiv(10, func(n uint64) (uint64, uint64) { return n / 10, n % 10 })) t.Run("11", testdiv(11, func(n uint64) (uint64, uint64) { return n / 11, n % 11 }))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 29 00:07:35 UTC 2020 - 7.7K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy
void assertHasNoDuration() { def testDiv = content.select("div#duration") assert testDiv != null def counter = testDiv.select("div.counter") assert counter != null assert counter.text() == "-" } void assertHasSuccessRate(int rate) { def testDiv = content.select("div#successRate") assert testDiv != null def counter = testDiv.select("div.percent")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 9.1K bytes - Viewed (0)