C# Class Tmx.SQLiteHelper

Description of SQLiteHelper.
显示文件 Open project: apetrovskiy/STUPS

Public Methods

Method Description
ChangeBucket ( PSCmdletBase cmdlet, string bucketNames ) : void
ChangeConstant ( PSCmdletBase cmdlet, string constantNames, object constantValues ) : void
ChangeTestCase ( PSCmdletBase cmdlet, string testCaseNames ) : void
CloseDatabase ( PSCmdletBase cmdlet, string databaseName ) : void
CreateTestCase ( PSCmdletBase cmdlet, string testCaseName, System.Management.Automation.ScriptBlock beforeCode, System.Management.Automation.ScriptBlock mainCode, System.Management.Automation.ScriptBlock afterCode ) : void
DeleteBucket ( PSCmdletBase cmdlet, string bucketNames ) : void
DeleteConstant ( PSCmdletBase cmdlet, string constantNames ) : void
DeleteTestCase ( PSCmdletBase cmdlet, string testCaseNames ) : void
GetBucket ( PSCmdletBase cmdlet, string bucketNames ) : void
GetConstant ( PSCmdletBase cmdlet, string constantNames ) : void
GetScreenshotFromFileSystem ( string filePath ) : byte[]
GetTestCase ( PSCmdletBase cmdlet, string testCaseNames ) : void
RestoreTestResults ( PSCmdletBase cmdlet, string bucketNames ) : void
SetScreenshotToFileSystem ( string testResultName, string testResultId, string filePath ) : void

Private Methods

Method Description
GetDatabase ( PSCmdletBase cmdlet, string databaseName ) : IDatabase
PrepareEscapedString ( string inputString ) : string
SQLiteHelper ( ) : System.Linq

Method Details

ChangeBucket() public static method

public static ChangeBucket ( PSCmdletBase cmdlet, string bucketNames ) : void
cmdlet PSTestLib.PSCmdletBase
bucketNames string
return void

ChangeConstant() public static method

public static ChangeConstant ( PSCmdletBase cmdlet, string constantNames, object constantValues ) : void
cmdlet PSTestLib.PSCmdletBase
constantNames string
constantValues object
return void

ChangeTestCase() public static method

public static ChangeTestCase ( PSCmdletBase cmdlet, string testCaseNames ) : void
cmdlet PSTestLib.PSCmdletBase
testCaseNames string
return void

CloseDatabase() public static method

public static CloseDatabase ( PSCmdletBase cmdlet, string databaseName ) : void
cmdlet PSTestLib.PSCmdletBase
databaseName string
return void

CreateTestCase() public static method

public static CreateTestCase ( PSCmdletBase cmdlet, string testCaseName, System.Management.Automation.ScriptBlock beforeCode, System.Management.Automation.ScriptBlock mainCode, System.Management.Automation.ScriptBlock afterCode ) : void
cmdlet PSTestLib.PSCmdletBase
testCaseName string
beforeCode System.Management.Automation.ScriptBlock
mainCode System.Management.Automation.ScriptBlock
afterCode System.Management.Automation.ScriptBlock
return void

DeleteBucket() public static method

public static DeleteBucket ( PSCmdletBase cmdlet, string bucketNames ) : void
cmdlet PSTestLib.PSCmdletBase
bucketNames string
return void

DeleteConstant() public static method

public static DeleteConstant ( PSCmdletBase cmdlet, string constantNames ) : void
cmdlet PSTestLib.PSCmdletBase
constantNames string
return void

DeleteTestCase() public static method

public static DeleteTestCase ( PSCmdletBase cmdlet, string testCaseNames ) : void
cmdlet PSTestLib.PSCmdletBase
testCaseNames string
return void

GetBucket() public static method

public static GetBucket ( PSCmdletBase cmdlet, string bucketNames ) : void
cmdlet PSTestLib.PSCmdletBase
bucketNames string
return void

GetConstant() public static method

public static GetConstant ( PSCmdletBase cmdlet, string constantNames ) : void
cmdlet PSTestLib.PSCmdletBase
constantNames string
return void

GetScreenshotFromFileSystem() public static method

public static GetScreenshotFromFileSystem ( string filePath ) : byte[]
filePath string
return byte[]

GetTestCase() public static method

public static GetTestCase ( PSCmdletBase cmdlet, string testCaseNames ) : void
cmdlet PSTestLib.PSCmdletBase
testCaseNames string
return void

RestoreTestResults() public static method

public static RestoreTestResults ( PSCmdletBase cmdlet, string bucketNames ) : void
cmdlet PSTestLib.PSCmdletBase
bucketNames string
return void

SetScreenshotToFileSystem() public static method

public static SetScreenshotToFileSystem ( string testResultName, string testResultId, string filePath ) : void
testResultName string
testResultId string
filePath string
return void