- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 68 for RunTest (0.12 sec)
-
src/testing/testing_test.go
s := string(bytes.TrimSpace(out)) if s != "false" { t.Errorf("in non-test testing.Test() returned %q, want %q", s, "false") } } // runTest runs a helper test with -test.v, ignoring its exit status. // runTest both logs and returns the test output. func runTest(t *testing.T, test string) []byte { t.Helper() testenv.MustHaveExec(t) exe, err := os.Executable() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 19.3K bytes - Viewed (0) -
src/runtime/mpagecache_test.go
} want := NewPageAlloc(afterAlloc, afterScav) defer FreePageAlloc(want) // Check to see if it worked. checkPageAlloc(t, want, b) } // Empty. runTest(t, 0, 0, 0) // Full. runTest(t, 0, ^uint64(0), ^uint64(0)) // Random. for i := 0; i < 100; i++ { // Generate random valid base within a chunk. base := uint(rand.Intn(PallocChunkPages/64)) * 64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 19:16:48 UTC 2021 - 10.8K bytes - Viewed (0) -
tests/integration/ambient/waypoint_test.go
t.NewSubTest("without waypoint").Run(func(t framework.TestContext) { runTest(t, check.OK()) }) t.NewSubTest("with waypoint").Run(func(t framework.TestContext) { // Update use-waypoint for Captured service SetWaypointServiceEntry(t, "external-service", apps.Namespace.Name(), "waypoint") runTest(t, check.And(check.OK(), IsL7())) }) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go
table := []interface{}{ &runtimetesting.TestType1{}, &runtimetesting.ExternalInternalSame{}, } for _, item := range table { // Try a few times, since runTest uses random values. for i := 0; i < *fuzzIters; i++ { runTest(t, item) } } } func TestVersionedEncoding(t *testing.T) { s, _ := GetTestScheme()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 13.2K bytes - Viewed (0) -
src/internal/trace/trace_test.go
} } t.Run("Default", func(t *testing.T) { runTest(t, false, "") }) t.Run("Stress", func(t *testing.T) { if testing.Short() { t.Skip("skipping trace stress tests in short mode") } runTest(t, true, "") }) t.Run("AllocFree", func(t *testing.T) { if testing.Short() { t.Skip("skipping trace alloc/free tests in short mode") } runTest(t, false, "traceallocfree=1") })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/test/loadbalancersim/lb_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 19 23:29:30 UTC 2022 - 11K bytes - Viewed (0) -
pkg/log/scope_test.go
// limitations under the License. package log import ( "errors" "regexp" "strconv" "testing" "go.uber.org/zap/zapcore" "k8s.io/klog/v2" ) func runTest(t *testing.T, f func()) []string { lines, err := captureStdout(func() { Configure(DefaultOptions()) f() _ = Sync() }) if err != nil { t.Fatalf("Got error '%v', expected success", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 03 17:36:09 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
method.getName(), fair ? "(fair)" : "(nonfair)", (timeout == null) ? "untimed" : timeout, scenario, expectedOutcome); } @Override protected void runTest() throws Throwable { final Runnable runChosenTest = new Runnable() { @Override public void run() { runChosenTest(); } };
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 25.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/native/cpp_unit_test_plugin.adoc
:: Installs the executable and all of it's runtime dependencies for easy execution. `runTest__Variant__` (e.g. `runTest`) - link:{groovyDslPath}/org.gradle.nativeplatform.test.tasks.RunTestExecutable.html[RunTestExecutable]:: Depends on: `installTest__Variant__` :: Run the installed executable. [[sec:cpp_unit_test_lifecycle_tasks]]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 13.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
method.getName(), fair ? "(fair)" : "(nonfair)", (timeout == null) ? "untimed" : timeout, scenario, expectedOutcome); } @Override protected void runTest() throws Throwable { final Runnable runChosenTest = new Runnable() { @Override public void run() { runChosenTest(); } };
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 27.1K bytes - Viewed (0)