go/src/internal/coverage/cfile/emitdata_test.go

const fixedTestDir

func TestCoverageApis(t *testing.T) {}

// upmergeCoverData helps improve coverage data for this package
// itself. If this test itself is being invoked with "-cover", then
// what we'd like is for package coverage data (that is, coverage for
// routines in "runtime/coverage") to be incorporated into the test
// run from the "harness.exe" runs we've just done. We can accomplish
// this by doing a merge from the harness gocoverdir's to the test
// gocoverdir.
func upmergeCoverData(t *testing.T, gocoverdir string, mode string) {}

// buildHarness builds the helper program "harness.exe".
func buildHarness(t *testing.T, dir string, opts []string) string {}

func mkdir(t *testing.T, d string) string {}

// updateGoCoverDir updates the specified environment 'env' to set
// GOCOVERDIR to 'gcd' (if setGoCoverDir is TRUE) or removes
// GOCOVERDIR from the environment (if setGoCoverDir is false).
func updateGoCoverDir(env []string, gcd string, setGoCoverDir bool) []string {}

func runHarness(t *testing.T, harnessPath string, tp string, setGoCoverDir bool, rdir, edir string) (string, error) {}

func testForSpecificFunctions(t *testing.T, dir string, want []string, avoid []string) string {}

func withAndWithoutRunner(f func(setit bool, tag string)) {}

func mktestdirs(t *testing.T, tag, tp, dir string) (string, string) {}

func testEmitToDir(t *testing.T, harnessPath string, dir string) {}

func testEmitToWriter(t *testing.T, harnessPath string, dir string) {}

func testEmitToNonexistentDir(t *testing.T, harnessPath string, dir string) {}

func testEmitToUnwritableDir(t *testing.T, harnessPath string, dir string) {}

func testEmitToNilWriter(t *testing.T, harnessPath string, dir string) {}

func testEmitToFailingWriter(t *testing.T, harnessPath string, dir string) {}

func testEmitWithCounterClear(t *testing.T, harnessPath string, dir string) {}

func testEmitToDirNonAtomic(t *testing.T, harnessPath string, naMode string, dir string) {}

func testEmitToWriterNonAtomic(t *testing.T, harnessPath string, naMode string, dir string) {}

func testEmitWithCounterClearNonAtomic(t *testing.T, harnessPath string, naMode string, dir string) {}

func TestApisOnNocoverBinary(t *testing.T) {}

func TestIssue56006EmitDataRaceCoverRunningGoroutine(t *testing.T) {}

func TestIssue59563TruncatedCoverPkgAll(t *testing.T) {}