public SaveAzureServiceProjectPackageCommandTest() { AzurePowerShell.ProfileDirectory = Test.Utilities.Common.Data.AzureSdkAppDir; mockCommandRuntime = new MockCommandRuntime(); addNodeWebCmdlet = new AddAzureNodeWebRoleCommand(); addNodeWorkerCmdlet = new AddAzureNodeWorkerRoleCommand(); cmdlet = new SaveAzureServiceProjectPackageCommand(); addNodeWorkerCmdlet.CommandRuntime = mockCommandRuntime; addNodeWebCmdlet.CommandRuntime = mockCommandRuntime; cmdlet.CommandRuntime = mockCommandRuntime; }
public void SetupTest() { GlobalPathInfo.GlobalSettingsDirectory = Data.AzureSdkAppDir; mockCommandRuntime = new MockCommandRuntime(); addNodeWebCmdlet = new AddAzureNodeWebRoleCommand(); addNodeWorkerCmdlet = new AddAzureNodeWorkerRoleCommand(); cmdlet = new SaveAzureServiceProjectPackageCommand(); addNodeWorkerCmdlet.CommandRuntime = mockCommandRuntime; addNodeWebCmdlet.CommandRuntime = mockCommandRuntime; cmdlet.CommandRuntime = mockCommandRuntime; }
public void SetupTest() { GlobalPathInfo.GlobalSettingsDirectory = Data.AzureSdkAppDir; mockCommandRuntime = new MockCommandRuntime(); addNodeWebCmdlet = new AddAzureNodeWebRoleCommand(); addNodeWorkerCmdlet = new AddAzureNodeWorkerRoleCommand(); cmdlet = new SaveAzureServiceProjectPackageCommand(); addNodeWorkerCmdlet.CommandRuntime = mockCommandRuntime; addNodeWebCmdlet.CommandRuntime = mockCommandRuntime; cmdlet.CommandRuntime = mockCommandRuntime; }
public void SetupTest() { GlobalPathInfo.GlobalSettingsDirectory = Data.AzureSdkAppDir; CmdletSubscriptionExtensions.SessionManager = new InMemorySessionManager(); mockCommandRuntime = new MockCommandRuntime(); addNodeWebCmdlet = new AddAzureNodeWebRoleCommand(); addNodeWorkerCmdlet = new AddAzureNodeWorkerRoleCommand(); cmdlet = new SaveAzureServiceProjectPackageCommand(); addNodeWorkerCmdlet.CommandRuntime = mockCommandRuntime; addNodeWebCmdlet.CommandRuntime = mockCommandRuntime; cmdlet.CommandRuntime = mockCommandRuntime; }
public void SetupTest() { GlobalPathInfo.GlobalSettingsDirectory = Data.AzureSdkAppDir; CmdletSubscriptionExtensions.SessionManager = new InMemorySessionManager(); mockCommandRuntime = new MockCommandRuntime(); addNodeWebCmdlet = new AddAzureNodeWebRoleCommand(); addNodeWorkerCmdlet = new AddAzureNodeWorkerRoleCommand(); cmdlet = new SaveAzureServiceProjectPackageCommand(); addNodeWorkerCmdlet.CommandRuntime = mockCommandRuntime; addNodeWebCmdlet.CommandRuntime = mockCommandRuntime; cmdlet.CommandRuntime = mockCommandRuntime; }