- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 7,983 for testAny (0.2 sec)
-
src/syscall/syscall_test.go
} } func TestEnv(t *testing.T) { testSetGetenv(t, "TESTENV", "AVALUE") // make sure TESTENV gets set to "", not deleted testSetGetenv(t, "TESTENV", "") } // Check that permuting child process fds doesn't interfere with // reporting of fork/exec status. See Issue 14979. func TestExecErrPermutedFds(t *testing.T) { testenv.MustHaveExec(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Mar 14 17:56:50 UTC 2021 - 1.4K bytes - Viewed (0) -
src/cmd/objdump/objdump_test.go
ok = false } } if !ok || testing.Verbose() { t.Logf("full disassembly:\n%s", text) } } func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) { t.Parallel() testDisasm(t, "fmthello.go", printCode, printGnuAsm) if testenv.HasCGO() { testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm) } } func TestDisasm(t *testing.T) { testGoAndCgoDisasm(t, false, false) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/asm_test.go
import ( "bytes" "fmt" "internal/testenv" "os" "os/exec" "path/filepath" "runtime" "strings" "testing" ) // TestLargeBranch generates a large function with a very far conditional // branch, in order to ensure that it assembles successfully. func TestLargeBranch(t *testing.T) { if testing.Short() { t.Skip("Skipping test in short mode") } testenv.MustHaveGoBuild(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 22 01:50:18 UTC 2023 - 7.9K bytes - Viewed (0) -
src/runtime/crash_test.go
} } func TestSimpleDeadlock(t *testing.T) { testDeadlock(t, "SimpleDeadlock") } func TestInitDeadlock(t *testing.T) { testDeadlock(t, "InitDeadlock") } func TestLockedDeadlock(t *testing.T) { testDeadlock(t, "LockedDeadlock") } func TestLockedDeadlock2(t *testing.T) { testDeadlock(t, "LockedDeadlock2") } func TestGoexitDeadlock(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
src/internal/testenv/testenv_test.go
goTool, err := testenv.GoTool() if err != nil { t.Fatalf("testenv.GoTool(): %v", err) } t.Logf("testenv.GoTool() = %q", goTool) gotInfo, err := os.Stat(goTool) if err != nil { t.Fatal(err) } if !os.SameFile(wantInfo, gotInfo) { t.Fatalf("%q is not the same file as %q", absWant, goTool) } } func TestHasGoBuild(t *testing.T) { if !testenv.HasGoBuild() { switch runtime.GOOS {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 23:12:44 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/binder_test.go
testEnv.initCSINodes(scenario.initCSINodes) testEnv.initVolumes(scenario.initPVs, nil) testEnv.initClaims(scenario.initPVCs, nil) testEnv.assumeVolumes(t, "node1", pod, scenario.bindings, scenario.provisionedPVCs) // Before execute if err := testEnv.updateVolumes(ctx, scenario.apiPVs); err != nil { t.Errorf("Failed to update PVs: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 82.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/ld_test.go
package ld import ( "bytes" "debug/pe" "fmt" "internal/testenv" "os" "path/filepath" "runtime" "strings" "testing" ) func TestUndefinedRelocErrors(t *testing.T) { testenv.MustHaveGoBuild(t) // When external linking, symbols may be defined externally, so we allow // undefined symbols and let external linker resolve. Skip the test. testenv.MustInternalLink(t, false) t.Parallel()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 05:45:53 UTC 2023 - 10.3K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter_test.go
// TestIssue23092 tests relative imports. func TestIssue23092(t *testing.T) { testImportPath(t, "./testdata/issue23092") } // TestIssue24392 tests imports against a path containing 'testdata'. func TestIssue24392(t *testing.T) { testImportPath(t, "go/internal/srcimporter/testdata/issue24392") } func TestCgo(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) buildCtx := build.Default
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
t.Run(cbf.cName(false), func(t *testing.T) { stdcall := syscall.NewCallback(cbf.goFunc) cbf.testOne(t, dll, false, stdcall) }) t.Run(cbf.cName(true), func(t *testing.T) { cdecl := syscall.NewCallbackCDecl(cbf.goFunc) cbf.testOne(t, dll, true, cdecl) }) } }) } } func TestRegisterClass(t *testing.T) { kernel32 := GetDLL(t, "kernel32.dll")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/log/slog/internal/benchmarks/benchmarks_test.go
slog.Duration("duration", testDuration), slog.Time("time", testTime), slog.Any("error", testError), slog.String("string", testString), slog.Int("status", testInt), slog.Duration("duration", testDuration), slog.Time("time", testTime), slog.Any("error", testError), slog.String("string", testString), slog.Int("status", testInt),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 4.5K bytes - Viewed (0)