C# Class systests.SysTestBase

显示文件 Open project: vigoo/bari

Protected Properties

Property Type Description
isRunningOnMono bool
root string

Public Methods

Method Description
SysTestBase ( string root ) : System

Protected Methods

Method Description
Build ( string name, string logPrefix = "" ) : void
BuildProduct ( string name, string product, string logPrefix = "" ) : void
BuildWithGoal ( string name, string goal, string logPrefix = "" ) : void
CheckExe ( string name, string exePath, int expectedExitCode, string expectedOutput ) : void
Clean ( string name, string logPrefix = "" ) : void
CleanWithGoal ( string name, string goal, string logPrefix = "" ) : void
ExeBuildWithGoal ( string name, string goal, string exePath, int expectedExitCode, string expectedOutput ) : void
ExeProductBuild ( string name, string product, string exePath, int expectedExitCode, string expectedOutput ) : void
Initialize ( ) : void
InternalCheckExe ( string name, string exePath, int expectedExitCode, string expectedOutput ) : void
Log ( string format ) : void
RunBari ( string name, string logName, string args ) : int
SimpleExeBuild ( string name, string exePath, int expectedExitCode, string expectedOutput ) : void
Steps ( System.Action steps ) : void

Method Details

Build() protected method

protected Build ( string name, string logPrefix = "" ) : void
name string
logPrefix string
return void

BuildProduct() protected method

protected BuildProduct ( string name, string product, string logPrefix = "" ) : void
name string
product string
logPrefix string
return void

BuildWithGoal() protected method

protected BuildWithGoal ( string name, string goal, string logPrefix = "" ) : void
name string
goal string
logPrefix string
return void

CheckExe() protected method

protected CheckExe ( string name, string exePath, int expectedExitCode, string expectedOutput ) : void
name string
exePath string
expectedExitCode int
expectedOutput string
return void

Clean() protected method

protected Clean ( string name, string logPrefix = "" ) : void
name string
logPrefix string
return void

CleanWithGoal() protected method

protected CleanWithGoal ( string name, string goal, string logPrefix = "" ) : void
name string
goal string
logPrefix string
return void

ExeBuildWithGoal() protected method

protected ExeBuildWithGoal ( string name, string goal, string exePath, int expectedExitCode, string expectedOutput ) : void
name string
goal string
exePath string
expectedExitCode int
expectedOutput string
return void

ExeProductBuild() protected method

protected ExeProductBuild ( string name, string product, string exePath, int expectedExitCode, string expectedOutput ) : void
name string
product string
exePath string
expectedExitCode int
expectedOutput string
return void

Initialize() protected method

protected Initialize ( ) : void
return void

InternalCheckExe() protected method

protected InternalCheckExe ( string name, string exePath, int expectedExitCode, string expectedOutput ) : void
name string
exePath string
expectedExitCode int
expectedOutput string
return void

Log() protected method

protected Log ( string format ) : void
format string
return void

RunBari() protected method

protected RunBari ( string name, string logName, string args ) : int
name string
logName string
args string
return int

SimpleExeBuild() protected method

protected SimpleExeBuild ( string name, string exePath, int expectedExitCode, string expectedOutput ) : void
name string
exePath string
expectedExitCode int
expectedOutput string
return void

Steps() protected method

protected Steps ( System.Action steps ) : void
steps System.Action
return void

SysTestBase() public method

public SysTestBase ( string root ) : System
root string
return System

Property Details

isRunningOnMono protected_oe property

protected bool isRunningOnMono
return bool

root protected_oe property

protected string root
return string