C# Class Raven.Tests.Util.ProcessDriver

Inheritance: System.Runtime.ConstrainedExecution.CriticalFinalizerObject, IDisposable
Exibir arquivo Open project: nhsevidence/ravendb

Protected Properties

Property Type Description
_process System.Diagnostics.Process
error BlockingCollection
input BlockingCollection
output BlockingCollection

Public Methods

Method Description
Dispose ( ) : void

Protected Methods

Method Description
Shutdown ( ) : void
StartProcess ( string exePath, string arguments = "" ) : void
WaitForConsoleOutputMatching ( string pattern, int msMaxWait = 10000, int msWaitInterval = 500 ) : Match

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Shutdown() protected method

protected Shutdown ( ) : void
return void

StartProcess() protected method

protected StartProcess ( string exePath, string arguments = "" ) : void
exePath string
arguments string
return void

WaitForConsoleOutputMatching() protected method

protected WaitForConsoleOutputMatching ( string pattern, int msMaxWait = 10000, int msWaitInterval = 500 ) : Match
pattern string
msMaxWait int
msWaitInterval int
return System.Text.RegularExpressions.Match

Property Details

_process protected_oe property

protected Process,System.Diagnostics _process
return System.Diagnostics.Process

error protected_oe property

protected BlockingCollection error
return BlockingCollection

input protected_oe property

protected BlockingCollection input
return BlockingCollection

output protected_oe property

protected BlockingCollection output
return BlockingCollection