Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StartTestLog (0.12 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)
  3. src/testing/testing.go

    func (f matchStringOnly) WriteProfileTo(string, io.Writer, int) error { return errMain }
    func (f matchStringOnly) ImportPath() string                          { return "" }
    func (f matchStringOnly) StartTestLog(io.Writer)                      {}
    func (f matchStringOnly) StopTestLog() error                          { return errMain }
    func (f matchStringOnly) SetPanicOnExit0(bool)                        {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top