- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fuzzTargets (0.19 sec)
-
pkg/util/coverage/coverage.go
// have it "run" them. tests := []testing.InternalTest{} benchmarks := []testing.InternalBenchmark{} examples := []testing.InternalExample{} fuzztargets := []testing.InternalFuzzTarget{} var deps fakeTestDeps dummyRun := testing.MainStart(deps, tests, benchmarks, fuzztargets, examples) dummyRun.Run() // Once it writes to the temporary path, we move it to the intended path.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 21:00:21 UTC 2022 - 3.2K bytes - Viewed (0) -
src/cmd/go/internal/load/test.go
*doImport, *seen = true, true case isTest(name, "Fuzz"): err := checkTestFunc(n, "F") if err != nil { return err } t.FuzzTargets = append(t.FuzzTargets, testFunc{pkg, name, "", false}) *doImport, *seen = true, true } } ex := doc.Examples(f) sort.Slice(ex, func(i, j int) bool { return ex[i].Order < ex[j].Order }) for _, e := range ex {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 14:01:23 UTC 2024 - 28.2K bytes - Viewed (0) -
src/testing/testing.go
} } for _, bench := range benchmarks { if ok, _ := matchString(*matchList, bench.Name); ok { fmt.Println(bench.Name) } } for _, fuzzTarget := range fuzzTargets { if ok, _ := matchString(*matchList, fuzzTarget.Name); ok { fmt.Println(fuzzTarget.Name) } } for _, example := range examples { if ok, _ := matchString(*matchList, example.Name); ok { fmt.Println(example.Name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_dup_cache.txt
env GOCACHE=$WORK/cache env GODEBUG=fuzzdebug=1 mkdir -p $GOCACHE/fuzz/fuzztest/FuzzTarget go run ./populate $GOCACHE/fuzz/fuzztest/FuzzTarget go test -fuzz=FuzzTarget -fuzztime=10x . stdout 'entries: 5' -- go.mod -- module fuzztest go 1.17 -- fuzz_test.go -- package fuzz import "testing" func FuzzTarget(f *testing.F) { f.Add(int(0)) f.Fuzz(func(t *testing.T, _ int) {}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 1K bytes - Viewed (0)