Skip to content

HPF PR: dev <- Azure:dev #405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,49 +20,42 @@ namespace Microsoft.Azure.Commands.Batch.Test.ScenarioTests
public class BatchAccountTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
{
[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNonExistingBatchAccount()
{
BatchController.NewInstance.RunPsTest("Test-GetNonExistingBatchAccount");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCreatesNewBatchAccount()
{
BatchController.NewInstance.RunPsTest("Test-CreatesNewBatchAccount");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCreateExistingBatchAccount()
{
BatchController.NewInstance.RunPsTest("Test-CreateExistingBatchAccount");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestUpdatesExistingBatchAccount()
{
BatchController.NewInstance.RunPsTest("Test-UpdatesExistingBatchAccount");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetBatchAccountsUnderResourceGroups()
{
BatchController.NewInstance.RunPsTest("Test-GetBatchAccountsUnderResourceGroups");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCreateAndRemoveBatchAccountViaPiping()
{
BatchController.NewInstance.RunPsTest("Test-CreateAndRemoveBatchAccountViaPiping");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestBatchAccountKeys()
{
BatchController.NewInstance.RunPsTest("Test-BatchAccountKeys");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public void TestAddCertificate()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetCertificateByThumbprint()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -60,7 +59,6 @@ public void TestGetCertificateByThumbprint()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListCertificatesByFilter()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -114,7 +112,6 @@ public void TestGetAndListCertificatesWithSelect()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListCertificatesWithMaxCount()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -140,7 +137,6 @@ public void TestListCertificatesWithMaxCount()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListAllCertificates()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -185,7 +181,6 @@ public void TestDeleteCertificate()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCancelCertificateDelete()
{
BatchController controller = BatchController.NewInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,13 @@ public class ComputeNodeTests : WindowsAzure.Commands.Test.Utilities.Common.RMTe
private const string poolId = ScenarioTestHelpers.SharedPool;

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetComputeNodeById()
{
BatchController controller = BatchController.NewInstance;
controller.RunPsTest(string.Format("Test-GetComputeNodeById '{0}' '{1}'", accountName, poolId));
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListComputeNodesByFilter()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -77,7 +75,6 @@ public void TestGetAndListComputeNodesWithSelect()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListComputeNodesWithMaxCount()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -86,7 +83,6 @@ public void TestListComputeNodesWithMaxCount()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListAllComputeNodes()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -105,7 +101,6 @@ public void TestListAllComputeNodes()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListComputeNodePipeline()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -124,7 +119,6 @@ public void TestListComputeNodePipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestRemoveComputeNodeById()
{
TestRemoveComputeNode(false, TestUtilities.GetCurrentMethodName());
Expand All @@ -138,7 +132,6 @@ public void TestRemoveComputeNodePipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestRemoveMultipleComputeNodes()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -166,42 +159,36 @@ public void TestRemoveMultipleComputeNodes()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestRebootComputeNodeById()
{
TestRebootComputeNode(false, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestRebootComputeNodePipeline()
{
TestRebootComputeNode(true, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestReimageComputeNodeById()
{
TestReimageComputeNode(false, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestReimageComputeNodePipeline()
{
TestReimageComputeNode(true, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestDisableAndEnableComputeNodeSchedulingById()
{
TestDisableAndEnableComputeNodeScheduling(false, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestDisableAndEnableComputeNodeSchedulingPipeline()
{
TestDisableAndEnableComputeNodeScheduling(true, TestUtilities.GetCurrentMethodName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public class ComputeNodeUserTests : WindowsAzure.Commands.Test.Utilities.Common.
private const string poolId = ScenarioTestHelpers.SharedPool;

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCreateComputeNodeUser()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -73,7 +72,6 @@ public void TestCreateComputeNodeUserPipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestUpdateComputeNodeUser()
{
BatchController controller = BatchController.NewInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class FileTests : WindowsAzure.Commands.Test.Utilities.Common.RMTestBase
private const string startTaskStdOutContent = ScenarioTestHelpers.SharedPoolStartTaskStdOutContent;

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNodeFileByTaskByName()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -60,7 +59,6 @@ public void TestGetNodeFileByTaskByName()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFilesByTaskByFilter()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -87,7 +85,6 @@ public void TestListNodeFilesByTaskByFilter()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFilesByTaskWithMaxCount()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -113,7 +110,6 @@ public void TestListNodeFilesByTaskWithMaxCount()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListAllNodeFilesByTask()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -139,7 +135,6 @@ public void TestListAllNodeFilesByTask()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFilesByTaskRecursive()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -165,7 +160,6 @@ public void TestListNodeFilesByTaskRecursive()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFileByTaskPipeline()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -191,7 +185,6 @@ public void TestListNodeFileByTaskPipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNodeFileContentByTaskByName()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -219,7 +212,6 @@ public void TestGetNodeFileContentByTaskByName()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNodeFileContentByTaskPipeline()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -247,7 +239,6 @@ public void TestGetNodeFileContentByTaskPipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNodeFileByComputeNodeByName()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -267,7 +258,6 @@ public void TestGetNodeFileByComputeNodeByName()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFilesByComputeNodeByFilter()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -288,7 +278,6 @@ public void TestListNodeFilesByComputeNodeByFilter()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFilesByComputeNodeWithMaxCount()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -308,7 +297,6 @@ public void TestListNodeFilesByComputeNodeWithMaxCount()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListAllNodeFilesByComputeNode()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -328,7 +316,6 @@ public void TestListAllNodeFilesByComputeNode()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestListNodeFilesByComputeNodeRecursive()
{
BatchController controller = BatchController.NewInstance;
Expand Down Expand Up @@ -369,7 +356,6 @@ public void TestListNodeFileByComputeNodePipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNodeFileContentByComputeNodeByName()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -388,7 +374,6 @@ public void TestGetNodeFileContentByComputeNodeByName()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetNodeFileContentByComputeNodeByPipeline()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -407,7 +392,6 @@ public void TestGetNodeFileContentByComputeNodeByPipeline()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetRemoteDesktopProtocolFileById()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -426,7 +410,6 @@ public void TestGetRemoteDesktopProtocolFileById()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGetRemoteDesktopProtocolFilePipeline()
{
BatchController controller = BatchController.NewInstance;
Expand All @@ -452,21 +435,18 @@ public void TestDeleteNodeFileByTaskByName()
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestDeleteNodeFileByTaskByPipeline()
{
TestDeleteNodeFileByTask(true, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestDeleteNodeFileByComputeNodeByName()
{
TestDeleteNodeFileByComputeNode(false, TestUtilities.GetCurrentMethodName());
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestDeleteNodeFileByComputeNodeByPipeline()
{
TestDeleteNodeFileByComputeNode(true, TestUtilities.GetCurrentMethodName());
Expand Down
Loading