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

Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Свойство Type Description
PackageDirectory string

Protected Properties

Свойство Type Description
modules List

Méthodes publiques

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

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

public EnvironmentSetupHelper ( ) : Microsoft.Azure
Résultat Microsoft.Azure

GetRMModulePath() public méthode

public GetRMModulePath ( string psd1FileName ) : string
psd1FileName string
Résultat string

RunPowerShellTest() public méthode

public RunPowerShellTest ( ) : Collection
Résultat Collection

RunPowerShellTest() public méthode

public RunPowerShellTest ( IEnumerable setupScripts, IEnumerable scripts ) : Collection
setupScripts IEnumerable
scripts IEnumerable
Résultat Collection

SetupEnvironment() public méthode

public SetupEnvironment ( AzureModule mode ) : void
mode AzureModule
Résultat void

SetupManagementClients() public méthode

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

SetupModules() public méthode

public SetupModules ( ) : void
Résultat void

SetupModules() public méthode

public SetupModules ( AzureModule mode ) : void
mode AzureModule
Résultat void

SetupModulesFromCommon() public méthode

public SetupModulesFromCommon ( AzureModule mode ) : void
mode AzureModule
Résultat void

SetupSomeOfManagementClients() public méthode

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

Property Details

PackageDirectory public_oe property

public string PackageDirectory
Résultat string

modules protected_oe property

protected List modules
Résultat List