public static CreateComputeNodeUser ( |
||
controller | ||
context | BatchAccountContext | |
poolId | string | |
computeNodeId | string | |
computeNodeUserName | string | |
return | void |
public void TestDeleteComputeNodeUser() { BatchController controller = BatchController.NewInstance; BatchAccountContext context = null; string computeNodeId = null; string userName = "******"; controller.RunPsTestWorkflow( () => { return(new string[] { string.Format("Test-DeleteComputeNodeUser '{0}' '{1}' '{2}'", poolId, computeNodeId, userName) }); }, () => { context = new ScenarioTestContext(); computeNodeId = ScenarioTestHelpers.GetComputeNodeId(controller, context, poolId); ScenarioTestHelpers.CreateComputeNodeUser(controller, context, poolId, computeNodeId, userName); }, null, TestUtilities.GetCallingClass(), TestUtilities.GetCurrentMethodName()); }