C# Class PsTest.InvokeTestCmdlet

Inheritance: Cmdlet
Show file Open project: knutkj/pstest Class Usage Examples

Private Properties

Property Type Description
CreateTestResult PsTest.TestResult
InvokeScriptBlock Collection
IsExpectedException bool

Protected Methods

Method Description
ProcessRecord ( ) : void

Invokes a PsTest.

Private Methods

Method Description
CreateTestResult ( string testName, bool success ) : PsTest.TestResult

Creates a new test result.

InvokeScriptBlock ( System.Management.Automation.ScriptBlock scriptBlock ) : Collection

Invokes the specified script block.

IsExpectedException ( Type expectedExceptionType, Exception actualException ) : bool

Returns true if the exception is expected.

Method Details

ProcessRecord() protected method

Invokes a PsTest.
protected ProcessRecord ( ) : void
return void