- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for testCflags (0.16 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
func TestCallbackPanicLoop(t *testing.T) { testCallbackPanicLoop(t) } func TestCallbackStack(t *testing.T) { testCallbackStack(t) } func TestCflags(t *testing.T) { testCflags(t) } func TestCheckConst(t *testing.T) { testCheckConst(t) } func TestConst(t *testing.T) { testConst(t) } func TestCthread(t *testing.T) { testCthread(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_flags.txt
! go test -covermode=walrus ./x stderr -count=1 'invalid value "walrus" for flag -covermode: valid modes are .*$' stderr '^usage: go test .*$' stderr '^Run ''go help test'' and ''go help testflag'' for details.$' # Passing -help to the test binary should show flag help. go test ./x -args -help stdout 'usage_message' # -covermode, -coverpkg, and -coverprofile should imply -cover go test -covermode=set ./x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:53:14 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/internal/test/testflag.go
if err != nil { return fmt.Errorf(`-shuffle argument must be "on", "off", or an int64: %v`, err) } *f = shuffleFlag{on: true, seed: &seed} return nil } // testFlags processes the command line, grabbing -x and -c, rewriting known flags // to have "test" before them, and reading the command line for the test binary. // Unfortunately for us, we need to do our own flag processing because go test
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 19:25:24 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/test.go
if b != 200 { t.Fatalf("found %d expected 200\n", b) } } // issue 4857 func test4857() { _ = C.issue4857() } // issue 5224 func testCflags(t *testing.T) { is_windows := C.is_windows == 1 if is_windows != (runtime.GOOS == "windows") { t.Errorf("is_windows: %v, runtime.GOOS: %s", is_windows, runtime.GOOS) } if C.common != 123 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_flag.txt
Daniel Martà <******@****.***> 1657033057 +0100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 01 08:31:45 UTC 2022 - 893 bytes - Viewed (0) -
src/cmd/go/internal/test/internal/genflags/testflag.go
Bryan C. Mills <******@****.***> 1675889343 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 09 13:37:58 UTC 2023 - 759 bytes - Viewed (0) -
src/cmd/go/internal/test/genflags.go
func regenerate() error { vetAnalyzers, err := genflags.VetAnalyzers() if err != nil { return err } t := template.Must(template.New("fileTemplate").Parse(fileTemplate)) tData := map[string][]string{ "testFlags": genflags.ShortTestFlags(), "vetAnalyzers": vetAnalyzers, } buf := bytes.NewBuffer(nil) if err := t.Execute(buf, tData); err != nil { return err } f, err := os.Create("flagdefs.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 09 13:37:58 UTC 2023 - 1.6K bytes - Viewed (0) -
subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/InterceptorTestReceiver.java
} public void setTestString(String newValue) { testString = newValue; } private boolean testFlag = false; public boolean isTestFlag() { return testFlag; } public void setTestFlag(boolean newValue) { testFlag = newValue; } public String intercepted = null; @Override public String toString() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 23 08:15:56 UTC 2023 - 1.4K bytes - Viewed (0) -
src/testing/flag_test.go
package testing_test import ( "flag" "internal/testenv" "os" "os/exec" "testing" ) var testFlagArg = flag.String("test_flag_arg", "", "TestFlag: passing -v option") const flagTestEnv = "GO_WANT_FLAG_HELPER_PROCESS" func TestFlag(t *testing.T) { if os.Getenv(flagTestEnv) == "1" { testFlagHelper(t) return } testenv.MustHaveExec(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeInterceptorTestReceiver.java
} public void setTestString(String newValue) { testString = newValue; } public boolean isTestFlag() { return testFlag; } public void setTestFlag(boolean newValue) { testFlag = newValue; } @Override public String toString() { return "CompositeInterceptorTestReceiver"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 11:38:52 UTC 2024 - 1.6K bytes - Viewed (0)