14 lines
304 B
Go
14 lines
304 B
Go
|
package remote
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
/*
|
||
|
The OutputInterceptor is used by the ForwardingReporter to
|
||
|
intercept and capture all stdin and stderr output during a test run.
|
||
|
*/
|
||
|
type OutputInterceptor interface {
|
||
|
StartInterceptingOutput() error
|
||
|
StopInterceptingAndReturnOutput() (string, error)
|
||
|
StreamTo(*os.File)
|
||
|
}
|