Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StartTestLog (0.1 sec)

  1. src/testing/internal/testdeps/deps.go

    	l.w.WriteByte(' ')
    	l.w.WriteString(name)
    	l.w.WriteByte('\n')
    }
    
    var log testLog
    
    func (TestDeps) StartTestLog(w io.Writer) {
    	log.mu.Lock()
    	log.w = bufio.NewWriter(w)
    	if !log.set {
    		// Tests that define TestMain and then run m.Run multiple times
    		// will call StartTestLog/StopTestLog multiple times.
    		// Checking log.set avoids calling testlog.SetLogger multiple times
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. pkg/util/coverage/fake_test_deps.go

    }
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) StopCPUProfile() {}
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) StartTestLog(io.Writer) {}
    
    //nolint:unused // U1000 see comment above, we know it's unused normally.
    func (fakeTestDeps) StopTestLog() error {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 15:31:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top