- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Gooer2 (0.11 sec)
-
src/testing/newcover.go
if mode == "" { return } cover2.mode = mode cover2.tearDown = tearDown cover2.snapshotcov = snapcov } // coverReport2 invokes a callback in _testmain.go that will // emit coverage data at the point where test execution is complete, // for "go test -cover" runs. func coverReport2() { if !goexperiment.CoverageRedesign { panic("unexpected") } if errmsg, err := cover2.tearDown(*coverProfile, *gocoverdir); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:58:07 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2_test.go
cronJob: &batchv1.CronJob{ObjectMeta: metav1.ObjectMeta{Namespace: "foo-ns", Name: "fooer"}}, jobs: []runtime.Object{ &batchv1.Job{ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "foo-ns"}}, &batchv1.Job{ObjectMeta: metav1.ObjectMeta{Name: "foo1", Namespace: "foo-ns", OwnerReferences: []metav1.OwnerReference{{Name: "fooer", Controller: &trueRef}}}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 70.8K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
coverVar := fmt.Sprintf("goCover_%x_", sum[:6]) mode := a.Package.Internal.Cover.Mode if mode == "" { panic("covermode should be set at this point") } if newoutfiles, err := b.cover2(a, infiles, outfiles, coverVar, mode); err != nil { return err } else { outfiles = newoutfiles gofiles = append([]string{newoutfiles[0]}, gofiles...) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/testing/testing.go
// values are "set", "count", or "atomic". The return value will be // empty if test coverage is not enabled. func CoverMode() string { if goexperiment.CoverageRedesign { return cover2.mode } return cover.Mode } // Verbose reports whether the -test.v flag is set. func Verbose() bool { // Same as in Short. if !flag.Parsed() { panic("testing: Verbose called before Parse")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0)