C# Class Microsoft.Azure.Commands.ScenarioTest.SqlTests.SqlEvnSetupHelper

Inheritance: Microsoft.WindowsAzure.Commands.ScenarioTest.EnvironmentSetupHelper
Show file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
SetupEnvironment ( ) : void

This overrides the default subscription and default account. This allows the test to get the tenant id in the test.

Private Methods

Method Description
GetTenantId ( TestEnvironment environment ) : string

Helper function to get the tenant id if it was set in the test

GetUser ( TestEnvironment environment ) : string

Helper function to get the user id if it was set in the test

Method Details

SetupEnvironment() public method

This overrides the default subscription and default account. This allows the test to get the tenant id in the test.
public SetupEnvironment ( ) : void
return void