From c6cac7417dbcd191a6945829215fbd284e1b1c28 Mon Sep 17 00:00:00 2001 From: mcgallan <88413158+mcgallan@users.noreply.github.com> Date: Mon, 5 Sep 2022 16:54:32 +0800 Subject: [PATCH] Cognitive Service PrivateEndpointConnection testcase name abbreviation completed (#30927) * base finished * delete CreateOrUpdate() * Update tests * Update tests * Fix pipeline * Update Azure.ResourceManager.CognitiveServices.netstandard2.0.cs * Abbreviation Completed Co-authored-by: Minghao Chen <30464227+HarveyLink@users.noreply.github.com> --- .../PEConnectionCollectionApiTests().json} | 0 .../PEConnectionCollectionApiTests()Async.json} | 0 .../PEConnectionResourceApiTests().json} | 0 .../PEConnectionResourceApiTests()Async.json} | 0 ...ionCollectionTests.cs => PEConnectionCollectionTests.cs} | 6 +++--- ...nectionResourceTests.cs => PEConnectionResourceTests.cs} | 6 +++--- 6 files changed, 6 insertions(+), 6 deletions(-) rename sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/{CognitiveServicesPrivateEndpointConnectionCollectionTests/CognitiveServicesPrivateEndpointConnectionCollectionApiTests().json => PEConnectionCollectionTests/PEConnectionCollectionApiTests().json} (100%) rename sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/{CognitiveServicesPrivateEndpointConnectionCollectionTests/CognitiveServicesPrivateEndpointConnectionCollectionApiTests()Async.json => PEConnectionCollectionTests/PEConnectionCollectionApiTests()Async.json} (100%) rename sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/{CognitiveServicesPrivateEndpointConnectionResourceTests/CognitiveServicesPrivateEndpointConnectionResourceApiTests().json => PEConnectionResourceTests/PEConnectionResourceApiTests().json} (100%) rename sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/{CognitiveServicesPrivateEndpointConnectionResourceTests/CognitiveServicesPrivateEndpointConnectionResourceApiTests()Async.json => PEConnectionResourceTests/PEConnectionResourceApiTests()Async.json} (100%) rename sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/{CognitiveServicesPrivateEndpointConnectionCollectionTests.cs => PEConnectionCollectionTests.cs} (83%) rename sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/{CognitiveServicesPrivateEndpointConnectionResourceTests.cs => PEConnectionResourceTests.cs} (85%) diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionCollectionTests/CognitiveServicesPrivateEndpointConnectionCollectionApiTests().json b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionCollectionTests/PEConnectionCollectionApiTests().json similarity index 100% rename from sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionCollectionTests/CognitiveServicesPrivateEndpointConnectionCollectionApiTests().json rename to sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionCollectionTests/PEConnectionCollectionApiTests().json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionCollectionTests/CognitiveServicesPrivateEndpointConnectionCollectionApiTests()Async.json b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionCollectionTests/PEConnectionCollectionApiTests()Async.json similarity index 100% rename from sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionCollectionTests/CognitiveServicesPrivateEndpointConnectionCollectionApiTests()Async.json rename to sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionCollectionTests/PEConnectionCollectionApiTests()Async.json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionResourceTests/CognitiveServicesPrivateEndpointConnectionResourceApiTests().json b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionResourceTests/PEConnectionResourceApiTests().json similarity index 100% rename from sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionResourceTests/CognitiveServicesPrivateEndpointConnectionResourceApiTests().json rename to sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionResourceTests/PEConnectionResourceApiTests().json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionResourceTests/CognitiveServicesPrivateEndpointConnectionResourceApiTests()Async.json b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionResourceTests/PEConnectionResourceApiTests()Async.json similarity index 100% rename from sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/CognitiveServicesPrivateEndpointConnectionResourceTests/CognitiveServicesPrivateEndpointConnectionResourceApiTests()Async.json rename to sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/SessionRecords/PEConnectionResourceTests/PEConnectionResourceApiTests()Async.json diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/CognitiveServicesPrivateEndpointConnectionCollectionTests.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/PEConnectionCollectionTests.cs similarity index 83% rename from sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/CognitiveServicesPrivateEndpointConnectionCollectionTests.cs rename to sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/PEConnectionCollectionTests.cs index 127342f6e6b17..5a93b1ae6a07a 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/CognitiveServicesPrivateEndpointConnectionCollectionTests.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/PEConnectionCollectionTests.cs @@ -10,9 +10,9 @@ namespace Azure.ResourceManager.CognitiveServices.Tests { - public class CognitiveServicesPrivateEndpointConnectionCollectionTests : CognitiveServicesManagementTestBase + public class PEConnectionCollectionTests : CognitiveServicesManagementTestBase { - public CognitiveServicesPrivateEndpointConnectionCollectionTests(bool isAsync) + public PEConnectionCollectionTests(bool isAsync) : base(isAsync)//, RecordedTestMode.Record) { } @@ -27,7 +27,7 @@ private async Task GetCogn } [TestCase] - public async Task CognitiveServicesPrivateEndpointConnectionCollectionApiTests() + public async Task PEConnectionCollectionApiTests() { //1.GetAll var container = await GetCognitiveServicesPrivateEndpointConnectionCollectionAsync(); diff --git a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/CognitiveServicesPrivateEndpointConnectionResourceTests.cs b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/PEConnectionResourceTests.cs similarity index 85% rename from sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/CognitiveServicesPrivateEndpointConnectionResourceTests.cs rename to sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/PEConnectionResourceTests.cs index 6ba1be9f9cb33..05d52f758be05 100644 --- a/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/CognitiveServicesPrivateEndpointConnectionResourceTests.cs +++ b/sdk/cognitiveservices/Azure.ResourceManager.CognitiveServices/tests/TestCase/PEConnectionResourceTests.cs @@ -11,9 +11,9 @@ namespace Azure.ResourceManager.CognitiveServices.Tests { - public class CognitiveServicesPrivateEndpointConnectionResourceTests : CognitiveServicesManagementTestBase + public class PEConnectionResourceTests : CognitiveServicesManagementTestBase { - public CognitiveServicesPrivateEndpointConnectionResourceTests(bool isAsync) + public PEConnectionResourceTests(bool isAsync) : base(isAsync)//, RecordedTestMode.Record) { } @@ -28,7 +28,7 @@ private async Task GetCogn } [TestCase] - public async Task CognitiveServicesPrivateEndpointConnectionResourceApiTests() + public async Task PEConnectionResourceApiTests() { //1.Get var collection = await GetCognitiveServicesPrivateEndpointConnectionCollectionAsync();