C# Class PsTest.InvokeTestCmdlet

Inheritance: Cmdlet
Afficher le fichier Open project: knutkj/pstest Class Usage Examples

Private Properties

Свойство Type Description
CreateTestResult PsTest.TestResult
InvokeScriptBlock Collection
IsExpectedException bool

Méthodes protégées

Méthode Description
ProcessRecord ( ) : void

Invokes a PsTest.

Private Methods

Méthode 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 méthode

Invokes a PsTest.
protected ProcessRecord ( ) : void
Résultat void