- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for RunTests (0.14 sec)
-
cmd/leak-detect_test.go
continue } stack := strings.TrimSpace(sl[1]) // ignore the testing go routine. // since the tests will be invoking the leaktest it would contain the test go routine. if strings.HasPrefix(stack, "testing.RunTests") { continue } // Ignore the following go routines. // testing and run time go routines should be ignored, only the application generated go routines should be taken into account. if isIgnoredStackFn(stack) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 5.2K bytes - Viewed (0) -
src/net/http/main_test.go
strings.Contains(stack, "testing.(*M).before.func1") || strings.Contains(stack, "os/signal.signal_recv") || strings.Contains(stack, "created by net.startServer") || strings.Contains(stack, "created by testing.RunTests") || strings.Contains(stack, "closeWriteAndWait") || strings.Contains(stack, "testing.Main(") || // These only show up with GOTRACEBACK=2; Issue 5005 (comment 28) strings.Contains(stack, "runtime.goexit") ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:46 UTC 2024 - 4.9K bytes - Viewed (0) -
src/go/doc/testdata/testing.go
func Main(matchString func(pat, str string) (bool, error), tests []InternalTest, benchmarks []InternalBenchmark, examples []InternalExample) { flag.Parse() parseCpuList() before() startAlarm() testOk := RunTests(matchString, tests) exampleOk := RunExamples(examples) if !testOk || !exampleOk { fmt.Println("FAIL") os.Exit(1) } fmt.Println("PASS") stopAlarm() RunBenchmarks(matchString, benchmarks)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 02 02:28:27 UTC 2022 - 11.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestLauncher.java
return operationParameters; } @Override public Void run(ConsumerConnection connection) { connection.runTests(testExecutionRequest, getParameters()); return null; } }, new ResultHandlerAdapter(handler)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoaderTest.groovy
return new TestMetaData('4.4') } } class TestR26Connection extends TestR22Connection implements InternalTestExecutionConnection { @Override BuildResult<?> runTests(InternalTestExecutionRequest testExecutionRequest, InternalCancellationToken cancellationToken, BuildParameters operationParameters) { throw new UnsupportedOperationException() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.2K bytes - Viewed (0) -
src/runtime/debug/stack_test.go
runtime/debug.TestStack(0xc8201ce000) /Users/r/go/src/runtime/debug/stack_test.go:37 +0x38 testing.tRunner(0xc8201ce000, 0x664b58) /Users/r/go/src/testing/testing.go:456 +0x98 created by testing.RunTests /Users/r/go/src/testing/testing.go:561 +0x86d */ func TestStack(t *testing.T) { b := T(0).method() lines := strings.Split(string(b), "\n") if len(lines) < 6 { t.Fatal("too few lines") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
tests/util/leak/check.go
sl := strings.SplitN(g, "\n", 2) if len(sl) != 2 { return nil, fmt.Errorf("error parsing stack: %q", g) } stack := strings.TrimSpace(sl[1]) if strings.HasPrefix(stack, "testing.RunTests") { return nil, nil } for _, s := range goroutinesToIgnore { if strings.Contains(stack, s) { return nil, nil } } // Parse the goroutine's ID from the header line.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 20 10:22:38 UTC 2023 - 6.9K bytes - Viewed (0) -
src/go/doc/testdata/testing.1.golden
func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark) // func RunExamples(examples []InternalExample) (ok bool) // func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool) // Short reports whether the -test.short flag is set. func Short() bool // after runs after all testing. func after()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8.4K bytes - Viewed (0) -
src/testing/testing.go
} } } // RunTests is an internal function but exported because it is cross-package; // it is part of the implementation of the "go test" command. func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool) { var deadline time.Time if *timeout > 0 { deadline = time.Now().Add(*timeout) } ran, ok := runTests(matchString, tests, deadline)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java
providerParameters, params); } finally { failsafePhasedActionResultListener.rethrowErrors(); } } public Object runTests(ProviderInternalTestExecutionRequest testExecutionRequest, BuildCancellationToken cancellationToken, ProviderOperationParameters providerParameters) { Parameters params = initParams(providerParameters);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 30.5K bytes - Viewed (0)