// Used by the TestStdoutWithWrongPath*()
Used by the TestStdoutWithWrongPath*()
// Used by the TestStdoutWithWrongPath * ()
func (s *TestSuite) stdoutErrorRunHelper(c *C, record string, fn func()) (*ArvTestClient, *ContainerRunner, error) {
	err := json.Unmarshal([]byte(record), &s.api.Container)
	c.Assert(err, IsNil)
	s.executor.runFunc = fn
	s.runner.RunArvMount = (&ArvMountCmdLine{}).ArvMountTest
	s.runner.MkArvClient = func(token string) (IArvadosClient, IKeepClient, *arvados.Client, error) {
		return s.api, &KeepTestClient{}, nil, nil
	}
	return s.api, s.runner, s.runner.Run()
}
func ( s * TestSuite ) stdoutErrorRunHelper ( c * C , record string , fn func ( ) ) ( * ArvTestClient , * ContainerRunner , error ) { err := json . Unmarshal ( [ ] byte ( record ) , & s . api . Container ) c . Assert ( err , IsNil ) s . executor . runFunc = fn s . runner . RunArvMount = ( & ArvMountCmdLine { } ) . ArvMountTest s . runner . MkArvClient = func ( token string ) ( IArvadosClient , IKeepClient , * arvados . Client , error ) { return s . api , & KeepTestClient { } , nil , nil } return s . api , s . runner , s . runner . Run ( ) }
Used by the TestStdoutWithWrongPath*()
Used by the TestStdoutWithWrongPath * ()