C# Class Microsoft.WindowsAzure.Commands.Test.Utilities.Common.RMTestBase

Base class for Microsoft Azure PowerShell unit tests.
Afficher le fichier Open project: Azure/azure-powershell

Protected Properties

Свойство Type Description
currentProfile Microsoft.Azure.Commands.Common.Authentication.Models.AzureRMProfile

Méthodes publiques

Méthode Description
BaseSetup ( ) : void

Initialize the necessary environment for the tests.

RMTestBase ( ) : Microsoft.Azure.Commands.Common.Authentication
SetupConfirmation ( Mock mock ) : void

Set up the command runtime to return true for all confirmation prompts

Method Details

BaseSetup() public méthode

Initialize the necessary environment for the tests.
public BaseSetup ( ) : void
Résultat void

RMTestBase() public méthode

public RMTestBase ( ) : Microsoft.Azure.Commands.Common.Authentication
Résultat Microsoft.Azure.Commands.Common.Authentication

SetupConfirmation() public static méthode

Set up the command runtime to return true for all confirmation prompts
public static SetupConfirmation ( Mock mock ) : void
mock Mock The mock command runtiem to set up
Résultat void

Property Details

currentProfile protected_oe property

protected AzureRMProfile,Microsoft.Azure.Commands.Common.Authentication.Models currentProfile
Résultat Microsoft.Azure.Commands.Common.Authentication.Models.AzureRMProfile