C# Class CSPspEmu.AutoTests.AutoTestsProgram

Show file Open project: soywiz/cspspemu

Public Methods

Method Description
AutoTestsProgram ( ) : System
Init ( ) : void
Main ( bool RunTestsViewOut, String Arguments, int Timeout ) : void

Protected Methods

Method Description
ExecuteBat ( string ExecutableFileName, string Arguments, double TimeoutSeconds = -1 ) : string
Run ( bool RunTestsViewOut, string PspAutoTestsFolder, string WildCardFilter ) : void
RunExecutableAndGetOutput ( bool RunTestsViewOut, string PspAutoTestsFolder, string FileName, string &CapturedOutput, string FileNameBase ) : string
RunFile ( bool RunTestsViewOut, string PspAutoTestsFolder, string FileNameExecutable, string FileNameExpected, string FileNameBase ) : void

Private Methods

Method Description
InternalMain ( bool RunTestsViewOut, String Arguments ) : void

Method Details

AutoTestsProgram() public method

public AutoTestsProgram ( ) : System
return System

ExecuteBat() protected method

protected ExecuteBat ( string ExecutableFileName, string Arguments, double TimeoutSeconds = -1 ) : string
ExecutableFileName string
Arguments string
TimeoutSeconds double
return string

Init() public method

public Init ( ) : void
return void

Main() public static method

public static Main ( bool RunTestsViewOut, String Arguments, int Timeout ) : void
RunTestsViewOut bool
Arguments String
Timeout int
return void

Run() protected method

protected Run ( bool RunTestsViewOut, string PspAutoTestsFolder, string WildCardFilter ) : void
RunTestsViewOut bool
PspAutoTestsFolder string
WildCardFilter string
return void

RunExecutableAndGetOutput() protected method

protected RunExecutableAndGetOutput ( bool RunTestsViewOut, string PspAutoTestsFolder, string FileName, string &CapturedOutput, string FileNameBase ) : string
RunTestsViewOut bool
PspAutoTestsFolder string
FileName string
CapturedOutput string
FileNameBase string
return string

RunFile() protected method

protected RunFile ( bool RunTestsViewOut, string PspAutoTestsFolder, string FileNameExecutable, string FileNameExpected, string FileNameBase ) : void
RunTestsViewOut bool
PspAutoTestsFolder string
FileNameExecutable string
FileNameExpected string
FileNameBase string
return void