C# Class Microsoft.WindowsAzure.Commands.ScenarioTest.EnvironmentSetupHelper

Mostrar archivo Open project: Azure/azure-powershell Class Usage Examples

Public Properties

Property Type Description
PackageDirectory string

Protected Properties

Property Type Description
modules List

Public Methods

Method Description
EnvironmentSetupHelper ( ) : Microsoft.Azure
GetRMModulePath ( string psd1FileName ) : string
RunPowerShellTest ( ) : Collection
RunPowerShellTest ( IEnumerable setupScripts, IEnumerable scripts ) : Collection
SetupEnvironment ( AzureModule mode ) : void
SetupManagementClients ( ) : void

Loads DummyManagementClientHelper with clients and throws exception if any client is missing.

SetupModules ( ) : void
SetupModules ( AzureModule mode ) : void
SetupModulesFromCommon ( AzureModule mode ) : void
SetupSomeOfManagementClients ( ) : void

Loads DummyManagementClientHelper with clients and sets it up to create missing clients dynamically.

Private Methods

Method Description
ExecuteShellTest ( System powershell, IEnumerable setupScripts, IEnumerable scripts ) : Collection
SetAuthenticationFactory ( AzureModule mode, TestEnvironment environment ) : void
SetAuthenticationFactory ( AzureModule mode, TestEnvironment rdfeEnvironment, TestEnvironment csmEnvironment ) : void
SetAuthenticationFactory ( TestEnvironment environment ) : void
SetupAzureEnvironmentFromEnvironmentVariables ( AzureModule mode ) : void
SetupPowerShellModules ( System powershell ) : void
SetupPowerShellModules ( System powershell, IEnumerable setupScripts ) : void

Method Details

EnvironmentSetupHelper() public method

public EnvironmentSetupHelper ( ) : Microsoft.Azure
return Microsoft.Azure

GetRMModulePath() public method

public GetRMModulePath ( string psd1FileName ) : string
psd1FileName string
return string

RunPowerShellTest() public method

public RunPowerShellTest ( ) : Collection
return Collection

RunPowerShellTest() public method

public RunPowerShellTest ( IEnumerable setupScripts, IEnumerable scripts ) : Collection
setupScripts IEnumerable
scripts IEnumerable
return Collection

SetupEnvironment() public method

public SetupEnvironment ( AzureModule mode ) : void
mode AzureModule
return void

SetupManagementClients() public method

Loads DummyManagementClientHelper with clients and throws exception if any client is missing.
public SetupManagementClients ( ) : void
return void

SetupModules() public method

public SetupModules ( ) : void
return void

SetupModules() public method

public SetupModules ( AzureModule mode ) : void
mode AzureModule
return void

SetupModulesFromCommon() public method

public SetupModulesFromCommon ( AzureModule mode ) : void
mode AzureModule
return void

SetupSomeOfManagementClients() public method

Loads DummyManagementClientHelper with clients and sets it up to create missing clients dynamically.
public SetupSomeOfManagementClients ( ) : void
return void

Property Details

PackageDirectory public_oe property

public string PackageDirectory
return string

modules protected_oe property

protected List modules
return List