From b9bd85cb2591f7c3f3c054f33f158e758056f1d3 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Thu, 30 Apr 2020 16:59:04 -0700 Subject: [PATCH] Create TestFramework project (#11663) --- eng/.docsettings.yml | 1 + eng/Directory.Build.Data.props | 3 + eng/Directory.Build.Data.targets | 2 + eng/TestFramework.props | 6 + eng/TestFramework.targets | 22 +++ .../tests/AppConfigurationTestEnvironment.cs | 4 +- .../Azure.Data.AppConfiguration.Tests.csproj | 2 +- .../tests/ConfigurationLiveTests.cs | 2 +- .../tests/ConfigurationMockTests.cs | 2 +- .../tests/ConfigurationRecordMatcher.cs | 2 +- .../ConfigurationRecordedTestSanitizer.cs | 2 +- .../tests/CustomHeadersPolicyTests.cs | 2 +- .../tests/SyncTokenPolicyTests.cs | 2 +- .../tests/samples/Sample1_HelloWorld.cs | 2 +- .../samples/Sample2_HelloWorldExtended.cs | 2 +- .../tests/samples/Sample3_SetClearReadOnly.cs | 2 +- .../samples/Sample4_ReadRevisionHistory.cs | 2 +- .../samples/Sample5_GetSettingIfChanged.cs | 2 +- .../Sample6_UpdateSettingIfUnchanged.cs | 2 +- .../tests/samples/SampleSnippets.cs | 2 +- .../Azure.Core.TestFramework.sln | 25 +++ .../Directory.Build.props | 6 + .../src}/AsyncGate.cs | 2 +- .../src}/AsyncOnlyAttribute.cs | 2 +- .../src}/AsyncValidatingStream.cs | 2 +- .../src/Azure.Core.TestFramework.csproj | 18 ++ .../src}/ClientDiagnosticListener.cs | 0 .../src}/ClientTestBase.cs | 2 +- .../src}/ClientTestFixtureAttribute.cs | 2 +- .../DiagnosticScopeValidatingInterceptor.cs | 2 +- .../src/EntryRecordModel.cs | 12 ++ .../src}/EnumValuesAttribute.cs | 4 +- .../src}/LiveOnlyAttribute.cs | 2 +- .../src}/MockRequest.cs | 2 +- .../src}/MockResponse.cs | 2 +- .../src}/MockTransport.cs | 2 +- .../src}/NonSeekableMemoryStream.cs | 4 +- .../src}/PlaybackTransport.cs | 2 +- .../src}/RandomExtensions.cs | 2 +- .../src}/RecordEntry.cs | 4 +- .../src}/RecordEntryMessage.cs | 4 +- .../src}/RecordMatcher.cs | 2 +- .../src}/RecordSession.cs | 2 +- .../src}/RecordTransport.cs | 4 +- .../src}/RecordedTestBase.cs | 2 +- .../src}/RecordedTestBase{TEnvironment}.cs | 2 +- .../src}/RecordedTestMode.cs | 2 +- .../src}/RecordedTestSanitizer.cs | 2 +- .../src}/RecordedTestUtilities.cs | 6 +- .../src}/RunOnlyOnPlatformsAttribute.cs | 2 +- .../src}/SamplesBase.cs | 2 +- .../src}/ServiceVersionAttribute.cs | 2 +- .../src}/SyncAsyncPolicyTestBase.cs | 2 +- .../src}/SyncAsyncTestBase.cs | 2 +- .../src}/SyncOnlyAttribute.cs | 2 +- .../src}/TaskExtensions.cs | 2 +- .../src}/TestAsyncEnumerableExtensions.cs | 2 +- .../src}/TestDiagnosticListener.cs | 0 .../src}/TestEnvironment.Recorded.cs | 2 +- .../src}/TestEnvironment.cs | 2 +- .../src}/TestEventListener.cs | 2 +- .../src}/TestEventListenerExtensions.cs | 4 +- .../src}/TestRandom.cs | 2 +- .../src}/TestRecording.cs | 2 +- .../src}/TestRetryHelper.cs | 2 +- .../src}/UseSyncMethodsInterceptor.cs | 2 +- sdk/core/Azure.Core/Azure.Core.All.sln | 161 ++++++++++-------- .../src/Shared/ContentTypeUtilities.cs | 6 - .../Azure.Core/tests/Azure.Core.Tests.csproj | 4 +- .../tests/AzureEventSourceListenerTests.cs | 2 +- .../tests/AzureKeyCredentialPolicyTests.cs | 2 +- .../BearerTokenAuthenticationPolicyTests.cs | 2 +- .../tests/ClientRequestIdPolicyTests.cs | 2 +- .../ClientTestBaseDiagnosticScopeTests.cs | 2 +- .../tests/ClientTestBaseMultiVersionTests.cs | 2 +- .../Azure.Core/tests/ClientTestBaseTests.cs | 2 +- .../tests/EnumValuesAttributeTests.cs | 2 +- sdk/core/Azure.Core/tests/EventSourceTests.cs | 2 +- .../Azure.Core/tests/ExponentialPolicyTest.cs | 2 +- .../tests/FailedResponseExceptionTests.cs | 2 +- .../Azure.Core/tests/FixedRetryPolicyTests.cs | 2 +- sdk/core/Azure.Core/tests/HeadersTests.cs | 2 +- .../tests/HttpPipelineBuilderTest.cs | 2 +- .../tests/HttpPipelineMessageTest.cs | 2 +- .../Azure.Core/tests/HttpPipelineTests.cs | 2 +- sdk/core/Azure.Core/tests/OperationTests.cs | 2 +- sdk/core/Azure.Core/tests/PipelineTests.cs | 2 +- .../Azure.Core/tests/RecordSessionTests.cs | 2 +- .../tests/RequestActivityPolicyTests.cs | 2 +- .../tests/ResponseBodyPolicyTests.cs | 2 +- .../tests/ResponseClassifierTests.cs | 2 +- sdk/core/Azure.Core/tests/ResponseTests.cs | 2 +- .../Azure.Core/tests/RetriableStreamTests.cs | 2 +- .../Azure.Core/tests/RetryPolicyTestBase.cs | 2 +- .../Azure.Core/tests/TelemetryPolicyTests.cs | 2 +- .../Azure.Core/tests/TestEnvironmentTests.cs | 2 +- sdk/core/Azure.Core/tests/TestFramework.props | 38 ----- ...Messaging.EventHubs.Processor.Tests.csproj | 3 +- .../Infrastructure/StorageTestEnvironment.cs | 2 +- .../src/Testing/EventHubsTestEnvironment.cs | 2 +- ...re.Messaging.EventHubs.Shared.Tests.csproj | 4 +- .../Azure.Messaging.EventHubs.Tests.csproj | 5 +- ...NetCore.Configuration.Secrets.Tests.csproj | 3 +- .../tests/AzureKeyVaultConfigurationTests.cs | 2 +- .../tests/ConfigurationTestEnvironment.cs | 2 +- ...pNetCore.DataProtection.Blobs.Tests.csproj | 3 +- .../tests/AzureBlobXmlRepositoryTests.cs | 2 +- .../tests/DataProtectionTestEnvironment.cs | 2 +- ...spNetCore.DataProtection.Keys.Tests.csproj | 3 +- .../tests/DataProtectionTestEnvironment.cs | 2 +- .../Azure.AI.FormRecognizer.Tests.csproj | 7 +- .../FormRecognizerClientLiveTests.cs | 2 +- .../FormRecognizerClientTests.cs | 2 +- .../FormTrainingClientLiveTests.cs | 2 +- .../FormTrainingClientTests.cs | 2 +- .../FormRecognizerRecordMatcher.cs | 2 +- .../FormRecognizerRecordedTestSanitizer.cs | 2 +- .../FormRecognizerTestEnvironment.cs | 2 +- .../Sample1_RecognizeContentFromFile.cs | 2 +- .../Sample1_RecognizeContentFromUri.cs | 2 +- .../Sample2_RecognizeReceiptsFromFile.cs | 2 +- .../Sample2_RecognizeReceiptsFromUri.cs | 2 +- .../Sample3_RecognizeCustomFormsFromFile.cs | 2 +- .../Sample3_RecognizeCustomFormsFromUri.cs | 2 +- .../samples/Sample4_TrainModelWithForms.cs | 2 +- .../Sample5_TrainModelWithFormsAndLabels.cs | 2 +- .../samples/Sample6_ManageCustomModels.cs | 2 +- .../Sample6_ManageCustomModelsAsync.cs | 2 +- .../tests/samples/SampleSnippets.cs | 2 +- .../tests/AuthorizationCodeCredentialTests.cs | 2 +- .../tests/Azure.Identity.Tests.csproj | 5 +- .../tests/AzureCliCredentialTests.cs | 2 +- .../tests/AzureIdentityEventSourceTests.cs | 2 +- .../tests/ClientCertificateCredentialTests.cs | 2 +- .../tests/ClientSecretCredentialTests.cs | 2 +- .../tests/DefaultAzureCredentialTests.cs | 2 +- .../tests/DeviceCodeCredentialTests.cs | 2 +- .../EnvironmentCredentialProviderTests.cs | 2 +- .../tests/IdentityRecordedTestSanitizer.cs | 2 +- .../tests/IdentityTestEnvironment.cs | 2 +- .../InteractiveBrowserCredentialTests.cs | 2 +- .../tests/LightweightPcks8DecoderTests.cs | 2 +- .../ManagedIdentityCredentialImdsLiveTests.cs | 2 +- .../ManagedIdentityCredentialLiveTests.cs | 2 +- .../tests/ManagedIdentityCredentialTests.cs | 2 +- .../Azure.Identity/tests/MockExtensions.cs | 2 +- .../tests/SharedTokenCacheCredentialTests.cs | 2 +- .../tests/TokenCredentialOptionsTests.cs | 2 +- .../UsernamePasswordCredentialLiveTests.cs | 2 +- .../tests/UsernamePasswordCredentialTests.cs | 2 +- .../VisualStudioCodeCredentialLiveTests.cs | 2 +- .../tests/VisualStudioCredentialTests.cs | 2 +- ...ecurity.KeyVault.Certificates.Tests.csproj | 2 +- .../tests/CertificateClientLiveTests.cs | 2 +- .../tests/CertificateClientTests.cs | 2 +- .../tests/CertificatesTestBase.cs | 2 +- .../tests/SampleFixture.cs | 2 +- .../Azure.Security.KeyVault.Keys.Tests.csproj | 2 +- .../tests/CryptographyClientLiveTests.cs | 2 +- .../tests/CryptographyClientTests.cs | 2 +- .../tests/DelayCreateKeyInterceptor.cs | 2 +- .../tests/KeyClientLiveTests.cs | 2 +- .../tests/KeyClientTests.cs | 2 +- .../tests/KeyResolverLiveTests.cs | 2 +- .../tests/KeysEventSourceTests.cs | 2 +- .../tests/KeysTestBase.cs | 2 +- .../tests/SampleFixture.cs | 2 +- .../tests/samples/SampleSnippets.cs | 2 +- ...ure.Security.KeyVault.Secrets.Tests.csproj | 2 +- ...ChallengeBasedAuthenticationPolicyTests.cs | 2 +- .../tests/SampleFixture.cs | 2 +- .../tests/SecretClientLiveTests.cs | 2 +- .../tests/SecretClientTests.cs | 2 +- .../tests/SecretsTestBase.cs | 2 +- .../tests/KeyVaultTestEnvironment.cs | 2 +- .../tests/Azure.Search.Documents.Tests.csproj | 4 +- .../DocumentOperations/AutocompleteTests.cs | 2 +- .../DocumentOperations/GetDocumentTests.cs | 2 +- .../tests/DocumentOperations/IndexingTests.cs | 2 +- .../tests/DocumentOperations/SearchTests.cs | 2 +- .../tests/DocumentOperations/SuggestTests.cs | 2 +- .../tests/Samples/HelloWorld.cs | 2 +- .../tests/Samples/Readme.cs | 2 +- .../tests/SearchServiceClientTests.cs | 2 +- .../tests/Serialization/SearchFilterTests.cs | 2 +- .../Utilities/SearchRecordedTestSanitizer.cs | 2 +- .../tests/Utilities/SearchResources.cs | 2 +- .../tests/Utilities/SearchTestBase.cs | 2 +- .../tests/Utilities/SearchTestEnvironment.cs | 2 +- .../Azure.Messaging.ServiceBus.Tests.csproj | 4 +- .../ServiceBusTestEnvironment.cs | 2 +- .../tests/BlobBatchClientTests.cs | 2 +- .../tests/DelayedResponseTests.cs | 2 +- .../tests/AppendBlobClientTests.cs | 2 +- .../tests/BlobBaseClientTests.cs | 2 +- .../tests/BlobClientTests.cs | 2 +- .../Azure.Storage.Blobs/tests/BlobTestBase.cs | 2 +- .../tests/BlobUriBuilderTests.cs | 2 +- .../tests/BlockBlobClientTests.cs | 2 +- .../tests/ContainerClientTests.cs | 2 +- .../tests/EncryptedBlockBlobClientTests.cs | 2 +- .../tests/PageBlobClientTests.cs | 2 +- .../tests/PartitionedDownloaderTests.cs | 2 +- .../tests/PartitionedUploaderTests.cs | 2 +- .../tests/ServiceClientTests.cs | 2 +- .../tests/CommonTestBase.cs | 2 +- .../tests/GeoRedundantReadPolicyTests.cs | 2 +- .../Shared/RecordedClientRequestIdPolicy.cs | 2 +- .../tests/Shared/StorageRecordMatcher.cs | 2 +- .../Shared/StorageRecordedTestSanitizer.cs | 2 +- .../tests/Shared/StorageTestBase.cs | 2 +- .../tests/Shared/TestExceptionPolicy.cs | 2 +- .../tests/StorageConnectionStringTests.cs | 2 +- .../tests/StorageResponseClassifierTests.cs | 2 +- .../tests/StorageSharedKeyCredentialsTests.cs | 2 +- .../StorageSharedKeyPipelinePolicyTests.cs | 2 +- .../tests/DataLakePartitionedUploaderTests.cs | 2 +- .../tests/DataLakeTestBase.cs | 2 +- .../tests/DirectoryClientTests.cs | 2 +- .../tests/FileClientTests.cs | 2 +- .../tests/FileSystemClientTests.cs | 2 +- .../tests/PathTestBase.cs | 2 +- .../tests/ServiceClientTests.cs | 2 +- .../tests/DirectoryClientTests.cs | 2 +- .../tests/FileClientTests.cs | 2 +- .../tests/FileTestBase.cs | 2 +- .../tests/FileUriBuilderTests.cs | 2 +- .../tests/ServiceClientTests.cs | 2 +- .../tests/ShareClientTests.cs | 2 +- .../tests/QueueClientTests.cs | 2 +- .../tests/QueueTestBase.cs | 2 +- .../tests/QueueUriBuilderTests.cs | 2 +- .../tests/ServiceClientTests.cs | 2 +- sdk/storage/Directory.Build.props | 5 +- .../tests/Azure.Data.Tables.Tests.csproj | 3 +- .../tests/TableClientLiveTests.cs | 2 +- .../tests/TableServiceClientLiveTests.cs | 2 +- .../tests/TablesRecordedTestSanitizer.cs | 2 +- .../tests/TablesTestEnvironment.cs | 2 +- .../tests/Azure.Template.Tests.csproj | 3 +- .../tests/MiniSecretClientLiveTest.cs | 2 +- .../tests/MiniSecretClientTestEnvironment.cs | 2 +- .../MiniSecretClientSamples.HelloWorld.cs | 2 +- .../tests/Azure.AI.TextAnalytics.Tests.csproj | 2 +- .../tests/TextAnalyticsClientLiveTests.cs | 2 +- .../tests/TextAnalyticsClientMockTests.cs | 2 +- .../tests/TextAnalyticsClientTests.cs | 2 +- .../tests/TextAnalyticsErrorTests.cs | 2 +- .../TextAnalyticsRecordedTestSanitizer.cs | 2 +- .../tests/samples/Sample1_DetectLanguage.cs | 2 +- .../samples/Sample1_DetectLanguageAsync.cs | 2 +- .../samples/Sample1_DetectLanguageBatch.cs | 2 +- .../Sample1_DetectLanguageBatchAsync.cs | 2 +- .../Sample1_DetectLanguageBatchConvenience.cs | 2 +- ...le1_DetectLanguageBatchConvenienceAsync.cs | 2 +- .../tests/samples/Sample2_AnalyzeSentiment.cs | 2 +- .../samples/Sample2_AnalyzeSentimentAsync.cs | 2 +- .../samples/Sample2_AnalyzeSentimentBatch.cs | 2 +- .../Sample2_AnalyzeSentimentBatchAsync.cs | 2 +- ...ample2_AnalyzeSentimentBatchConvenience.cs | 2 +- ...2_AnalyzeSentimentBatchConvenienceAsync.cs | 2 +- .../samples/Sample3_ExtractKeyPhrases.cs | 2 +- .../samples/Sample3_ExtractKeyPhrasesAsync.cs | 2 +- .../samples/Sample3_ExtractKeyPhrasesBatch.cs | 2 +- .../Sample3_ExtractKeyPhrasesBatchAsync.cs | 2 +- ...mple3_ExtractKeyPhrasesBatchConvenience.cs | 2 +- ..._ExtractKeyPhrasesBatchConvenienceAsync.cs | 2 +- .../samples/Sample4_RecognizeEntities.cs | 2 +- .../samples/Sample4_RecognizeEntitiesAsync.cs | 2 +- .../samples/Sample4_RecognizeEntitiesBatch.cs | 2 +- .../Sample4_RecognizeEntitiesBatchAsync.cs | 2 +- ...mple4_RecognizeEntitiesBatchConvenience.cs | 2 +- ..._RecognizeEntitiesBatchConvenienceAsync.cs | 2 +- .../Sample6_RecognizeLinkedEntities.cs | 2 +- .../Sample6_RecognizeLinkedEntitiesAsync.cs | 2 +- .../Sample6_RecognizeLinkedEntitiesBatch.cs | 2 +- ...mple6_RecognizeLinkedEntitiesBatchAsync.cs | 2 +- ...RecognizeLinkedEntitiesBatchConvenience.cs | 2 +- ...nizeLinkedEntitiesBatchConvenienceAsync.cs | 2 +- .../tests/samples/SampleMoq.cs | 2 +- .../tests/samples/SampleSnippets.cs | 2 +- .../samples/TextAnalyticsTestEnvironment.cs | 2 +- 282 files changed, 470 insertions(+), 412 deletions(-) create mode 100644 eng/TestFramework.props create mode 100644 eng/TestFramework.targets create mode 100644 sdk/core/Azure.Core.TestFramework/Azure.Core.TestFramework.sln create mode 100644 sdk/core/Azure.Core.TestFramework/Directory.Build.props rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/AsyncGate.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/AsyncOnlyAttribute.cs (93%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/AsyncValidatingStream.cs (98%) create mode 100644 sdk/core/Azure.Core.TestFramework/src/Azure.Core.TestFramework.csproj rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/ClientDiagnosticListener.cs (100%) mode change 100755 => 100644 rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/ClientTestBase.cs (99%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/ClientTestFixtureAttribute.cs (99%) mode change 100755 => 100644 rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/DiagnosticScopeValidatingInterceptor.cs (99%) mode change 100755 => 100644 create mode 100644 sdk/core/Azure.Core.TestFramework/src/EntryRecordModel.cs rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/EnumValuesAttribute.cs (97%) mode change 100755 => 100644 rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/LiveOnlyAttribute.cs (97%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/MockRequest.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/MockResponse.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/MockTransport.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/NonSeekableMemoryStream.cs (88%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/PlaybackTransport.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RandomExtensions.cs (91%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordEntry.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordEntryMessage.cs (90%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordMatcher.cs (99%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordSession.cs (99%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordTransport.cs (97%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordedTestBase.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordedTestBase{TEnvironment}.cs (95%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordedTestMode.cs (87%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordedTestSanitizer.cs (99%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RecordedTestUtilities.cs (80%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/RunOnlyOnPlatformsAttribute.cs (97%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/SamplesBase.cs (97%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/ServiceVersionAttribute.cs (91%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/SyncAsyncPolicyTestBase.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/SyncAsyncTestBase.cs (96%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/SyncOnlyAttribute.cs (93%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TaskExtensions.cs (98%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestAsyncEnumerableExtensions.cs (93%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestDiagnosticListener.cs (100%) mode change 100755 => 100644 rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestEnvironment.Recorded.cs (97%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestEnvironment.cs (99%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestEventListener.cs (97%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestEventListenerExtensions.cs (78%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestRandom.cs (96%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestRecording.cs (99%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/TestRetryHelper.cs (96%) rename sdk/core/{Azure.Core/tests/TestFramework => Azure.Core.TestFramework/src}/UseSyncMethodsInterceptor.cs (99%) delete mode 100644 sdk/core/Azure.Core/tests/TestFramework.props diff --git a/eng/.docsettings.yml b/eng/.docsettings.yml index 9e8ba3c5542b..db9908a7cbf8 100644 --- a/eng/.docsettings.yml +++ b/eng/.docsettings.yml @@ -70,6 +70,7 @@ known_presence_issues: - ['sdk/keyvault','#5499'] - ['sdk/eventhub','#5499'] - ['sdk/formrecognizer/Azure.AI.FormRecognizer','#5499'] + - ['sdk/core/Azure.Core.TestFramework', '#5499'] # List for changelogs begins here - ['sdk/applicationinsights/Microsoft.Azure.ApplicationInsights.Query/CHANGELOG.md','#5499'] diff --git a/eng/Directory.Build.Data.props b/eng/Directory.Build.Data.props index 4738c2b44545..907ba0671721 100644 --- a/eng/Directory.Build.Data.props +++ b/eng/Directory.Build.Data.props @@ -69,6 +69,8 @@ netcoreapp2.1;net461 + + $(RequiredTargetFrameworks) @@ -120,6 +122,7 @@ windowsazureofficial;azureofficial $(MSBuildThisFileDirectory)/../sdk/core/Azure.Core/src/Shared/ + $(MSBuildThisFileDirectory)/../sdk/core/Azure.Core.TestFramework/src/Azure.Core.TestFramework.csproj diff --git a/eng/Directory.Build.Data.targets b/eng/Directory.Build.Data.targets index 06290af360e3..3f9fdaf688fb 100644 --- a/eng/Directory.Build.Data.targets +++ b/eng/Directory.Build.Data.targets @@ -104,6 +104,8 @@ + + $(MSBuildThisFileDirectory)Packages.Data.props diff --git a/eng/TestFramework.props b/eng/TestFramework.props new file mode 100644 index 000000000000..5e7e20b8b55a --- /dev/null +++ b/eng/TestFramework.props @@ -0,0 +1,6 @@ + + + + + + diff --git a/eng/TestFramework.targets b/eng/TestFramework.targets new file mode 100644 index 000000000000..2ce137b47dc8 --- /dev/null +++ b/eng/TestFramework.targets @@ -0,0 +1,22 @@ + + + + + + SessionRecords + + + <_CopyItems Include="$(OutputPath)\netcoreapp2.1\SessionRecords\**\*.*" /> + + + + + + + diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/AppConfigurationTestEnvironment.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/AppConfigurationTestEnvironment.cs index 7575c6470739..60aecfb7c35b 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/AppConfigurationTestEnvironment.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/AppConfigurationTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Data.AppConfiguration { @@ -14,4 +14,4 @@ public AppConfigurationTestEnvironment() : base("appconfiguration") public string ConnectionString => GetRecordedVariable("APPCONFIGURATION_CONNECTION_STRING"); public string Endpoint => GetRecordedVariable("APPCONFIGURATION_ENDPOINT_STRING"); } -} \ No newline at end of file +} diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/Azure.Data.AppConfiguration.Tests.csproj b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/Azure.Data.AppConfiguration.Tests.csproj index 0a998b8f68fb..555b2b4c1b3d 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/Azure.Data.AppConfiguration.Tests.csproj +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/Azure.Data.AppConfiguration.Tests.csproj @@ -12,9 +12,9 @@ + - diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs index 2e83917324ec..19a413923d2f 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs @@ -7,7 +7,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Tests diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationMockTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationMockTests.cs index 2d24f7b02e06..2a209513b394 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationMockTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationMockTests.cs @@ -14,7 +14,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Tests diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordMatcher.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordMatcher.cs index 7bfbe4a34688..7792b498a2d7 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordMatcher.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordMatcher.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Newtonsoft.Json.Linq; namespace Azure.Data.AppConfiguration.Tests diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordedTestSanitizer.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordedTestSanitizer.cs index cc3a163a56c4..632aa1b16d53 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordedTestSanitizer.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationRecordedTestSanitizer.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Data.AppConfiguration.Tests { diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/CustomHeadersPolicyTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/CustomHeadersPolicyTests.cs index f150a14705e5..69a07c42716d 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/CustomHeadersPolicyTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/CustomHeadersPolicyTests.cs @@ -3,7 +3,7 @@ using System.Diagnostics; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Tests diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SyncTokenPolicyTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SyncTokenPolicyTests.cs index f9f3d0b33951..79eb6d137f5e 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SyncTokenPolicyTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/SyncTokenPolicyTests.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Tests diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample1_HelloWorld.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample1_HelloWorld.cs index 51ca052513c8..5d1e5af692b5 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample1_HelloWorld.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample1_HelloWorld.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Samples diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample2_HelloWorldExtended.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample2_HelloWorldExtended.cs index 57571b862eea..049c744b58ea 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample2_HelloWorldExtended.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample2_HelloWorldExtended.cs @@ -4,7 +4,7 @@ using System; using System.Diagnostics; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using NUnit.Framework.Constraints; diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample3_SetClearReadOnly.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample3_SetClearReadOnly.cs index cdfaf33028c6..14bbe2e27736 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample3_SetClearReadOnly.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample3_SetClearReadOnly.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Samples diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample4_ReadRevisionHistory.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample4_ReadRevisionHistory.cs index 5d974ef8dbaf..02d6d9ba5e67 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample4_ReadRevisionHistory.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample4_ReadRevisionHistory.cs @@ -4,7 +4,7 @@ using System; using System.Diagnostics; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Samples diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample5_GetSettingIfChanged.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample5_GetSettingIfChanged.cs index 4cc8ae638cac..818b39e347c8 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample5_GetSettingIfChanged.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample5_GetSettingIfChanged.cs @@ -3,7 +3,7 @@ using System; using System.Diagnostics; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Samples diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample6_UpdateSettingIfUnchanged.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample6_UpdateSettingIfUnchanged.cs index a6020b12c368..4bf29fbce0b4 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample6_UpdateSettingIfUnchanged.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/Sample6_UpdateSettingIfUnchanged.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Data.AppConfiguration.Samples diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/SampleSnippets.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/SampleSnippets.cs index 63d9343b8794..a08e2efd5fc9 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/SampleSnippets.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/samples/SampleSnippets.cs @@ -3,7 +3,7 @@ using System; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using NUnit.Framework; diff --git a/sdk/core/Azure.Core.TestFramework/Azure.Core.TestFramework.sln b/sdk/core/Azure.Core.TestFramework/Azure.Core.TestFramework.sln new file mode 100644 index 000000000000..4a6591c1acf9 --- /dev/null +++ b/sdk/core/Azure.Core.TestFramework/Azure.Core.TestFramework.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30011.22 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "src\Azure.Core.TestFramework.csproj", "{961FD4FB-3CA1-4B33-B6FD-8396CF9280DF}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {961FD4FB-3CA1-4B33-B6FD-8396CF9280DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {961FD4FB-3CA1-4B33-B6FD-8396CF9280DF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {961FD4FB-3CA1-4B33-B6FD-8396CF9280DF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {961FD4FB-3CA1-4B33-B6FD-8396CF9280DF}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE} + EndGlobalSection +EndGlobal diff --git a/sdk/core/Azure.Core.TestFramework/Directory.Build.props b/sdk/core/Azure.Core.TestFramework/Directory.Build.props new file mode 100644 index 000000000000..2cf19dda8fed --- /dev/null +++ b/sdk/core/Azure.Core.TestFramework/Directory.Build.props @@ -0,0 +1,6 @@ + + + true + + + diff --git a/sdk/core/Azure.Core/tests/TestFramework/AsyncGate.cs b/sdk/core/Azure.Core.TestFramework/src/AsyncGate.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/AsyncGate.cs rename to sdk/core/Azure.Core.TestFramework/src/AsyncGate.cs index 291f5aa011a9..53f2c0445388 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/AsyncGate.cs +++ b/sdk/core/Azure.Core.TestFramework/src/AsyncGate.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class AsyncGate { diff --git a/sdk/core/Azure.Core/tests/TestFramework/AsyncOnlyAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/AsyncOnlyAttribute.cs similarity index 93% rename from sdk/core/Azure.Core/tests/TestFramework/AsyncOnlyAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/AsyncOnlyAttribute.cs index 65fa85b6b760..2fca89d8ae9d 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/AsyncOnlyAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/AsyncOnlyAttribute.cs @@ -4,7 +4,7 @@ using System; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { /// /// Marks that a test should only be executed asynchronously (in a test diff --git a/sdk/core/Azure.Core/tests/TestFramework/AsyncValidatingStream.cs b/sdk/core/Azure.Core.TestFramework/src/AsyncValidatingStream.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/AsyncValidatingStream.cs rename to sdk/core/Azure.Core.TestFramework/src/AsyncValidatingStream.cs index 96b557c3840a..f1144a3b05d4 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/AsyncValidatingStream.cs +++ b/sdk/core/Azure.Core.TestFramework/src/AsyncValidatingStream.cs @@ -6,7 +6,7 @@ using System.Threading; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { internal class AsyncValidatingStream : Stream { diff --git a/sdk/core/Azure.Core.TestFramework/src/Azure.Core.TestFramework.csproj b/sdk/core/Azure.Core.TestFramework/src/Azure.Core.TestFramework.csproj new file mode 100644 index 000000000000..49f96cf34603 --- /dev/null +++ b/sdk/core/Azure.Core.TestFramework/src/Azure.Core.TestFramework.csproj @@ -0,0 +1,18 @@ + + + $(RequiredTargetFrameworks);net461;net47 + + + + + + + + + + + + + + + diff --git a/sdk/core/Azure.Core/tests/TestFramework/ClientDiagnosticListener.cs b/sdk/core/Azure.Core.TestFramework/src/ClientDiagnosticListener.cs old mode 100755 new mode 100644 similarity index 100% rename from sdk/core/Azure.Core/tests/TestFramework/ClientDiagnosticListener.cs rename to sdk/core/Azure.Core.TestFramework/src/ClientDiagnosticListener.cs diff --git a/sdk/core/Azure.Core/tests/TestFramework/ClientTestBase.cs b/sdk/core/Azure.Core.TestFramework/src/ClientTestBase.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/ClientTestBase.cs rename to sdk/core/Azure.Core.TestFramework/src/ClientTestBase.cs index 4d509a87d257..4b4983fc25d2 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/ClientTestBase.cs +++ b/sdk/core/Azure.Core.TestFramework/src/ClientTestBase.cs @@ -9,7 +9,7 @@ using Castle.DynamicProxy; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { [ClientTestFixture] public abstract class ClientTestBase diff --git a/sdk/core/Azure.Core/tests/TestFramework/ClientTestFixtureAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/ClientTestFixtureAttribute.cs old mode 100755 new mode 100644 similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/ClientTestFixtureAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/ClientTestFixtureAttribute.cs index 37d7179196f6..ee17550292eb --- a/sdk/core/Azure.Core/tests/TestFramework/ClientTestFixtureAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/ClientTestFixtureAttribute.cs @@ -9,7 +9,7 @@ using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class ClientTestFixtureAttribute : NUnitAttribute, IFixtureBuilder2, IPreFilter { diff --git a/sdk/core/Azure.Core/tests/TestFramework/DiagnosticScopeValidatingInterceptor.cs b/sdk/core/Azure.Core.TestFramework/src/DiagnosticScopeValidatingInterceptor.cs old mode 100755 new mode 100644 similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/DiagnosticScopeValidatingInterceptor.cs rename to sdk/core/Azure.Core.TestFramework/src/DiagnosticScopeValidatingInterceptor.cs index ad7e28ba461c..b5df97f22936 --- a/sdk/core/Azure.Core/tests/TestFramework/DiagnosticScopeValidatingInterceptor.cs +++ b/sdk/core/Azure.Core.TestFramework/src/DiagnosticScopeValidatingInterceptor.cs @@ -8,7 +8,7 @@ using Azure.Core.Tests; using Castle.DynamicProxy; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class DiagnosticScopeValidatingInterceptor : IInterceptor { diff --git a/sdk/core/Azure.Core.TestFramework/src/EntryRecordModel.cs b/sdk/core/Azure.Core.TestFramework/src/EntryRecordModel.cs new file mode 100644 index 000000000000..e0367a6efb9c --- /dev/null +++ b/sdk/core/Azure.Core.TestFramework/src/EntryRecordModel.cs @@ -0,0 +1,12 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.Core.TestFramework +{ + public enum EntryRecordModel + { + Record, + DontRecord, + RecordWithoutRequestBody + } +} diff --git a/sdk/core/Azure.Core/tests/TestFramework/EnumValuesAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/EnumValuesAttribute.cs old mode 100755 new mode 100644 similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/EnumValuesAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/EnumValuesAttribute.cs index 44e67d18abd5..ea4c9855a968 --- a/sdk/core/Azure.Core/tests/TestFramework/EnumValuesAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/EnumValuesAttribute.cs @@ -9,7 +9,7 @@ using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { /// /// Provides values to NUnit that are public, static, read-only fields and properties of the declared type. @@ -44,7 +44,7 @@ public EnumValuesAttribute(params string[] names) public IEnumerable GetData(IParameterInfo parameter) => GetMembers(parameter.ParameterType, parameter.ParameterInfo?.Name); - internal IEnumerable GetMembers(Type parameterType, string parameterName) + public IEnumerable GetMembers(Type parameterType, string parameterName) { object[] data = GetMembersImpl(parameterType).ToArray(); if (data is null || data.Length == 0) diff --git a/sdk/core/Azure.Core/tests/TestFramework/LiveOnlyAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/LiveOnlyAttribute.cs similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/LiveOnlyAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/LiveOnlyAttribute.cs index 95aabf1b2365..7c486a4a0a89 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/LiveOnlyAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/LiveOnlyAttribute.cs @@ -6,7 +6,7 @@ using NUnit.Framework.Interfaces; using NUnit.Framework.Internal; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { /// /// Attribute on test assemblies, classes, or methods that run only against live resources. diff --git a/sdk/core/Azure.Core/tests/TestFramework/MockRequest.cs b/sdk/core/Azure.Core.TestFramework/src/MockRequest.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/MockRequest.cs rename to sdk/core/Azure.Core.TestFramework/src/MockRequest.cs index a282dfab724c..499d31c373e4 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/MockRequest.cs +++ b/sdk/core/Azure.Core.TestFramework/src/MockRequest.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class MockRequest : Request { diff --git a/sdk/core/Azure.Core/tests/TestFramework/MockResponse.cs b/sdk/core/Azure.Core.TestFramework/src/MockResponse.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/MockResponse.cs rename to sdk/core/Azure.Core.TestFramework/src/MockResponse.cs index 8e190463ad6f..617181d5c137 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/MockResponse.cs +++ b/sdk/core/Azure.Core.TestFramework/src/MockResponse.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Text; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class MockResponse : Response { diff --git a/sdk/core/Azure.Core/tests/TestFramework/MockTransport.cs b/sdk/core/Azure.Core.TestFramework/src/MockTransport.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/MockTransport.cs rename to sdk/core/Azure.Core.TestFramework/src/MockTransport.cs index addb6ccc7177..a5cbd1ce985f 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/MockTransport.cs +++ b/sdk/core/Azure.Core.TestFramework/src/MockTransport.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.Core.Pipeline; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class MockTransport : HttpPipelineTransport { diff --git a/sdk/core/Azure.Core/tests/TestFramework/NonSeekableMemoryStream.cs b/sdk/core/Azure.Core.TestFramework/src/NonSeekableMemoryStream.cs similarity index 88% rename from sdk/core/Azure.Core/tests/TestFramework/NonSeekableMemoryStream.cs rename to sdk/core/Azure.Core.TestFramework/src/NonSeekableMemoryStream.cs index 6a31eb4051f2..08ec0361af04 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/NonSeekableMemoryStream.cs +++ b/sdk/core/Azure.Core.TestFramework/src/NonSeekableMemoryStream.cs @@ -4,9 +4,9 @@ using System; using System.IO; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { - internal class NonSeekableMemoryStream : MemoryStream + public class NonSeekableMemoryStream : MemoryStream { public NonSeekableMemoryStream() { diff --git a/sdk/core/Azure.Core/tests/TestFramework/PlaybackTransport.cs b/sdk/core/Azure.Core.TestFramework/src/PlaybackTransport.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/PlaybackTransport.cs rename to sdk/core/Azure.Core.TestFramework/src/PlaybackTransport.cs index 6ceefaa5010e..206f23e9f113 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/PlaybackTransport.cs +++ b/sdk/core/Azure.Core.TestFramework/src/PlaybackTransport.cs @@ -6,7 +6,7 @@ using System.IO; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class PlaybackTransport : MockTransport { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RandomExtensions.cs b/sdk/core/Azure.Core.TestFramework/src/RandomExtensions.cs similarity index 91% rename from sdk/core/Azure.Core/tests/TestFramework/RandomExtensions.cs rename to sdk/core/Azure.Core.TestFramework/src/RandomExtensions.cs index 804f4d7b402e..b4209fc52708 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RandomExtensions.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RandomExtensions.cs @@ -3,7 +3,7 @@ using System; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public static class RandomExtensions { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordEntry.cs b/sdk/core/Azure.Core.TestFramework/src/RecordEntry.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/RecordEntry.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordEntry.cs index 2703a022dd7b..8ca7a0b8e3ee 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordEntry.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordEntry.cs @@ -8,7 +8,7 @@ using System.Text.Json; using Azure.Core.Pipeline; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class RecordEntry { @@ -277,7 +277,7 @@ public static bool IsTextContentType(IDictionary requestHeader { encoding = null; return TryGetContentType(requestHeaders, out string contentType) && - TestFrameworkContentTypeUtilities.TryGetTextEncoding(contentType, out encoding); + ContentTypeUtilities.TryGetTextEncoding(contentType, out encoding); } } } diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordEntryMessage.cs b/sdk/core/Azure.Core.TestFramework/src/RecordEntryMessage.cs similarity index 90% rename from sdk/core/Azure.Core/tests/TestFramework/RecordEntryMessage.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordEntryMessage.cs index 743f1d91934f..8db7605df80f 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordEntryMessage.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordEntryMessage.cs @@ -6,7 +6,7 @@ using System.Text; using Azure.Core.Pipeline; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class RecordEntryMessage { @@ -30,7 +30,7 @@ public bool IsTextContentType(out Encoding encoding) { encoding = null; return TryGetContentType(out string contentType) && - TestFrameworkContentTypeUtilities.TryGetTextEncoding(contentType, out encoding); + ContentTypeUtilities.TryGetTextEncoding(contentType, out encoding); } public bool TryGetBodyAsText(out string text) diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordMatcher.cs b/sdk/core/Azure.Core.TestFramework/src/RecordMatcher.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/RecordMatcher.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordMatcher.cs index df1f001e8dfb..113bc4625a68 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordMatcher.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordMatcher.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class RecordMatcher { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordSession.cs b/sdk/core/Azure.Core.TestFramework/src/RecordSession.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/RecordSession.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordSession.cs index 8a7b3e45cfd8..8f532c198aa2 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordSession.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordSession.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text.Json; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class RecordSession { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordTransport.cs b/sdk/core/Azure.Core.TestFramework/src/RecordTransport.cs similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/RecordTransport.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordTransport.cs index 147682b9052b..6c819a7e7dc1 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordTransport.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordTransport.cs @@ -11,7 +11,7 @@ using System.Threading.Tasks; using Azure.Core.Pipeline; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class RecordTransport : HttpPipelineTransport { @@ -74,7 +74,7 @@ public override Request CreateRequest() return request; } - internal static RecordEntry CreateEntry(Request request, Response response) + public static RecordEntry CreateEntry(Request request, Response response) { var entry = new RecordEntry { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase.cs b/sdk/core/Azure.Core.TestFramework/src/RecordedTestBase.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordedTestBase.cs index fc22a725bb40..f19eeb56faf8 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordedTestBase.cs @@ -4,7 +4,7 @@ using System.IO; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { [Category("Recorded")] public abstract class RecordedTestBase : ClientTestBase diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase{TEnvironment}.cs b/sdk/core/Azure.Core.TestFramework/src/RecordedTestBase{TEnvironment}.cs similarity index 95% rename from sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase{TEnvironment}.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordedTestBase{TEnvironment}.cs index 2dc70770773a..68be7dad0bf7 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestBase{TEnvironment}.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordedTestBase{TEnvironment}.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public abstract class RecordedTestBase : RecordedTestBase where TEnvironment: TestEnvironment, new() { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestMode.cs b/sdk/core/Azure.Core.TestFramework/src/RecordedTestMode.cs similarity index 87% rename from sdk/core/Azure.Core/tests/TestFramework/RecordedTestMode.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordedTestMode.cs index 5332968be74f..e75ca52faa88 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestMode.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordedTestMode.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public enum RecordedTestMode { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestSanitizer.cs b/sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/RecordedTestSanitizer.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs index 9d7e062e4f8d..5b8e94738c6a 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestSanitizer.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordedTestSanitizer.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class RecordedTestSanitizer { diff --git a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestUtilities.cs b/sdk/core/Azure.Core.TestFramework/src/RecordedTestUtilities.cs similarity index 80% rename from sdk/core/Azure.Core/tests/TestFramework/RecordedTestUtilities.cs rename to sdk/core/Azure.Core.TestFramework/src/RecordedTestUtilities.cs index 9edb59b1ef8f..44d3fae9e3e0 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RecordedTestUtilities.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RecordedTestUtilities.cs @@ -3,13 +3,13 @@ using System; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { - internal static class RecordedTestUtilities + public static class RecordedTestUtilities { private const string ModeEnvironmentVariableName = "AZURE_TEST_MODE"; - internal static RecordedTestMode GetModeFromEnvironment() + public static RecordedTestMode GetModeFromEnvironment() { string modeString = Environment.GetEnvironmentVariable(ModeEnvironmentVariableName); diff --git a/sdk/core/Azure.Core/tests/TestFramework/RunOnlyOnPlatformsAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/RunOnlyOnPlatformsAttribute.cs similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/RunOnlyOnPlatformsAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/RunOnlyOnPlatformsAttribute.cs index f1d4134c9122..00d653b95e42 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/RunOnlyOnPlatformsAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/RunOnlyOnPlatformsAttribute.cs @@ -9,7 +9,7 @@ using NUnit.Framework.Internal; using OSPlatform = System.Runtime.InteropServices.OSPlatform; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { [AttributeUsage(AttributeTargets.Method|AttributeTargets.Class|AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)] public class RunOnlyOnPlatformsAttribute : NUnitAttribute, IApplyToTest diff --git a/sdk/core/Azure.Core/tests/TestFramework/SamplesBase.cs b/sdk/core/Azure.Core.TestFramework/src/SamplesBase.cs similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/SamplesBase.cs rename to sdk/core/Azure.Core.TestFramework/src/SamplesBase.cs index bdefef662b31..0b592b674f4f 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/SamplesBase.cs +++ b/sdk/core/Azure.Core.TestFramework/src/SamplesBase.cs @@ -4,7 +4,7 @@ using System; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { [NonParallelizable] [LiveOnly] diff --git a/sdk/core/Azure.Core/tests/TestFramework/ServiceVersionAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/ServiceVersionAttribute.cs similarity index 91% rename from sdk/core/Azure.Core/tests/TestFramework/ServiceVersionAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/ServiceVersionAttribute.cs index 6032d2fa3193..3b086707d204 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/ServiceVersionAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/ServiceVersionAttribute.cs @@ -4,7 +4,7 @@ using System; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] public class ServiceVersionAttribute : NUnitAttribute diff --git a/sdk/core/Azure.Core/tests/TestFramework/SyncAsyncPolicyTestBase.cs b/sdk/core/Azure.Core.TestFramework/src/SyncAsyncPolicyTestBase.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/SyncAsyncPolicyTestBase.cs rename to sdk/core/Azure.Core.TestFramework/src/SyncAsyncPolicyTestBase.cs index 0cf1936ba95d..a338ce1e42a6 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/SyncAsyncPolicyTestBase.cs +++ b/sdk/core/Azure.Core.TestFramework/src/SyncAsyncPolicyTestBase.cs @@ -7,7 +7,7 @@ using Azure.Core.Pipeline; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { [TestFixture(true)] [TestFixture(false)] diff --git a/sdk/core/Azure.Core/tests/TestFramework/SyncAsyncTestBase.cs b/sdk/core/Azure.Core.TestFramework/src/SyncAsyncTestBase.cs similarity index 96% rename from sdk/core/Azure.Core/tests/TestFramework/SyncAsyncTestBase.cs rename to sdk/core/Azure.Core.TestFramework/src/SyncAsyncTestBase.cs index b52a8db6e8c6..300a590d31b6 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/SyncAsyncTestBase.cs +++ b/sdk/core/Azure.Core.TestFramework/src/SyncAsyncTestBase.cs @@ -4,7 +4,7 @@ using System; using System.IO; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class SyncAsyncTestBase { diff --git a/sdk/core/Azure.Core/tests/TestFramework/SyncOnlyAttribute.cs b/sdk/core/Azure.Core.TestFramework/src/SyncOnlyAttribute.cs similarity index 93% rename from sdk/core/Azure.Core/tests/TestFramework/SyncOnlyAttribute.cs rename to sdk/core/Azure.Core.TestFramework/src/SyncOnlyAttribute.cs index e88ff372e3b3..65ffb3cf984e 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/SyncOnlyAttribute.cs +++ b/sdk/core/Azure.Core.TestFramework/src/SyncOnlyAttribute.cs @@ -4,7 +4,7 @@ using System; using NUnit.Framework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { /// /// Marks that a test should only be executed synchronously (in a test diff --git a/sdk/core/Azure.Core/tests/TestFramework/TaskExtensions.cs b/sdk/core/Azure.Core.TestFramework/src/TaskExtensions.cs similarity index 98% rename from sdk/core/Azure.Core/tests/TestFramework/TaskExtensions.cs rename to sdk/core/Azure.Core.TestFramework/src/TaskExtensions.cs index bf1155073636..3ad64ec22a52 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TaskExtensions.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TaskExtensions.cs @@ -7,7 +7,7 @@ using System.Threading; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public static class TaskExtensions { diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestAsyncEnumerableExtensions.cs b/sdk/core/Azure.Core.TestFramework/src/TestAsyncEnumerableExtensions.cs similarity index 93% rename from sdk/core/Azure.Core/tests/TestFramework/TestAsyncEnumerableExtensions.cs rename to sdk/core/Azure.Core.TestFramework/src/TestAsyncEnumerableExtensions.cs index 2f74e66baa92..57479a93e3b3 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestAsyncEnumerableExtensions.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestAsyncEnumerableExtensions.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public static class TestAsyncEnumerableExtensions { diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestDiagnosticListener.cs b/sdk/core/Azure.Core.TestFramework/src/TestDiagnosticListener.cs old mode 100755 new mode 100644 similarity index 100% rename from sdk/core/Azure.Core/tests/TestFramework/TestDiagnosticListener.cs rename to sdk/core/Azure.Core.TestFramework/src/TestDiagnosticListener.cs diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestEnvironment.Recorded.cs b/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.Recorded.cs similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/TestEnvironment.Recorded.cs rename to sdk/core/Azure.Core.TestFramework/src/TestEnvironment.Recorded.cs index 3e904faa155e..90f3b30b620a 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestEnvironment.Recorded.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.Recorded.cs @@ -3,7 +3,7 @@ using System; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public partial class TestEnvironment { diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestEnvironment.cs b/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/TestEnvironment.cs rename to sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs index 6333b6be7b43..a75e883e23b9 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestEnvironment.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestEnvironment.cs @@ -5,7 +5,7 @@ using System.Threading; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { /// /// Represents the ambient environment in which the test suite is diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestEventListener.cs b/sdk/core/Azure.Core.TestFramework/src/TestEventListener.cs similarity index 97% rename from sdk/core/Azure.Core/tests/TestFramework/TestEventListener.cs rename to sdk/core/Azure.Core.TestFramework/src/TestEventListener.cs index 2bb85b02a297..2d979b5beea7 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestEventListener.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestEventListener.cs @@ -8,7 +8,7 @@ using System.Linq; using Azure.Core.Shared; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class TestEventListener : EventListener { diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestEventListenerExtensions.cs b/sdk/core/Azure.Core.TestFramework/src/TestEventListenerExtensions.cs similarity index 78% rename from sdk/core/Azure.Core/tests/TestFramework/TestEventListenerExtensions.cs rename to sdk/core/Azure.Core.TestFramework/src/TestEventListenerExtensions.cs index ec01223efb14..02741094fdc3 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestEventListenerExtensions.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestEventListenerExtensions.cs @@ -3,9 +3,9 @@ using System.Diagnostics.Tracing; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { - internal static class TestEventListenerExtensions + public static class TestEventListenerExtensions { public static T GetProperty(this EventWrittenEventArgs data, string propName) => (T)data.Payload[data.PayloadNames.IndexOf(propName)]; diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestRandom.cs b/sdk/core/Azure.Core.TestFramework/src/TestRandom.cs similarity index 96% rename from sdk/core/Azure.Core/tests/TestFramework/TestRandom.cs rename to sdk/core/Azure.Core.TestFramework/src/TestRandom.cs index e62d751c0f12..6ade610d3a3a 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestRandom.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestRandom.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Core.Tests.TestFramework { diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestRecording.cs b/sdk/core/Azure.Core.TestFramework/src/TestRecording.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/TestRecording.cs rename to sdk/core/Azure.Core.TestFramework/src/TestRecording.cs index 5c28f5aec1bc..5fb21d24f1de 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestRecording.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestRecording.cs @@ -12,7 +12,7 @@ using Azure.Core.Pipeline; using Azure.Core.Tests.TestFramework; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class TestRecording : IDisposable { diff --git a/sdk/core/Azure.Core/tests/TestFramework/TestRetryHelper.cs b/sdk/core/Azure.Core.TestFramework/src/TestRetryHelper.cs similarity index 96% rename from sdk/core/Azure.Core/tests/TestFramework/TestRetryHelper.cs rename to sdk/core/Azure.Core.TestFramework/src/TestRetryHelper.cs index c10ddf9b54d9..d10b726990fa 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/TestRetryHelper.cs +++ b/sdk/core/Azure.Core.TestFramework/src/TestRetryHelper.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Threading.Tasks; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public static class TestRetryHelper { diff --git a/sdk/core/Azure.Core/tests/TestFramework/UseSyncMethodsInterceptor.cs b/sdk/core/Azure.Core.TestFramework/src/UseSyncMethodsInterceptor.cs similarity index 99% rename from sdk/core/Azure.Core/tests/TestFramework/UseSyncMethodsInterceptor.cs rename to sdk/core/Azure.Core.TestFramework/src/UseSyncMethodsInterceptor.cs index 4fb13f167b72..f3a40f336449 100644 --- a/sdk/core/Azure.Core/tests/TestFramework/UseSyncMethodsInterceptor.cs +++ b/sdk/core/Azure.Core.TestFramework/src/UseSyncMethodsInterceptor.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Castle.DynamicProxy; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { /// /// This interceptor forwards the async call to a sync method call with the same arguments diff --git a/sdk/core/Azure.Core/Azure.Core.All.sln b/sdk/core/Azure.Core/Azure.Core.All.sln index c7431c5f2d8c..3aa3735c4c1e 100644 --- a/sdk/core/Azure.Core/Azure.Core.All.sln +++ b/sdk/core/Azure.Core/Azure.Core.All.sln @@ -1,135 +1,145 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26124.0 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30011.22 MinimumVisualStudioVersion = 15.0.26124.0 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApiCompat", "..\..\..\eng\ApiCompat\ApiCompat.csproj", "{B0D5B7D9-F4E7-4B78-80FF-4189965E11BE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiCompat", "..\..\..\eng\ApiCompat\ApiCompat.csproj", "{B0D5B7D9-F4E7-4B78-80FF-4189965E11BE}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.FormRecognizer", "..\..\formrecognizer\Azure.AI.FormRecognizer\src\Azure.AI.FormRecognizer.csproj", "{8B0A0A34-5E5D-43D6-9F3E-AF1181EA80A9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.AI.FormRecognizer", "..\..\formrecognizer\Azure.AI.FormRecognizer\src\Azure.AI.FormRecognizer.csproj", "{8B0A0A34-5E5D-43D6-9F3E-AF1181EA80A9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.FormRecognizer.Tests", "..\..\formrecognizer\Azure.AI.FormRecognizer\tests\Azure.AI.FormRecognizer.Tests.csproj", "{09101D6D-0E56-41FA-B9C4-07FE54D9E79C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.AI.FormRecognizer.Tests", "..\..\formrecognizer\Azure.AI.FormRecognizer\tests\Azure.AI.FormRecognizer.Tests.csproj", "{09101D6D-0E56-41FA-B9C4-07FE54D9E79C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.TextAnalytics", "..\..\textanalytics\Azure.AI.TextAnalytics\src\Azure.AI.TextAnalytics.csproj", "{1FDE5831-343D-4243-9397-EFD2669DF09F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.AI.TextAnalytics", "..\..\textanalytics\Azure.AI.TextAnalytics\src\Azure.AI.TextAnalytics.csproj", "{1FDE5831-343D-4243-9397-EFD2669DF09F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.TextAnalytics.Tests", "..\..\textanalytics\Azure.AI.TextAnalytics\tests\Azure.AI.TextAnalytics.Tests.csproj", "{FA9FBA87-8000-4022-BD6F-3573516605D9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.AI.TextAnalytics.Tests", "..\..\textanalytics\Azure.AI.TextAnalytics\tests\Azure.AI.TextAnalytics.Tests.csproj", "{FA9FBA87-8000-4022-BD6F-3573516605D9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Core", "src\Azure.Core.csproj", "{70358A67-EB4C-4702-AB51-B373C568051D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "src\Azure.Core.csproj", "{70358A67-EB4C-4702-AB51-B373C568051D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Core.Tests", "tests\Azure.Core.Tests.csproj", "{84491222-6C36-4FA7-BBAE-1FA804129151}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.Tests", "tests\Azure.Core.Tests.csproj", "{84491222-6C36-4FA7-BBAE-1FA804129151}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Data.AppConfiguration", "..\..\appconfiguration\Azure.Data.AppConfiguration\src\Azure.Data.AppConfiguration.csproj", "{0B1C738C-56BE-4F12-8E95-01D04BF422AA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.AppConfiguration", "..\..\appconfiguration\Azure.Data.AppConfiguration\src\Azure.Data.AppConfiguration.csproj", "{0B1C738C-56BE-4F12-8E95-01D04BF422AA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Data.AppConfiguration.Performance", "..\..\appconfiguration\Azure.Data.AppConfiguration\tests\Performance\Azure.Data.AppConfiguration.Performance.csproj", "{A6012886-3943-4ED5-AED4-C48374E8F89E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.AppConfiguration.Performance", "..\..\appconfiguration\Azure.Data.AppConfiguration\tests\Performance\Azure.Data.AppConfiguration.Performance.csproj", "{A6012886-3943-4ED5-AED4-C48374E8F89E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Data.AppConfiguration.Tests", "..\..\appconfiguration\Azure.Data.AppConfiguration\tests\Azure.Data.AppConfiguration.Tests.csproj", "{5213D6F3-1E0A-44E7-A8FD-560DCFF7D22A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.AppConfiguration.Tests", "..\..\appconfiguration\Azure.Data.AppConfiguration\tests\Azure.Data.AppConfiguration.Tests.csproj", "{5213D6F3-1E0A-44E7-A8FD-560DCFF7D22A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Data.Tables", "..\..\tables\Azure.Data.Tables\src\Azure.Data.Tables.csproj", "{11B97615-B09B-4017-9CCA-3E5A59E0B340}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.Tables", "..\..\tables\Azure.Data.Tables\src\Azure.Data.Tables.csproj", "{11B97615-B09B-4017-9CCA-3E5A59E0B340}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Data.Tables.Tests", "..\..\tables\Azure.Data.Tables\tests\Azure.Data.Tables.Tests.csproj", "{5D393C17-DDA4-4C27-B240-0687339E540C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Data.Tables.Tests", "..\..\tables\Azure.Data.Tables\tests\Azure.Data.Tables.Tests.csproj", "{5D393C17-DDA4-4C27-B240-0687339E540C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Extensions.AspNetCore.Configuration.Secrets", "..\..\extensions\Azure.Extensions.AspNetCore.Configuration.Secrets\src\Azure.Extensions.AspNetCore.Configuration.Secrets.csproj", "{F1939322-EBD3-48CE-8794-0AB4F0B53968}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Extensions.AspNetCore.Configuration.Secrets", "..\..\extensions\Azure.Extensions.AspNetCore.Configuration.Secrets\src\Azure.Extensions.AspNetCore.Configuration.Secrets.csproj", "{F1939322-EBD3-48CE-8794-0AB4F0B53968}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Extensions.AspNetCore.Configuration.Secrets.Tests", "..\..\extensions\Azure.Extensions.AspNetCore.Configuration.Secrets\tests\Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj", "{BDE0700F-AE64-4162-A7C3-47B962B19849}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Extensions.AspNetCore.Configuration.Secrets.Tests", "..\..\extensions\Azure.Extensions.AspNetCore.Configuration.Secrets\tests\Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj", "{BDE0700F-AE64-4162-A7C3-47B962B19849}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Extensions.AspNetCore.DataProtection.Blobs", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Blobs\src\Azure.Extensions.AspNetCore.DataProtection.Blobs.csproj", "{F14F43A1-4C87-4955-A0FC-197C74059649}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Extensions.AspNetCore.DataProtection.Blobs", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Blobs\src\Azure.Extensions.AspNetCore.DataProtection.Blobs.csproj", "{F14F43A1-4C87-4955-A0FC-197C74059649}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Blobs\tests\Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj", "{0E07DD8C-D6DF-474F-9D78-263B4972ADC1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Blobs\tests\Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj", "{0E07DD8C-D6DF-474F-9D78-263B4972ADC1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Extensions.AspNetCore.DataProtection.Keys", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Keys\src\Azure.Extensions.AspNetCore.DataProtection.Keys.csproj", "{8AAF3B26-A5FF-4358-A4AD-806581D32D27}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Extensions.AspNetCore.DataProtection.Keys", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Keys\src\Azure.Extensions.AspNetCore.DataProtection.Keys.csproj", "{8AAF3B26-A5FF-4358-A4AD-806581D32D27}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Extensions.AspNetCore.DataProtection.Keys.Tests", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Keys\tests\Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj", "{934FC3EE-55E9-4987-9F33-3A8DA8C3DE09}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Extensions.AspNetCore.DataProtection.Keys.Tests", "..\..\extensions\Azure.Extensions.AspNetCore.DataProtection.Keys\tests\Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj", "{934FC3EE-55E9-4987-9F33-3A8DA8C3DE09}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Identity", "..\..\identity\Azure.Identity\src\Azure.Identity.csproj", "{73FC85A6-796D-461C-9A74-AB80076B5D61}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Identity", "..\..\identity\Azure.Identity\src\Azure.Identity.csproj", "{73FC85A6-796D-461C-9A74-AB80076B5D61}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Identity.Tests", "..\..\identity\Azure.Identity\tests\Azure.Identity.Tests.csproj", "{E77E37C7-6EB0-4F0E-9B27-CCA76C8C4EF7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Identity.Tests", "..\..\identity\Azure.Identity\tests\Azure.Identity.Tests.csproj", "{E77E37C7-6EB0-4F0E-9B27-CCA76C8C4EF7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs", "..\..\eventhub\Azure.Messaging.EventHubs\src\Azure.Messaging.EventHubs.csproj", "{DCAD3C8D-F681-40E1-9C34-AFD962707933}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs", "..\..\eventhub\Azure.Messaging.EventHubs\src\Azure.Messaging.EventHubs.csproj", "{DCAD3C8D-F681-40E1-9C34-AFD962707933}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs.Processor", "..\..\eventhub\Azure.Messaging.EventHubs.Processor\src\Azure.Messaging.EventHubs.Processor.csproj", "{29890EC3-9568-4554-BFDC-9510A48CFAF2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs.Processor", "..\..\eventhub\Azure.Messaging.EventHubs.Processor\src\Azure.Messaging.EventHubs.Processor.csproj", "{29890EC3-9568-4554-BFDC-9510A48CFAF2}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs.Processor.Samples", "..\..\eventhub\Azure.Messaging.EventHubs.Processor\samples\Azure.Messaging.EventHubs.Processor.Samples.csproj", "{21BF1344-3419-41E4-9A2E-0554A4A55A26}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs.Processor.Samples", "..\..\eventhub\Azure.Messaging.EventHubs.Processor\samples\Azure.Messaging.EventHubs.Processor.Samples.csproj", "{21BF1344-3419-41E4-9A2E-0554A4A55A26}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs.Processor.Tests", "..\..\eventhub\Azure.Messaging.EventHubs.Processor\tests\Azure.Messaging.EventHubs.Processor.Tests.csproj", "{978B39BB-B178-4448-BFD0-23FE683273FC}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs.Processor.Tests", "..\..\eventhub\Azure.Messaging.EventHubs.Processor\tests\Azure.Messaging.EventHubs.Processor.Tests.csproj", "{978B39BB-B178-4448-BFD0-23FE683273FC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs.Samples", "..\..\eventhub\Azure.Messaging.EventHubs\samples\Azure.Messaging.EventHubs.Samples.csproj", "{B0CD0622-7D9C-4ED9-8F86-42EC9162B429}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs.Samples", "..\..\eventhub\Azure.Messaging.EventHubs\samples\Azure.Messaging.EventHubs.Samples.csproj", "{B0CD0622-7D9C-4ED9-8F86-42EC9162B429}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs.Shared.Tests", "..\..\eventhub\Azure.Messaging.EventHubs.Shared\tests\Azure.Messaging.EventHubs.Shared.Tests.csproj", "{46C48BB7-449A-40AC-B72A-9E971DA002A6}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs.Shared.Tests", "..\..\eventhub\Azure.Messaging.EventHubs.Shared\tests\Azure.Messaging.EventHubs.Shared.Tests.csproj", "{46C48BB7-449A-40AC-B72A-9E971DA002A6}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.EventHubs.Tests", "..\..\eventhub\Azure.Messaging.EventHubs\tests\Azure.Messaging.EventHubs.Tests.csproj", "{46DE147E-B670-4E2E-B86A-8095E1195C02}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.EventHubs.Tests", "..\..\eventhub\Azure.Messaging.EventHubs\tests\Azure.Messaging.EventHubs.Tests.csproj", "{46DE147E-B670-4E2E-B86A-8095E1195C02}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.ServiceBus", "..\..\servicebus\Azure.Messaging.ServiceBus\src\Azure.Messaging.ServiceBus.csproj", "{39DB3CBE-2F55-41BC-A9FC-A8379F4BC026}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.ServiceBus", "..\..\servicebus\Azure.Messaging.ServiceBus\src\Azure.Messaging.ServiceBus.csproj", "{39DB3CBE-2F55-41BC-A9FC-A8379F4BC026}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Messaging.ServiceBus.Tests", "..\..\servicebus\Azure.Messaging.ServiceBus\tests\Azure.Messaging.ServiceBus.Tests.csproj", "{D77D6145-73F8-4793-AEF1-455A30E8C27A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Messaging.ServiceBus.Tests", "..\..\servicebus\Azure.Messaging.ServiceBus\tests\Azure.Messaging.ServiceBus.Tests.csproj", "{D77D6145-73F8-4793-AEF1-455A30E8C27A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Search.Documents", "..\..\search\Azure.Search.Documents\src\Azure.Search.Documents.csproj", "{CBC20B9B-F3B5-42B7-9C64-11B1837CDFB9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Search.Documents", "..\..\search\Azure.Search.Documents\src\Azure.Search.Documents.csproj", "{CBC20B9B-F3B5-42B7-9C64-11B1837CDFB9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Search.Documents.Tests", "..\..\search\Azure.Search.Documents\tests\Azure.Search.Documents.Tests.csproj", "{8F913583-54E2-477E-863A-F3381A34AF7C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Search.Documents.Tests", "..\..\search\Azure.Search.Documents\tests\Azure.Search.Documents.Tests.csproj", "{8F913583-54E2-477E-863A-F3381A34AF7C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Security.KeyVault.Certificates", "..\..\keyvault\Azure.Security.KeyVault.Certificates\src\Azure.Security.KeyVault.Certificates.csproj", "{C32DCA2F-D330-4539-BC04-D93A40A2C5EF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Security.KeyVault.Certificates", "..\..\keyvault\Azure.Security.KeyVault.Certificates\src\Azure.Security.KeyVault.Certificates.csproj", "{C32DCA2F-D330-4539-BC04-D93A40A2C5EF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Security.KeyVault.Certificates.Tests", "..\..\keyvault\Azure.Security.KeyVault.Certificates\tests\Azure.Security.KeyVault.Certificates.Tests.csproj", "{EA39B883-A283-4259-943E-E4F337661CC1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Security.KeyVault.Certificates.Tests", "..\..\keyvault\Azure.Security.KeyVault.Certificates\tests\Azure.Security.KeyVault.Certificates.Tests.csproj", "{EA39B883-A283-4259-943E-E4F337661CC1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Security.KeyVault.Keys", "..\..\keyvault\Azure.Security.KeyVault.Keys\src\Azure.Security.KeyVault.Keys.csproj", "{F93523DA-07F9-4279-B693-A014921B9256}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Security.KeyVault.Keys", "..\..\keyvault\Azure.Security.KeyVault.Keys\src\Azure.Security.KeyVault.Keys.csproj", "{F93523DA-07F9-4279-B693-A014921B9256}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Security.KeyVault.Keys.Tests", "..\..\keyvault\Azure.Security.KeyVault.Keys\tests\Azure.Security.KeyVault.Keys.Tests.csproj", "{391C6A25-52D6-4850-A63E-D5398043BD01}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Security.KeyVault.Keys.Tests", "..\..\keyvault\Azure.Security.KeyVault.Keys\tests\Azure.Security.KeyVault.Keys.Tests.csproj", "{391C6A25-52D6-4850-A63E-D5398043BD01}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Security.KeyVault.Secrets", "..\..\keyvault\Azure.Security.KeyVault.Secrets\src\Azure.Security.KeyVault.Secrets.csproj", "{359FFA3A-4F5D-411C-8978-28E58F50EEA3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Security.KeyVault.Secrets", "..\..\keyvault\Azure.Security.KeyVault.Secrets\src\Azure.Security.KeyVault.Secrets.csproj", "{359FFA3A-4F5D-411C-8978-28E58F50EEA3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Security.KeyVault.Secrets.Tests", "..\..\keyvault\Azure.Security.KeyVault.Secrets\tests\Azure.Security.KeyVault.Secrets.Tests.csproj", "{6FDFDC72-F582-4B6A-B38C-826EDEC774C8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Security.KeyVault.Secrets.Tests", "..\..\keyvault\Azure.Security.KeyVault.Secrets\tests\Azure.Security.KeyVault.Secrets.Tests.csproj", "{6FDFDC72-F582-4B6A-B38C-826EDEC774C8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs", "..\..\storage\Azure.Storage.Blobs\src\Azure.Storage.Blobs.csproj", "{31E3EA91-AF83-4760-BC36-E4D750151E3B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs", "..\..\storage\Azure.Storage.Blobs\src\Azure.Storage.Blobs.csproj", "{31E3EA91-AF83-4760-BC36-E4D750151E3B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs.Batch", "..\..\storage\Azure.Storage.Blobs.Batch\src\Azure.Storage.Blobs.Batch.csproj", "{D2A082A1-6EA8-438A-B399-2CA30B3BABF0}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs.Batch", "..\..\storage\Azure.Storage.Blobs.Batch\src\Azure.Storage.Blobs.Batch.csproj", "{D2A082A1-6EA8-438A-B399-2CA30B3BABF0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs.Batch.Samples.Tests", "..\..\storage\Azure.Storage.Blobs.Batch\samples\Azure.Storage.Blobs.Batch.Samples.Tests.csproj", "{0AF50FEB-FD58-462B-B929-DA1B14B7CA57}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs.Batch.Samples.Tests", "..\..\storage\Azure.Storage.Blobs.Batch\samples\Azure.Storage.Blobs.Batch.Samples.Tests.csproj", "{0AF50FEB-FD58-462B-B929-DA1B14B7CA57}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs.Batch.Tests", "..\..\storage\Azure.Storage.Blobs.Batch\tests\Azure.Storage.Blobs.Batch.Tests.csproj", "{EA651D86-70EE-4F32-AF1D-E5EB85ACF79F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs.Batch.Tests", "..\..\storage\Azure.Storage.Blobs.Batch\tests\Azure.Storage.Blobs.Batch.Tests.csproj", "{EA651D86-70EE-4F32-AF1D-E5EB85ACF79F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs.Cryptography", "..\..\storage\Azure.Storage.Blobs.Cryptography\src\Azure.Storage.Blobs.Cryptography.csproj", "{908FBA6A-12B2-44DA-BCFB-11750B613FFA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs.Cryptography", "..\..\storage\Azure.Storage.Blobs.Cryptography\src\Azure.Storage.Blobs.Cryptography.csproj", "{908FBA6A-12B2-44DA-BCFB-11750B613FFA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs.Samples.Tests", "..\..\storage\Azure.Storage.Blobs\samples\Azure.Storage.Blobs.Samples.Tests.csproj", "{83DC827C-9AD6-4C76-883F-53AB4A027E82}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs.Samples.Tests", "..\..\storage\Azure.Storage.Blobs\samples\Azure.Storage.Blobs.Samples.Tests.csproj", "{83DC827C-9AD6-4C76-883F-53AB4A027E82}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Blobs.Tests", "..\..\storage\Azure.Storage.Blobs\tests\Azure.Storage.Blobs.Tests.csproj", "{02708856-2D84-47E2-80DD-65A3A31E01C8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Blobs.Tests", "..\..\storage\Azure.Storage.Blobs\tests\Azure.Storage.Blobs.Tests.csproj", "{02708856-2D84-47E2-80DD-65A3A31E01C8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Common", "..\..\storage\Azure.Storage.Common\src\Azure.Storage.Common.csproj", "{D1744885-00F8-4913-9D58-CF5A2DD76868}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Common", "..\..\storage\Azure.Storage.Common\src\Azure.Storage.Common.csproj", "{D1744885-00F8-4913-9D58-CF5A2DD76868}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Common.Samples.Tests", "..\..\storage\Azure.Storage.Common\samples\Azure.Storage.Common.Samples.Tests.csproj", "{064E7FA0-512C-40B3-BCAA-C634B9A02F6F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Common.Samples.Tests", "..\..\storage\Azure.Storage.Common\samples\Azure.Storage.Common.Samples.Tests.csproj", "{064E7FA0-512C-40B3-BCAA-C634B9A02F6F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Common.Tests", "..\..\storage\Azure.Storage.Common\tests\Azure.Storage.Common.Tests.csproj", "{E98573B1-555F-49B2-93E4-2890EA0CBE62}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Common.Tests", "..\..\storage\Azure.Storage.Common\tests\Azure.Storage.Common.Tests.csproj", "{E98573B1-555F-49B2-93E4-2890EA0CBE62}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Files.DataLake", "..\..\storage\Azure.Storage.Files.DataLake\src\Azure.Storage.Files.DataLake.csproj", "{4A1602FC-A0BD-4757-8285-5B20CB7E9A31}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Files.DataLake", "..\..\storage\Azure.Storage.Files.DataLake\src\Azure.Storage.Files.DataLake.csproj", "{4A1602FC-A0BD-4757-8285-5B20CB7E9A31}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Files.DataLake.Samples.Tests", "..\..\storage\Azure.Storage.Files.DataLake\samples\Azure.Storage.Files.DataLake.Samples.Tests.csproj", "{9FFCF6E4-D489-436F-8CCA-C2082398335A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Files.DataLake.Samples.Tests", "..\..\storage\Azure.Storage.Files.DataLake\samples\Azure.Storage.Files.DataLake.Samples.Tests.csproj", "{9FFCF6E4-D489-436F-8CCA-C2082398335A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Files.DataLake.Tests", "..\..\storage\Azure.Storage.Files.DataLake\tests\Azure.Storage.Files.DataLake.Tests.csproj", "{F00FE64A-6302-4FDF-AD3E-F7F2AF08FFFD}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Files.DataLake.Tests", "..\..\storage\Azure.Storage.Files.DataLake\tests\Azure.Storage.Files.DataLake.Tests.csproj", "{F00FE64A-6302-4FDF-AD3E-F7F2AF08FFFD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Files.Shares", "..\..\storage\Azure.Storage.Files.Shares\src\Azure.Storage.Files.Shares.csproj", "{4D2EF5EA-9FC7-4409-BA52-1D37BAD97D59}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Files.Shares", "..\..\storage\Azure.Storage.Files.Shares\src\Azure.Storage.Files.Shares.csproj", "{4D2EF5EA-9FC7-4409-BA52-1D37BAD97D59}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Files.Shares.Samples.Tests", "..\..\storage\Azure.Storage.Files.Shares\samples\Azure.Storage.Files.Shares.Samples.Tests.csproj", "{F5155B12-ADCB-45A1-A604-9336FFC08EAB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Files.Shares.Samples.Tests", "..\..\storage\Azure.Storage.Files.Shares\samples\Azure.Storage.Files.Shares.Samples.Tests.csproj", "{F5155B12-ADCB-45A1-A604-9336FFC08EAB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Files.Shares.Tests", "..\..\storage\Azure.Storage.Files.Shares\tests\Azure.Storage.Files.Shares.Tests.csproj", "{43EFF3A6-D8EE-4F33-B6D3-93F1DA4E03B1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Files.Shares.Tests", "..\..\storage\Azure.Storage.Files.Shares\tests\Azure.Storage.Files.Shares.Tests.csproj", "{43EFF3A6-D8EE-4F33-B6D3-93F1DA4E03B1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Queues", "..\..\storage\Azure.Storage.Queues\src\Azure.Storage.Queues.csproj", "{86E48316-EAD3-4901-A9C6-6978AE59EB1C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Queues", "..\..\storage\Azure.Storage.Queues\src\Azure.Storage.Queues.csproj", "{86E48316-EAD3-4901-A9C6-6978AE59EB1C}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Queues.Samples.Tests", "..\..\storage\Azure.Storage.Queues\samples\Azure.Storage.Queues.Samples.Tests.csproj", "{7A0C12FD-0F97-4C40-A184-72E03E8D756F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Queues.Samples.Tests", "..\..\storage\Azure.Storage.Queues\samples\Azure.Storage.Queues.Samples.Tests.csproj", "{7A0C12FD-0F97-4C40-A184-72E03E8D756F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Storage.Queues.Tests", "..\..\storage\Azure.Storage.Queues\tests\Azure.Storage.Queues.Tests.csproj", "{7E85499D-03D4-44E1-9C6A-D99F1FEE48C0}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Storage.Queues.Tests", "..\..\storage\Azure.Storage.Queues\tests\Azure.Storage.Queues.Tests.csproj", "{7E85499D-03D4-44E1-9C6A-D99F1FEE48C0}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Template", "..\..\template\Azure.Template\src\Azure.Template.csproj", "{E88E757C-C594-4805-9C24-F449DD82FBE3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Template", "..\..\template\Azure.Template\src\Azure.Template.csproj", "{E88E757C-C594-4805-9C24-F449DD82FBE3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Template.Tests", "..\..\template\Azure.Template\tests\Azure.Template.Tests.csproj", "{791987AD-7809-489B-B055-ADD7184CDA2B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Template.Tests", "..\..\template\Azure.Template\tests\Azure.Template.Tests.csproj", "{791987AD-7809-489B-B055-ADD7184CDA2B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IotHubToEventHubsSample", "..\..\..\samples\iothub-connect-to-eventhubs\IotHubToEventHubsSample.csproj", "{68D2295B-3452-46CC-ADD5-30A43CBE0CAB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IotHubToEventHubsSample", "..\..\..\samples\iothub-connect-to-eventhubs\IotHubToEventHubsSample.csproj", "{68D2295B-3452-46CC-ADD5-30A43CBE0CAB}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LineCounter", "..\..\..\samples\linecounter\LineCounter.csproj", "{7F25EFDA-8B55-4962-9839-14AF153D424B}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LineCounter", "..\..\..\samples\linecounter\LineCounter.csproj", "{7F25EFDA-8B55-4962-9839-14AF153D424B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Extensions.Azure", "..\Microsoft.Extensions.Azure\src\Microsoft.Extensions.Azure.csproj", "{CC29346D-107D-4C39-8F1C-6017393AB8D7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.Azure", "..\Microsoft.Extensions.Azure\src\Microsoft.Extensions.Azure.csproj", "{CC29346D-107D-4C39-8F1C-6017393AB8D7}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Extensions.Azure.Samples", "..\Microsoft.Extensions.Azure\samples\Microsoft.Extensions.Azure.Samples.csproj", "{F58ED063-9B27-4A23-B665-26BCDF549383}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.Azure.Samples", "..\Microsoft.Extensions.Azure\samples\Microsoft.Extensions.Azure.Samples.csproj", "{F58ED063-9B27-4A23-B665-26BCDF549383}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Extensions.Azure.Tests", "..\Microsoft.Extensions.Azure\tests\Microsoft.Extensions.Azure.Tests.csproj", "{9326A06D-538C-4D8F-B488-7D5C68864694}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.Azure.Tests", "..\Microsoft.Extensions.Azure\tests\Microsoft.Extensions.Azure.Tests.csproj", "{9326A06D-538C-4D8F-B488-7D5C68864694}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}" EndProject Global + GlobalSection(SharedMSBuildProjectFiles) = preSolution + ..\..\keyvault\Azure.Security.KeyVault.Shared\src\Azure.Security.KeyVault.Shared.projitems*{359ffa3a-4f5d-411c-8978-28e58f50eea3}*SharedItemsImports = 5 + ..\..\keyvault\Azure.Security.KeyVault.Shared\tests\Azure.Security.KeyVault.Shared.Tests.projitems*{391c6a25-52d6-4850-a63e-d5398043bd01}*SharedItemsImports = 5 + ..\..\keyvault\Azure.Security.KeyVault.Shared\tests\Azure.Security.KeyVault.Shared.Tests.projitems*{6fdfdc72-f582-4b6a-b38c-826edec774c8}*SharedItemsImports = 5 + ..\..\keyvault\Azure.Security.KeyVault.Shared\src\Azure.Security.KeyVault.Shared.projitems*{c32dca2f-d330-4539-bc04-d93a40a2c5ef}*SharedItemsImports = 5 + ..\..\keyvault\Azure.Security.KeyVault.Shared\tests\Azure.Security.KeyVault.Shared.Tests.projitems*{ea39b883-a283-4259-943e-e4f337661cc1}*SharedItemsImports = 5 + ..\..\keyvault\Azure.Security.KeyVault.Shared\src\Azure.Security.KeyVault.Shared.projitems*{f93523da-07f9-4279-b693-a014921b9256}*SharedItemsImports = 5 + EndGlobalSection GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|x64 = Debug|x64 @@ -138,9 +148,6 @@ Global Release|x64 = Release|x64 Release|x86 = Release|x86 EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {B0D5B7D9-F4E7-4B78-80FF-4189965E11BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B0D5B7D9-F4E7-4B78-80FF-4189965E11BE}.Debug|Any CPU.Build.0 = Debug|Any CPU @@ -898,5 +905,23 @@ Global {9326A06D-538C-4D8F-B488-7D5C68864694}.Release|x64.Build.0 = Release|Any CPU {9326A06D-538C-4D8F-B488-7D5C68864694}.Release|x86.ActiveCfg = Release|Any CPU {9326A06D-538C-4D8F-B488-7D5C68864694}.Release|x86.Build.0 = Release|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Debug|x64.ActiveCfg = Debug|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Debug|x64.Build.0 = Debug|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Debug|x86.ActiveCfg = Debug|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Debug|x86.Build.0 = Debug|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Release|Any CPU.Build.0 = Release|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Release|x64.ActiveCfg = Release|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Release|x64.Build.0 = Release|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Release|x86.ActiveCfg = Release|Any CPU + {BB8D02AF-F5C3-4D85-8B3E-884BFB820AB3}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {28698129-BD19-41D0-B09C-18A9B9C4A905} EndGlobalSection EndGlobal diff --git a/sdk/core/Azure.Core/src/Shared/ContentTypeUtilities.cs b/sdk/core/Azure.Core/src/Shared/ContentTypeUtilities.cs index af858e7bbd4e..a757e9560039 100644 --- a/sdk/core/Azure.Core/src/Shared/ContentTypeUtilities.cs +++ b/sdk/core/Azure.Core/src/Shared/ContentTypeUtilities.cs @@ -8,13 +8,7 @@ namespace Azure.Core.Pipeline { -#if !TESTFRAMEWORK internal static class ContentTypeUtilities -#else -#pragma warning disable SA1649 // File name should match first type name - internal static class TestFrameworkContentTypeUtilities -#pragma warning restore SA1649 // File name should match first type name -#endif { public static bool TryGetTextEncoding(string contentType, out Encoding encoding) { diff --git a/sdk/core/Azure.Core/tests/Azure.Core.Tests.csproj b/sdk/core/Azure.Core/tests/Azure.Core.Tests.csproj index 6230927b5a0f..962293005e77 100644 --- a/sdk/core/Azure.Core/tests/Azure.Core.Tests.csproj +++ b/sdk/core/Azure.Core/tests/Azure.Core.Tests.csproj @@ -2,7 +2,7 @@ {84491222-6C36-4FA7-BBAE-1FA804129151} $(RequiredTargetFrameworks) - $(DefineConstants);TESTFRAMEWORK;HAS_INTERNALS_VISIBLE_CORE + $(DefineConstants);HAS_INTERNALS_VISIBLE_CORE true @@ -18,13 +18,13 @@ + - diff --git a/sdk/core/Azure.Core/tests/AzureEventSourceListenerTests.cs b/sdk/core/Azure.Core/tests/AzureEventSourceListenerTests.cs index 77a473fe19f0..65fa71b1c697 100644 --- a/sdk/core/Azure.Core/tests/AzureEventSourceListenerTests.cs +++ b/sdk/core/Azure.Core/tests/AzureEventSourceListenerTests.cs @@ -6,7 +6,7 @@ using System.Diagnostics.Tracing; using System.Linq; using Azure.Core.Diagnostics; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/AzureKeyCredentialPolicyTests.cs b/sdk/core/Azure.Core/tests/AzureKeyCredentialPolicyTests.cs index 8b527f8d0375..e4288ed01873 100644 --- a/sdk/core/Azure.Core/tests/AzureKeyCredentialPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/AzureKeyCredentialPolicyTests.cs @@ -4,7 +4,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using NUnit.Framework.Internal; diff --git a/sdk/core/Azure.Core/tests/BearerTokenAuthenticationPolicyTests.cs b/sdk/core/Azure.Core/tests/BearerTokenAuthenticationPolicyTests.cs index 28e51d0a4270..9a0c3d110d5e 100644 --- a/sdk/core/Azure.Core/tests/BearerTokenAuthenticationPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/BearerTokenAuthenticationPolicyTests.cs @@ -6,7 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Moq; using NUnit.Framework; diff --git a/sdk/core/Azure.Core/tests/ClientRequestIdPolicyTests.cs b/sdk/core/Azure.Core/tests/ClientRequestIdPolicyTests.cs index 1f360c05af9b..ef6269c2f001 100644 --- a/sdk/core/Azure.Core/tests/ClientRequestIdPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/ClientRequestIdPolicyTests.cs @@ -5,7 +5,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Moq; using NUnit.Framework; diff --git a/sdk/core/Azure.Core/tests/ClientTestBaseDiagnosticScopeTests.cs b/sdk/core/Azure.Core/tests/ClientTestBaseDiagnosticScopeTests.cs index 46e4c19f385d..d204107997c7 100644 --- a/sdk/core/Azure.Core/tests/ClientTestBaseDiagnosticScopeTests.cs +++ b/sdk/core/Azure.Core/tests/ClientTestBaseDiagnosticScopeTests.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Azure.Core.Diagnostics; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/ClientTestBaseMultiVersionTests.cs b/sdk/core/Azure.Core/tests/ClientTestBaseMultiVersionTests.cs index e3612ceb527c..c744d1111757 100644 --- a/sdk/core/Azure.Core/tests/ClientTestBaseMultiVersionTests.cs +++ b/sdk/core/Azure.Core/tests/ClientTestBaseMultiVersionTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/ClientTestBaseTests.cs b/sdk/core/Azure.Core/tests/ClientTestBaseTests.cs index 3014388db0e1..e394d109e73f 100644 --- a/sdk/core/Azure.Core/tests/ClientTestBaseTests.cs +++ b/sdk/core/Azure.Core/tests/ClientTestBaseTests.cs @@ -4,7 +4,7 @@ using System; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/EnumValuesAttributeTests.cs b/sdk/core/Azure.Core/tests/EnumValuesAttributeTests.cs index 176b0625e929..5ebebb46396c 100644 --- a/sdk/core/Azure.Core/tests/EnumValuesAttributeTests.cs +++ b/sdk/core/Azure.Core/tests/EnumValuesAttributeTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using NUnit.Framework.Internal; diff --git a/sdk/core/Azure.Core/tests/EventSourceTests.cs b/sdk/core/Azure.Core/tests/EventSourceTests.cs index 2f28e9f4c76e..56be6e02e886 100644 --- a/sdk/core/Azure.Core/tests/EventSourceTests.cs +++ b/sdk/core/Azure.Core/tests/EventSourceTests.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Azure.Core.Diagnostics; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/ExponentialPolicyTest.cs b/sdk/core/Azure.Core/tests/ExponentialPolicyTest.cs index 904d37f8da69..37ea54766612 100644 --- a/sdk/core/Azure.Core/tests/ExponentialPolicyTest.cs +++ b/sdk/core/Azure.Core/tests/ExponentialPolicyTest.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/FailedResponseExceptionTests.cs b/sdk/core/Azure.Core/tests/FailedResponseExceptionTests.cs index 7f4c88f17064..3c206068d2d0 100644 --- a/sdk/core/Azure.Core/tests/FailedResponseExceptionTests.cs +++ b/sdk/core/Azure.Core/tests/FailedResponseExceptionTests.cs @@ -7,7 +7,7 @@ using System.Runtime.Serialization; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/FixedRetryPolicyTests.cs b/sdk/core/Azure.Core/tests/FixedRetryPolicyTests.cs index 826fb0671a68..8ebc096990bf 100644 --- a/sdk/core/Azure.Core/tests/FixedRetryPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/FixedRetryPolicyTests.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/HeadersTests.cs b/sdk/core/Azure.Core/tests/HeadersTests.cs index 182307cc0390..b7b85afa658c 100644 --- a/sdk/core/Azure.Core/tests/HeadersTests.cs +++ b/sdk/core/Azure.Core/tests/HeadersTests.cs @@ -4,7 +4,7 @@ using System.Text; using System.Text.RegularExpressions; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/HttpPipelineBuilderTest.cs b/sdk/core/Azure.Core/tests/HttpPipelineBuilderTest.cs index 7adcde29522d..a0c49a859acd 100644 --- a/sdk/core/Azure.Core/tests/HttpPipelineBuilderTest.cs +++ b/sdk/core/Azure.Core/tests/HttpPipelineBuilderTest.cs @@ -8,7 +8,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Moq; using NUnit.Framework; diff --git a/sdk/core/Azure.Core/tests/HttpPipelineMessageTest.cs b/sdk/core/Azure.Core/tests/HttpPipelineMessageTest.cs index 30fbf60c0be8..1831a0ded763 100644 --- a/sdk/core/Azure.Core/tests/HttpPipelineMessageTest.cs +++ b/sdk/core/Azure.Core/tests/HttpPipelineMessageTest.cs @@ -4,7 +4,7 @@ using System; using System.IO; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Moq; using NUnit.Framework; diff --git a/sdk/core/Azure.Core/tests/HttpPipelineTests.cs b/sdk/core/Azure.Core/tests/HttpPipelineTests.cs index 51a1a641a603..7582b41237b2 100644 --- a/sdk/core/Azure.Core/tests/HttpPipelineTests.cs +++ b/sdk/core/Azure.Core/tests/HttpPipelineTests.cs @@ -3,7 +3,7 @@ using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/OperationTests.cs b/sdk/core/Azure.Core/tests/OperationTests.cs index 6c82f2950102..71aa77665920 100644 --- a/sdk/core/Azure.Core/tests/OperationTests.cs +++ b/sdk/core/Azure.Core/tests/OperationTests.cs @@ -5,7 +5,7 @@ using System.Threading; using System.Threading.Tasks; using Azure; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Core.Tests.TestFramework; using NUnit; using NUnit.Framework; diff --git a/sdk/core/Azure.Core/tests/PipelineTests.cs b/sdk/core/Azure.Core/tests/PipelineTests.cs index b3102a9b0150..5381f6e392ff 100644 --- a/sdk/core/Azure.Core/tests/PipelineTests.cs +++ b/sdk/core/Azure.Core/tests/PipelineTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Threading; diff --git a/sdk/core/Azure.Core/tests/RecordSessionTests.cs b/sdk/core/Azure.Core/tests/RecordSessionTests.cs index 1416dc5b9f4c..3f234c601b1f 100644 --- a/sdk/core/Azure.Core/tests/RecordSessionTests.cs +++ b/sdk/core/Azure.Core/tests/RecordSessionTests.cs @@ -7,7 +7,7 @@ using System.Text; using System.Text.Json; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Moq; using NUnit.Framework; diff --git a/sdk/core/Azure.Core/tests/RequestActivityPolicyTests.cs b/sdk/core/Azure.Core/tests/RequestActivityPolicyTests.cs index 92cc73058cdc..47456aed9d43 100644 --- a/sdk/core/Azure.Core/tests/RequestActivityPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/RequestActivityPolicyTests.cs @@ -6,7 +6,7 @@ using System.Diagnostics; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/ResponseBodyPolicyTests.cs b/sdk/core/Azure.Core/tests/ResponseBodyPolicyTests.cs index 5191046703d1..fdd22e248c7e 100644 --- a/sdk/core/Azure.Core/tests/ResponseBodyPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/ResponseBodyPolicyTests.cs @@ -7,7 +7,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/ResponseClassifierTests.cs b/sdk/core/Azure.Core/tests/ResponseClassifierTests.cs index 19f182e464b9..5a2eaad6ecde 100644 --- a/sdk/core/Azure.Core/tests/ResponseClassifierTests.cs +++ b/sdk/core/Azure.Core/tests/ResponseClassifierTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/ResponseTests.cs b/sdk/core/Azure.Core/tests/ResponseTests.cs index 38eb58d37070..8e4a5f03585b 100644 --- a/sdk/core/Azure.Core/tests/ResponseTests.cs +++ b/sdk/core/Azure.Core/tests/ResponseTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/RetriableStreamTests.cs b/sdk/core/Azure.Core/tests/RetriableStreamTests.cs index f779df934bbd..1485c5f111e8 100644 --- a/sdk/core/Azure.Core/tests/RetriableStreamTests.cs +++ b/sdk/core/Azure.Core/tests/RetriableStreamTests.cs @@ -6,7 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/RetryPolicyTestBase.cs b/sdk/core/Azure.Core/tests/RetryPolicyTestBase.cs index ea31d90422f5..04c68ada8992 100644 --- a/sdk/core/Azure.Core/tests/RetryPolicyTestBase.cs +++ b/sdk/core/Azure.Core/tests/RetryPolicyTestBase.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Azure.Core.Diagnostics; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/TelemetryPolicyTests.cs b/sdk/core/Azure.Core/tests/TelemetryPolicyTests.cs index 47f9694b5fe4..3fb0672708c5 100644 --- a/sdk/core/Azure.Core/tests/TelemetryPolicyTests.cs +++ b/sdk/core/Azure.Core/tests/TelemetryPolicyTests.cs @@ -5,7 +5,7 @@ using System.Runtime.InteropServices; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/TestEnvironmentTests.cs b/sdk/core/Azure.Core/tests/TestEnvironmentTests.cs index 5406f64008ad..ce70cc6633b9 100644 --- a/sdk/core/Azure.Core/tests/TestEnvironmentTests.cs +++ b/sdk/core/Azure.Core/tests/TestEnvironmentTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Core.Tests diff --git a/sdk/core/Azure.Core/tests/TestFramework.props b/sdk/core/Azure.Core/tests/TestFramework.props deleted file mode 100644 index 0d04b43a60a8..000000000000 --- a/sdk/core/Azure.Core/tests/TestFramework.props +++ /dev/null @@ -1,38 +0,0 @@ - - - SessionRecords - $(DefineConstants);TESTFRAMEWORK - - - - - - - - - - - - - - - - - - - - - <_CopyItems Include="$(OutputPath)\netcoreapp2.1\SessionRecords\**\*.*" /> - - - - - - - diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Azure.Messaging.EventHubs.Processor.Tests.csproj b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Azure.Messaging.EventHubs.Processor.Tests.csproj index 223f6c62db93..2d4629bb7524 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Azure.Messaging.EventHubs.Processor.Tests.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Azure.Messaging.EventHubs.Processor.Tests.csproj @@ -25,6 +25,7 @@ + @@ -32,6 +33,4 @@ - - diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Infrastructure/StorageTestEnvironment.cs b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Infrastructure/StorageTestEnvironment.cs index eb5c73b6088e..98b5edfedf62 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Infrastructure/StorageTestEnvironment.cs +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Infrastructure/StorageTestEnvironment.cs @@ -4,7 +4,7 @@ using System; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Messaging.EventHubs.Processor.Tests { diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/Testing/EventHubsTestEnvironment.cs b/sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/Testing/EventHubsTestEnvironment.cs index 55bef4053d03..6691ae45d3c7 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/Testing/EventHubsTestEnvironment.cs +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/Testing/EventHubsTestEnvironment.cs @@ -4,7 +4,7 @@ using System; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Messaging.EventHubs.Core; namespace Azure.Messaging.EventHubs.Tests diff --git a/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj b/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj index 323368588a80..9f2ccf0b4050 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs.Shared/tests/Azure.Messaging.EventHubs.Shared.Tests.csproj @@ -20,6 +20,7 @@ + @@ -61,7 +62,4 @@ - - - diff --git a/sdk/eventhub/Azure.Messaging.EventHubs/tests/Azure.Messaging.EventHubs.Tests.csproj b/sdk/eventhub/Azure.Messaging.EventHubs/tests/Azure.Messaging.EventHubs.Tests.csproj index 0e5f7c4a148a..56b09260efbd 100755 --- a/sdk/eventhub/Azure.Messaging.EventHubs/tests/Azure.Messaging.EventHubs.Tests.csproj +++ b/sdk/eventhub/Azure.Messaging.EventHubs/tests/Azure.Messaging.EventHubs.Tests.csproj @@ -29,13 +29,12 @@ + - - - + diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj b/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj index b2ff15e5f882..e4ca9cce6eea 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj +++ b/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/Azure.Extensions.AspNetCore.Configuration.Secrets.Tests.csproj @@ -5,8 +5,6 @@ true - - @@ -17,6 +15,7 @@ + diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/AzureKeyVaultConfigurationTests.cs b/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/AzureKeyVaultConfigurationTests.cs index 471228ce8058..e646dd15870a 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/AzureKeyVaultConfigurationTests.cs +++ b/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/AzureKeyVaultConfigurationTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Secrets; using Microsoft.Extensions.Primitives; using Moq; diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationTestEnvironment.cs b/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationTestEnvironment.cs index 34eb89b41d8f..f6f2d462dca4 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationTestEnvironment.cs +++ b/sdk/extensions/Azure.Extensions.AspNetCore.Configuration.Secrets/tests/ConfigurationTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Extensions.AspNetCore.Configuration.Secrets.Tests { diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj index c1cb26104475..b6c6e8702679 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj +++ b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests.csproj @@ -5,8 +5,6 @@ true - - @@ -17,6 +15,7 @@ + diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/AzureBlobXmlRepositoryTests.cs b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/AzureBlobXmlRepositoryTests.cs index 470b000c8a2d..9a8ae4d4be1d 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/AzureBlobXmlRepositoryTests.cs +++ b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/AzureBlobXmlRepositoryTests.cs @@ -10,7 +10,7 @@ using System.Xml.Linq; using Azure; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/DataProtectionTestEnvironment.cs b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/DataProtectionTestEnvironment.cs index 8f4733328267..66c00024c68b 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/DataProtectionTestEnvironment.cs +++ b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Blobs/tests/DataProtectionTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Extensions.AspNetCore.DataProtection.Blobs.Tests { diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj index 9f98a969a561..1ac847ca22e2 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj +++ b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/Azure.Extensions.AspNetCore.DataProtection.Keys.Tests.csproj @@ -5,8 +5,6 @@ true - - @@ -17,6 +15,7 @@ + diff --git a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/DataProtectionTestEnvironment.cs b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/DataProtectionTestEnvironment.cs index 220861a69fd0..638231462ba6 100644 --- a/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/DataProtectionTestEnvironment.cs +++ b/sdk/extensions/Azure.Extensions.AspNetCore.DataProtection.Keys/tests/DataProtectionTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Extensions.AspNetCore.DataProtection.Keys.Tests { diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Azure.AI.FormRecognizer.Tests.csproj b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Azure.AI.FormRecognizer.Tests.csproj index 00d8122d937d..ef75eefaa9c8 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Azure.AI.FormRecognizer.Tests.csproj +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Azure.AI.FormRecognizer.Tests.csproj @@ -2,10 +2,8 @@ $(RequiredTargetFrameworks) - - - - + + @@ -18,6 +16,7 @@ + diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs index 49e1fc99d80d..868ad0f4f5ba 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientLiveTests.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using NUnit.Framework.Internal; diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs index 06275ff58cf9..d9a6f868b5fd 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormRecognizerClient/FormRecognizerClientTests.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Tests diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientLiveTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientLiveTests.cs index bd51e0340c5a..b5483b114314 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientLiveTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientLiveTests.cs @@ -5,7 +5,7 @@ using System.Linq; using System.Threading.Tasks; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Tests diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientTests.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientTests.cs index b2c942aca0ac..cf803d758012 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientTests.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/FormTrainingClient/FormTrainingClientTests.cs @@ -3,7 +3,7 @@ using System; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Tests diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordMatcher.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordMatcher.cs index cead8717689e..3d4bb72c9c93 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordMatcher.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordMatcher.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.AI.FormRecognizer.Tests { diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs index 93101a1f1f5d..d64742b48b52 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerRecordedTestSanitizer.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System.Collections.Generic; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.AI.FormRecognizer.Tests { diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerTestEnvironment.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerTestEnvironment.cs index b7d0b6c6d120..095ba7e2f9c9 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerTestEnvironment.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/Infrastructure/FormRecognizerTestEnvironment.cs @@ -4,7 +4,7 @@ using System; using System.IO; using System.Reflection; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.AI.FormRecognizer.Models; namespace Azure.AI.FormRecognizer.Tests diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromFile.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromFile.cs index fbe16b1ff5a1..1283395f93db 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromFile.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromFile.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromUri.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromUri.cs index 4aa7e5ed48e7..3eb39f78eb7a 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromUri.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample1_RecognizeContentFromUri.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromFile.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromFile.cs index 26fd94a5e163..0b503117c331 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromFile.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromFile.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromUri.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromUri.cs index fb6506e207d0..6fee8e1fd14a 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromUri.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample2_RecognizeReceiptsFromUri.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromFile.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromFile.cs index b23d801c3932..811be863076b 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromFile.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromFile.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromUri.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromUri.cs index 7a30a1bb0278..3c9ca4eae00b 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromUri.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample3_RecognizeCustomFormsFromUri.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample4_TrainModelWithForms.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample4_TrainModelWithForms.cs index 585217f18f14..ef1f5cad98fe 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample4_TrainModelWithForms.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample4_TrainModelWithForms.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Tests; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample5_TrainModelWithFormsAndLabels.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample5_TrainModelWithFormsAndLabels.cs index 00979e0a5210..6867b997e32b 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample5_TrainModelWithFormsAndLabels.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample5_TrainModelWithFormsAndLabels.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Tests; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModels.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModels.cs index 534dba9e9c0a..8844c867e75a 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModels.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModels.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Tests; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModelsAsync.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModelsAsync.cs index 2f5b05f39e91..1c2bccbd3e45 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModelsAsync.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/Sample6_ManageCustomModelsAsync.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using Azure.AI.FormRecognizer.Tests; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/SampleSnippets.cs b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/SampleSnippets.cs index 249fe826cc7a..980221fe3b20 100644 --- a/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/SampleSnippets.cs +++ b/sdk/formrecognizer/Azure.AI.FormRecognizer/tests/samples/SampleSnippets.cs @@ -8,7 +8,7 @@ using Azure.AI.FormRecognizer.Models; using Azure.AI.FormRecognizer.Tests; using Azure.AI.FormRecognizer.Training; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.FormRecognizer.Samples diff --git a/sdk/identity/Azure.Identity/tests/AuthorizationCodeCredentialTests.cs b/sdk/identity/Azure.Identity/tests/AuthorizationCodeCredentialTests.cs index f6ab99532d85..73d50c227040 100644 --- a/sdk/identity/Azure.Identity/tests/AuthorizationCodeCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/AuthorizationCodeCredentialTests.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Identity.Tests diff --git a/sdk/identity/Azure.Identity/tests/Azure.Identity.Tests.csproj b/sdk/identity/Azure.Identity/tests/Azure.Identity.Tests.csproj index 311c5021830a..a40932909f5d 100644 --- a/sdk/identity/Azure.Identity/tests/Azure.Identity.Tests.csproj +++ b/sdk/identity/Azure.Identity/tests/Azure.Identity.Tests.csproj @@ -14,10 +14,9 @@ - - - + + diff --git a/sdk/identity/Azure.Identity/tests/AzureCliCredentialTests.cs b/sdk/identity/Azure.Identity/tests/AzureCliCredentialTests.cs index 24fc566545df..f55def36b4be 100644 --- a/sdk/identity/Azure.Identity/tests/AzureCliCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/AzureCliCredentialTests.cs @@ -6,7 +6,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/AzureIdentityEventSourceTests.cs b/sdk/identity/Azure.Identity/tests/AzureIdentityEventSourceTests.cs index b7500e174522..33d1c19199f6 100644 --- a/sdk/identity/Azure.Identity/tests/AzureIdentityEventSourceTests.cs +++ b/sdk/identity/Azure.Identity/tests/AzureIdentityEventSourceTests.cs @@ -6,7 +6,7 @@ using System.Security.Cryptography.X509Certificates; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using Microsoft.Identity.Client; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/ClientCertificateCredentialTests.cs b/sdk/identity/Azure.Identity/tests/ClientCertificateCredentialTests.cs index d971f47005ed..b37207a23a41 100644 --- a/sdk/identity/Azure.Identity/tests/ClientCertificateCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/ClientCertificateCredentialTests.cs @@ -10,7 +10,7 @@ using System.Text.Json; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/ClientSecretCredentialTests.cs b/sdk/identity/Azure.Identity/tests/ClientSecretCredentialTests.cs index 1fa4c796c456..5a2d399fc068 100644 --- a/sdk/identity/Azure.Identity/tests/ClientSecretCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/ClientSecretCredentialTests.cs @@ -7,7 +7,7 @@ using System.Text; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using Moq; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/DefaultAzureCredentialTests.cs b/sdk/identity/Azure.Identity/tests/DefaultAzureCredentialTests.cs index 864f09c51383..cf0f0863eb37 100644 --- a/sdk/identity/Azure.Identity/tests/DefaultAzureCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/DefaultAzureCredentialTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using Moq; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/DeviceCodeCredentialTests.cs b/sdk/identity/Azure.Identity/tests/DeviceCodeCredentialTests.cs index 81b534cdbe6f..7f2344a9dd4d 100644 --- a/sdk/identity/Azure.Identity/tests/DeviceCodeCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/DeviceCodeCredentialTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/identity/Azure.Identity/tests/EnvironmentCredentialProviderTests.cs b/sdk/identity/Azure.Identity/tests/EnvironmentCredentialProviderTests.cs index 7dc94840ad29..66ab500c36ae 100644 --- a/sdk/identity/Azure.Identity/tests/EnvironmentCredentialProviderTests.cs +++ b/sdk/identity/Azure.Identity/tests/EnvironmentCredentialProviderTests.cs @@ -5,7 +5,7 @@ using System; using System.Reflection; using NUnit.Framework; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using System.Threading.Tasks; diff --git a/sdk/identity/Azure.Identity/tests/IdentityRecordedTestSanitizer.cs b/sdk/identity/Azure.Identity/tests/IdentityRecordedTestSanitizer.cs index e4fb5af6b63d..9b188aafa4c3 100644 --- a/sdk/identity/Azure.Identity/tests/IdentityRecordedTestSanitizer.cs +++ b/sdk/identity/Azure.Identity/tests/IdentityRecordedTestSanitizer.cs @@ -7,7 +7,7 @@ using System.Text; using System.Text.Json; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Identity.Tests { diff --git a/sdk/identity/Azure.Identity/tests/IdentityTestEnvironment.cs b/sdk/identity/Azure.Identity/tests/IdentityTestEnvironment.cs index 803a3c06daa9..eb9c00aafcd3 100644 --- a/sdk/identity/Azure.Identity/tests/IdentityTestEnvironment.cs +++ b/sdk/identity/Azure.Identity/tests/IdentityTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Identity.Tests { diff --git a/sdk/identity/Azure.Identity/tests/InteractiveBrowserCredentialTests.cs b/sdk/identity/Azure.Identity/tests/InteractiveBrowserCredentialTests.cs index b534351e7bd2..ca313354c5e0 100644 --- a/sdk/identity/Azure.Identity/tests/InteractiveBrowserCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/InteractiveBrowserCredentialTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using Microsoft.Identity.Client; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/LightweightPcks8DecoderTests.cs b/sdk/identity/Azure.Identity/tests/LightweightPcks8DecoderTests.cs index 8874a20c0a18..87b185eba4cd 100644 --- a/sdk/identity/Azure.Identity/tests/LightweightPcks8DecoderTests.cs +++ b/sdk/identity/Azure.Identity/tests/LightweightPcks8DecoderTests.cs @@ -7,7 +7,7 @@ using System.Security.Cryptography.X509Certificates; using System.Text; using System.Text.RegularExpressions; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Identity.Tests diff --git a/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialImdsLiveTests.cs b/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialImdsLiveTests.cs index e478c9d3dbd3..d68e81a78ca8 100644 --- a/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialImdsLiveTests.cs +++ b/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialImdsLiveTests.cs @@ -6,7 +6,7 @@ using System.Reflection; using System.Text; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using Azure.Security.KeyVault.Secrets; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialLiveTests.cs b/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialLiveTests.cs index c8c9a6395fb1..6045b92df12c 100644 --- a/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialLiveTests.cs +++ b/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialLiveTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System.Threading.Tasks; using Azure.Core; diff --git a/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs b/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs index 56019d434b2e..48a2830d9908 100644 --- a/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/ManagedIdentityCredentialTests.cs @@ -8,7 +8,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/MockExtensions.cs b/sdk/identity/Azure.Identity/tests/MockExtensions.cs index c00310b55208..3c79a7bef744 100644 --- a/sdk/identity/Azure.Identity/tests/MockExtensions.cs +++ b/sdk/identity/Azure.Identity/tests/MockExtensions.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using System; using System.Collections.Generic; using System.Text; diff --git a/sdk/identity/Azure.Identity/tests/SharedTokenCacheCredentialTests.cs b/sdk/identity/Azure.Identity/tests/SharedTokenCacheCredentialTests.cs index 449d5ced97b6..e503306ecf0e 100644 --- a/sdk/identity/Azure.Identity/tests/SharedTokenCacheCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/SharedTokenCacheCredentialTests.cs @@ -4,7 +4,7 @@ using System; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using Microsoft.Identity.Client; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/TokenCredentialOptionsTests.cs b/sdk/identity/Azure.Identity/tests/TokenCredentialOptionsTests.cs index 002d4f6b0108..3c59877de207 100644 --- a/sdk/identity/Azure.Identity/tests/TokenCredentialOptionsTests.cs +++ b/sdk/identity/Azure.Identity/tests/TokenCredentialOptionsTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Identity.Tests diff --git a/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialLiveTests.cs b/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialLiveTests.cs index 0a054affbfce..7e5dbae1e50b 100644 --- a/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialLiveTests.cs +++ b/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialLiveTests.cs @@ -6,7 +6,7 @@ using System.Reflection; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Microsoft.Identity.Client; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialTests.cs b/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialTests.cs index c1a4e77c204a..1107664f9b36 100644 --- a/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/UsernamePasswordCredentialTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity.Tests.Mock; using NUnit.Framework; using System; diff --git a/sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs b/sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs index b72a38461d1e..edcb1223ad72 100644 --- a/sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs +++ b/sdk/identity/Azure.Identity/tests/VisualStudioCodeCredentialLiveTests.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Microsoft.Identity.Client; using NUnit.Framework; diff --git a/sdk/identity/Azure.Identity/tests/VisualStudioCredentialTests.cs b/sdk/identity/Azure.Identity/tests/VisualStudioCredentialTests.cs index 694fd909b1b2..6f6cec5a96fa 100644 --- a/sdk/identity/Azure.Identity/tests/VisualStudioCredentialTests.cs +++ b/sdk/identity/Azure.Identity/tests/VisualStudioCredentialTests.cs @@ -9,7 +9,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Identity.Tests diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/Azure.Security.KeyVault.Certificates.Tests.csproj b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/Azure.Security.KeyVault.Certificates.Tests.csproj index 64f82796f7f7..60289b2748f5 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/Azure.Security.KeyVault.Certificates.Tests.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/Azure.Security.KeyVault.Certificates.Tests.csproj @@ -4,7 +4,6 @@ $(RequiredTargetFrameworks) - @@ -25,6 +24,7 @@ + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientLiveTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientLiveTests.cs index 67ed62beb4df..416b0d1ceb92 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientLiveTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientLiveTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Asn1.Pkcs; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientTests.cs index a1b2fb793c67..32ac22085ca7 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificateClientTests.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificatesTestBase.cs b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificatesTestBase.cs index 9c05fd83707e..fb241c8269db 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificatesTestBase.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificatesTestBase.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Tests; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SampleFixture.cs b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SampleFixture.cs index a0616b0a7a2f..81cd0af95f38 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SampleFixture.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SampleFixture.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Tests; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/Azure.Security.KeyVault.Keys.Tests.csproj b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/Azure.Security.KeyVault.Keys.Tests.csproj index b7b68d929a5e..6a297cf21d46 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/Azure.Security.KeyVault.Keys.Tests.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/Azure.Security.KeyVault.Keys.Tests.csproj @@ -5,7 +5,6 @@ $(RequiredTargetFrameworks);net461;net47 - @@ -19,6 +18,7 @@ + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientLiveTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientLiveTests.cs index 2d27e21b5d52..c898602430ea 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientLiveTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientLiveTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Keys.Cryptography; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientTests.cs index f415d3e2fb5f..c1d63f12adb8 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/CryptographyClientTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Keys.Cryptography; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/DelayCreateKeyInterceptor.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/DelayCreateKeyInterceptor.cs index a2452080e3d2..df625daa9919 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/DelayCreateKeyInterceptor.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/DelayCreateKeyInterceptor.cs @@ -3,7 +3,7 @@ using System; using System.Threading; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Castle.DynamicProxy; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientLiveTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientLiveTests.cs index ccee20c744be..f6bf5723550c 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientLiveTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientLiveTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Security.KeyVault.Keys.Tests diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientTests.cs index 1707bcd7da0e..b9304ae3041b 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyClientTests.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyResolverLiveTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyResolverLiveTests.cs index 11c7ac05ee61..6db6db27a875 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyResolverLiveTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeyResolverLiveTests.cs @@ -4,7 +4,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Cryptography; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Keys.Cryptography; using Azure.Security.KeyVault.Secrets; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysEventSourceTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysEventSourceTests.cs index 02b7e84560f4..052e6bfec333 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysEventSourceTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysEventSourceTests.cs @@ -7,7 +7,7 @@ using System.Security.Cryptography; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Keys.Cryptography; using Azure.Security.KeyVault.Tests; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysTestBase.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysTestBase.cs index e0f695f1a94c..dc3a3b6cf01b 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysTestBase.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/KeysTestBase.cs @@ -5,7 +5,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Security.KeyVault.Tests; using Castle.DynamicProxy; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/SampleFixture.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/SampleFixture.cs index c5fb4d47d8b8..39b5449a7ea6 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/SampleFixture.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/SampleFixture.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Tests; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/SampleSnippets.cs b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/SampleSnippets.cs index fc87d3a3ceb4..7192c1191aed 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/SampleSnippets.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Keys/tests/samples/SampleSnippets.cs @@ -8,7 +8,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Tests; namespace Azure.Security.KeyVault.Keys.Samples diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/Azure.Security.KeyVault.Secrets.Tests.csproj b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/Azure.Security.KeyVault.Secrets.Tests.csproj index 9b70334b0501..60807fbb4c16 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/Azure.Security.KeyVault.Secrets.Tests.csproj +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/Azure.Security.KeyVault.Secrets.Tests.csproj @@ -4,7 +4,6 @@ $(RequiredTargetFrameworks) - @@ -18,6 +17,7 @@ + diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/ChallengeBasedAuthenticationPolicyTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/ChallengeBasedAuthenticationPolicyTests.cs index 48b3a30bbde0..23f74958f9e4 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/ChallengeBasedAuthenticationPolicyTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/ChallengeBasedAuthenticationPolicyTests.cs @@ -13,7 +13,7 @@ using Azure.Core; using Azure.Core.Diagnostics; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Tests; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SampleFixture.cs b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SampleFixture.cs index 98f2c4778b60..e36ccb52b004 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SampleFixture.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SampleFixture.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Tests; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientLiveTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientLiveTests.cs index 196029f2f0e3..f995bcbf373b 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientLiveTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientLiveTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Threading.Tasks; using NUnit.Framework; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using System.Text; using NUnit.Framework.Constraints; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientTests.cs b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientTests.cs index 0c915c60669f..412edb896666 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientTests.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretClientTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretsTestBase.cs b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretsTestBase.cs index 625e80323bf8..5c9d6e7a0bba 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretsTestBase.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Secrets/tests/SecretsTestBase.cs @@ -5,7 +5,7 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Security.KeyVault.Tests; using NUnit.Framework; diff --git a/sdk/keyvault/Azure.Security.KeyVault.Shared/tests/KeyVaultTestEnvironment.cs b/sdk/keyvault/Azure.Security.KeyVault.Shared/tests/KeyVaultTestEnvironment.cs index 23bbf3e1ff7a..66301c6d7893 100644 --- a/sdk/keyvault/Azure.Security.KeyVault.Shared/tests/KeyVaultTestEnvironment.cs +++ b/sdk/keyvault/Azure.Security.KeyVault.Shared/tests/KeyVaultTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Security.KeyVault.Tests { diff --git a/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj b/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj index e96db34ef4b2..d007e465c995 100644 --- a/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj +++ b/sdk/search/Azure.Search.Documents/tests/Azure.Search.Documents.Tests.csproj @@ -20,6 +20,7 @@ + @@ -37,7 +38,4 @@ - - - diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/AutocompleteTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/AutocompleteTests.cs index 7859cf22592e..b9cf154a9e66 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/AutocompleteTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/AutocompleteTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/GetDocumentTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/GetDocumentTests.cs index d3d261f774a6..cb694b6ae9e7 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/GetDocumentTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/GetDocumentTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text.Json.Serialization; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs index 6ba318ac22b5..b1356d52a47a 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/IndexingTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text.Json.Serialization; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs index f1367997a18b..d83dfc68aa80 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SearchTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SuggestTests.cs b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SuggestTests.cs index 3c061381eec5..48df6ad975e7 100644 --- a/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SuggestTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/DocumentOperations/SuggestTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/Samples/HelloWorld.cs b/sdk/search/Azure.Search.Documents/tests/Samples/HelloWorld.cs index 0ae41dce568a..b0180e0e7dbe 100644 --- a/sdk/search/Azure.Search.Documents/tests/Samples/HelloWorld.cs +++ b/sdk/search/Azure.Search.Documents/tests/Samples/HelloWorld.cs @@ -3,7 +3,7 @@ using System; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; #region Snippet:Azure_Search_Tests_Samples_Namespaces using Azure.Search.Documents; using Azure.Search.Documents.Models; diff --git a/sdk/search/Azure.Search.Documents/tests/Samples/Readme.cs b/sdk/search/Azure.Search.Documents/tests/Samples/Readme.cs index a07dd48c2f40..90ddc3725d11 100644 --- a/sdk/search/Azure.Search.Documents/tests/Samples/Readme.cs +++ b/sdk/search/Azure.Search.Documents/tests/Samples/Readme.cs @@ -4,7 +4,7 @@ using System; using System.Text.Json.Serialization; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/SearchServiceClientTests.cs b/sdk/search/Azure.Search.Documents/tests/SearchServiceClientTests.cs index 59a43076bd86..d82be39eb340 100644 --- a/sdk/search/Azure.Search.Documents/tests/SearchServiceClientTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/SearchServiceClientTests.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs b/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs index ee63e2f601f5..190d4744ea64 100644 --- a/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs +++ b/sdk/search/Azure.Search.Documents/tests/Serialization/SearchFilterTests.cs @@ -4,7 +4,7 @@ using System; using System.Text; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Search.Documents.Tests diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchRecordedTestSanitizer.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchRecordedTestSanitizer.cs index ee7dd1c35a65..cc003431bd05 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchRecordedTestSanitizer.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchRecordedTestSanitizer.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Text.Encodings.Web; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Search.Documents.Tests { diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.cs index 8649fff6dc8c..fa3fdf7b9ccc 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchResources.cs @@ -10,7 +10,7 @@ using System.Text.Json; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using Azure.Storage.Blobs; using Microsoft.Azure.Management.ResourceManager.Fluent; diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs index da89f7d80d1d..264f7394562a 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestBase.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Search.Documents.Models; using NUnit.Framework; diff --git a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestEnvironment.cs b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestEnvironment.cs index 0b9dc721f71f..d9d34e33a628 100644 --- a/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestEnvironment.cs +++ b/sdk/search/Azure.Search.Documents/tests/Utilities/SearchTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Search.Documents.Tests { diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj index ab8931647ba1..985ac2489125 100755 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Azure.Messaging.ServiceBus.Tests.csproj @@ -8,6 +8,7 @@ + @@ -30,7 +31,4 @@ - - - diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Infrastructure/ServiceBusTestEnvironment.cs b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Infrastructure/ServiceBusTestEnvironment.cs index d79372f11699..c66ae2d82c5a 100644 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Infrastructure/ServiceBusTestEnvironment.cs +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/tests/Infrastructure/ServiceBusTestEnvironment.cs @@ -4,7 +4,7 @@ using System; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Messaging.ServiceBus.Core; namespace Azure.Messaging.ServiceBus.Tests diff --git a/sdk/storage/Azure.Storage.Blobs.Batch/tests/BlobBatchClientTests.cs b/sdk/storage/Azure.Storage.Blobs.Batch/tests/BlobBatchClientTests.cs index 9d5785d3cfb0..e0d84203dda8 100644 --- a/sdk/storage/Azure.Storage.Blobs.Batch/tests/BlobBatchClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs.Batch/tests/BlobBatchClientTests.cs @@ -6,7 +6,7 @@ using System.IO; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Blobs.Batch/tests/DelayedResponseTests.cs b/sdk/storage/Azure.Storage.Blobs.Batch/tests/DelayedResponseTests.cs index 397bf9dbd935..c9b264c26dff 100644 --- a/sdk/storage/Azure.Storage.Blobs.Batch/tests/DelayedResponseTests.cs +++ b/sdk/storage/Azure.Storage.Blobs.Batch/tests/DelayedResponseTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Specialized; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs index e9e46835235b..c1f47995c504 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs @@ -9,7 +9,7 @@ using System.Text; using System.Threading.Tasks; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs index febc5c99ac91..a9707978f364 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs @@ -11,7 +11,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobClientTests.cs index 0ecc44debce4..c3301cc98abb 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobClientTests.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Storage.Blobs.Models; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs index d071bc3f8587..2a7e94ec42c7 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobTestBase.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobUriBuilderTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobUriBuilderTests.cs index a777bcd243a5..9e07e95a30bd 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobUriBuilderTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobUriBuilderTests.cs @@ -3,7 +3,7 @@ using System; using System.Net; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Sas; using Azure.Storage.Test.Shared; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs index e240348927b8..0a87638885ed 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlockBlobClientTests.cs @@ -8,7 +8,7 @@ using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Azure.Storage.Blobs.Tests; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/ContainerClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/ContainerClientTests.cs index 48f22c6d31bb..628f92b201c7 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/ContainerClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/ContainerClientTests.cs @@ -9,7 +9,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/EncryptedBlockBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/EncryptedBlockBlobClientTests.cs index 304ba491d768..f0b1d054a900 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/EncryptedBlockBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/EncryptedBlockBlobClientTests.cs @@ -4,7 +4,7 @@ using System; using System.IO; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Specialized; using Azure.Storage.Test.Shared; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/PageBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/PageBlobClientTests.cs index b3e801176af4..47dd760efac9 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/PageBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/PageBlobClientTests.cs @@ -9,7 +9,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Azure.Storage.Blobs.Tests; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/PartitionedDownloaderTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/PartitionedDownloaderTests.cs index 104884ab00a3..adbb38de229d 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/PartitionedDownloaderTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/PartitionedDownloaderTests.cs @@ -6,7 +6,7 @@ using System.IO; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Moq; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/PartitionedUploaderTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/PartitionedUploaderTests.cs index 012ff96e5379..ac9eec4b46a4 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/PartitionedUploaderTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/PartitionedUploaderTests.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Blobs.Specialized; using Moq; diff --git a/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs index 029b3bbb6306..d613caeadfd1 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs.Models; using Azure.Storage.Test; using Azure.Storage.Test.Shared; diff --git a/sdk/storage/Azure.Storage.Common/tests/CommonTestBase.cs b/sdk/storage/Azure.Storage.Common/tests/CommonTestBase.cs index 352c945ef224..8bcdfdf4b40b 100644 --- a/sdk/storage/Azure.Storage.Common/tests/CommonTestBase.cs +++ b/sdk/storage/Azure.Storage.Common/tests/CommonTestBase.cs @@ -4,7 +4,7 @@ using System; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs; using Azure.Storage.Test; using Azure.Storage.Test.Shared; diff --git a/sdk/storage/Azure.Storage.Common/tests/GeoRedundantReadPolicyTests.cs b/sdk/storage/Azure.Storage.Common/tests/GeoRedundantReadPolicyTests.cs index 1d214344caf1..c5f17ed3c05d 100644 --- a/sdk/storage/Azure.Storage.Common/tests/GeoRedundantReadPolicyTests.cs +++ b/sdk/storage/Azure.Storage.Common/tests/GeoRedundantReadPolicyTests.cs @@ -5,7 +5,7 @@ using System.Threading; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Storage.Tests diff --git a/sdk/storage/Azure.Storage.Common/tests/Shared/RecordedClientRequestIdPolicy.cs b/sdk/storage/Azure.Storage.Common/tests/Shared/RecordedClientRequestIdPolicy.cs index 34f3c3f070ec..1bcfe20bfabf 100644 --- a/sdk/storage/Azure.Storage.Common/tests/Shared/RecordedClientRequestIdPolicy.cs +++ b/sdk/storage/Azure.Storage.Common/tests/Shared/RecordedClientRequestIdPolicy.cs @@ -7,7 +7,7 @@ using System.Text; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Storage.Test.Shared { diff --git a/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordMatcher.cs b/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordMatcher.cs index 44c760ffe912..1f430f25ae90 100644 --- a/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordMatcher.cs +++ b/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordMatcher.cs @@ -8,7 +8,7 @@ using System.Linq; using System.Text.Json; using System.Xml.Linq; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Storage.Test.Shared { diff --git a/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordedTestSanitizer.cs b/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordedTestSanitizer.cs index c01b5c3b6705..5f82065c4fcf 100644 --- a/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordedTestSanitizer.cs +++ b/sdk/storage/Azure.Storage.Common/tests/Shared/StorageRecordedTestSanitizer.cs @@ -7,7 +7,7 @@ using System.Text; using System.Text.Json; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Storage.Test.Shared { diff --git a/sdk/storage/Azure.Storage.Common/tests/Shared/StorageTestBase.cs b/sdk/storage/Azure.Storage.Common/tests/Shared/StorageTestBase.cs index ae9a44a56e14..bd0dcac13803 100644 --- a/sdk/storage/Azure.Storage.Common/tests/Shared/StorageTestBase.cs +++ b/sdk/storage/Azure.Storage.Common/tests/Shared/StorageTestBase.cs @@ -12,7 +12,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Storage.Sas; using Azure.Storage.Tests.Shared; diff --git a/sdk/storage/Azure.Storage.Common/tests/Shared/TestExceptionPolicy.cs b/sdk/storage/Azure.Storage.Common/tests/Shared/TestExceptionPolicy.cs index b26a88765be1..234c058fdf3c 100644 --- a/sdk/storage/Azure.Storage.Common/tests/Shared/TestExceptionPolicy.cs +++ b/sdk/storage/Azure.Storage.Common/tests/Shared/TestExceptionPolicy.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Storage.Test { diff --git a/sdk/storage/Azure.Storage.Common/tests/StorageConnectionStringTests.cs b/sdk/storage/Azure.Storage.Common/tests/StorageConnectionStringTests.cs index 6fb1d475c0a2..89e85631df06 100644 --- a/sdk/storage/Azure.Storage.Common/tests/StorageConnectionStringTests.cs +++ b/sdk/storage/Azure.Storage.Common/tests/StorageConnectionStringTests.cs @@ -3,7 +3,7 @@ using System; using System.Globalization; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Storage.Test diff --git a/sdk/storage/Azure.Storage.Common/tests/StorageResponseClassifierTests.cs b/sdk/storage/Azure.Storage.Common/tests/StorageResponseClassifierTests.cs index c28405ca1737..1f85ce4c073a 100644 --- a/sdk/storage/Azure.Storage.Common/tests/StorageResponseClassifierTests.cs +++ b/sdk/storage/Azure.Storage.Common/tests/StorageResponseClassifierTests.cs @@ -5,7 +5,7 @@ using System.Threading; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Storage.Tests diff --git a/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyCredentialsTests.cs b/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyCredentialsTests.cs index ccc4b324618c..2110b10f5f7d 100644 --- a/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyCredentialsTests.cs +++ b/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyCredentialsTests.cs @@ -4,7 +4,7 @@ using System; using System.Text; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Blobs; using Azure.Storage.Test; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyPipelinePolicyTests.cs b/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyPipelinePolicyTests.cs index 2fb8e9ad01ea..065455330f9b 100644 --- a/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyPipelinePolicyTests.cs +++ b/sdk/storage/Azure.Storage.Common/tests/StorageSharedKeyPipelinePolicyTests.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Storage.Tests diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakePartitionedUploaderTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakePartitionedUploaderTests.cs index 3c72bd671a8b..018f4a5a0728 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakePartitionedUploaderTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakePartitionedUploaderTests.cs @@ -9,7 +9,7 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; using Moq; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs index 85bcee25a59e..690dab506a0a 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/DataLakeTestBase.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; using Azure.Storage.Sas; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs index ae6454da4799..0d280766b27c 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/DirectoryClientTests.cs @@ -6,7 +6,7 @@ using System.Net; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; using Azure.Storage.Sas; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs index 003e25304f8a..a283c657beed 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileClientTests.cs @@ -9,7 +9,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; using Azure.Storage.Sas; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs index 52e848f819ba..762b59b12407 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs @@ -7,7 +7,7 @@ using System.Net; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; using Azure.Storage.Sas; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/PathTestBase.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/PathTestBase.cs index 026c90e45930..8ecaf8cefa70 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/PathTestBase.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/PathTestBase.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; namespace Azure.Storage.Files.DataLake.Tests diff --git a/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs index 9e21e72fa129..d25ce5c622db 100644 --- a/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs @@ -7,7 +7,7 @@ using System.Text; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.DataLake.Models; using Azure.Storage.Sas; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/DirectoryClientTests.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/DirectoryClientTests.cs index 8d4f2c461801..1dea23ce6d19 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/DirectoryClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/DirectoryClientTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.Shares.Models; using Azure.Storage.Files.Shares.Tests; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/FileClientTests.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/FileClientTests.cs index 01dd5c8151c1..69cdc53aa94f 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/FileClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/FileClientTests.cs @@ -8,7 +8,7 @@ using System.Threading; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.Shares.Models; using Azure.Storage.Files.Shares.Specialized; using Azure.Storage.Files.Shares.Tests; diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/FileTestBase.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/FileTestBase.cs index c54aafae2815..2e17ef4b041f 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/FileTestBase.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/FileTestBase.cs @@ -7,7 +7,7 @@ using System.Net; using System.Threading.Tasks; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.Shares.Models; using Azure.Storage.Sas; using Azure.Storage.Test.Shared; diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/FileUriBuilderTests.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/FileUriBuilderTests.cs index 9c2cf4efe73b..77c76b7d40a6 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/FileUriBuilderTests.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/FileUriBuilderTests.cs @@ -3,7 +3,7 @@ using System; using System.Net; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.Shares.Tests; using Azure.Storage.Sas; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/ServiceClientTests.cs index 5f76f2db991a..02dba6cd3d78 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/ServiceClientTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.Shares.Models; using Azure.Storage.Files.Shares.Tests; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs b/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs index 8e916ebee2f1..cd024fc72820 100644 --- a/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs +++ b/sdk/storage/Azure.Storage.Files.Shares/tests/ShareClientTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Reflection; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Files.Shares.Models; using Azure.Storage.Files.Shares.Tests; using Azure.Storage.Sas; diff --git a/sdk/storage/Azure.Storage.Queues/tests/QueueClientTests.cs b/sdk/storage/Azure.Storage.Queues/tests/QueueClientTests.cs index bac2032a4c21..c3f5405eec3c 100644 --- a/sdk/storage/Azure.Storage.Queues/tests/QueueClientTests.cs +++ b/sdk/storage/Azure.Storage.Queues/tests/QueueClientTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Test; using Azure.Storage.Queues.Models; using Azure.Storage.Queues.Tests; diff --git a/sdk/storage/Azure.Storage.Queues/tests/QueueTestBase.cs b/sdk/storage/Azure.Storage.Queues/tests/QueueTestBase.cs index 44b18af4fa80..601cfff3e510 100644 --- a/sdk/storage/Azure.Storage.Queues/tests/QueueTestBase.cs +++ b/sdk/storage/Azure.Storage.Queues/tests/QueueTestBase.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using Azure.Core; using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Queues.Models; using Azure.Storage.Sas; using Azure.Storage.Test; diff --git a/sdk/storage/Azure.Storage.Queues/tests/QueueUriBuilderTests.cs b/sdk/storage/Azure.Storage.Queues/tests/QueueUriBuilderTests.cs index 353bbb94ef33..8dad3ca2327a 100644 --- a/sdk/storage/Azure.Storage.Queues/tests/QueueUriBuilderTests.cs +++ b/sdk/storage/Azure.Storage.Queues/tests/QueueUriBuilderTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Queues.Tests; using Azure.Storage.Sas; using NUnit.Framework; diff --git a/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs index aff5b53023c2..fb55043d205a 100644 --- a/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Queues/tests/ServiceClientTests.cs @@ -6,7 +6,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Storage.Test; using Azure.Storage.Queues.Models; using Azure.Storage.Queues.Tests; diff --git a/sdk/storage/Directory.Build.props b/sdk/storage/Directory.Build.props index 4159105947f4..50ab1b283e81 100644 --- a/sdk/storage/Directory.Build.props +++ b/sdk/storage/Directory.Build.props @@ -49,12 +49,9 @@ - + - - - diff --git a/sdk/tables/Azure.Data.Tables/tests/Azure.Data.Tables.Tests.csproj b/sdk/tables/Azure.Data.Tables/tests/Azure.Data.Tables.Tests.csproj index cd7ef826283a..7d084540404a 100644 --- a/sdk/tables/Azure.Data.Tables/tests/Azure.Data.Tables.Tests.csproj +++ b/sdk/tables/Azure.Data.Tables/tests/Azure.Data.Tables.Tests.csproj @@ -13,6 +13,7 @@ + @@ -21,7 +22,5 @@ - - diff --git a/sdk/tables/Azure.Data.Tables/tests/TableClientLiveTests.cs b/sdk/tables/Azure.Data.Tables/tests/TableClientLiveTests.cs index 5de93e2d7690..a54645376858 100644 --- a/sdk/tables/Azure.Data.Tables/tests/TableClientLiveTests.cs +++ b/sdk/tables/Azure.Data.Tables/tests/TableClientLiveTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Data.Tables.Models; using NUnit.Framework; diff --git a/sdk/tables/Azure.Data.Tables/tests/TableServiceClientLiveTests.cs b/sdk/tables/Azure.Data.Tables/tests/TableServiceClientLiveTests.cs index 0054761ae261..4f77333730ab 100644 --- a/sdk/tables/Azure.Data.Tables/tests/TableServiceClientLiveTests.cs +++ b/sdk/tables/Azure.Data.Tables/tests/TableServiceClientLiveTests.cs @@ -5,7 +5,7 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Data.Tables.Models; using NUnit.Framework; diff --git a/sdk/tables/Azure.Data.Tables/tests/TablesRecordedTestSanitizer.cs b/sdk/tables/Azure.Data.Tables/tests/TablesRecordedTestSanitizer.cs index b11fe2585d9f..124fb676ea38 100644 --- a/sdk/tables/Azure.Data.Tables/tests/TablesRecordedTestSanitizer.cs +++ b/sdk/tables/Azure.Data.Tables/tests/TablesRecordedTestSanitizer.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Data.Tables.Tests { diff --git a/sdk/tables/Azure.Data.Tables/tests/TablesTestEnvironment.cs b/sdk/tables/Azure.Data.Tables/tests/TablesTestEnvironment.cs index 53ab3856f3b4..8c403487da6e 100644 --- a/sdk/tables/Azure.Data.Tables/tests/TablesTestEnvironment.cs +++ b/sdk/tables/Azure.Data.Tables/tests/TablesTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Data.Tables.Tests { diff --git a/sdk/template/Azure.Template/tests/Azure.Template.Tests.csproj b/sdk/template/Azure.Template/tests/Azure.Template.Tests.csproj index a8f7f8651e76..fa1aac666dcc 100644 --- a/sdk/template/Azure.Template/tests/Azure.Template.Tests.csproj +++ b/sdk/template/Azure.Template/tests/Azure.Template.Tests.csproj @@ -3,8 +3,6 @@ $(RequiredTargetFrameworks) - - @@ -14,6 +12,7 @@ + diff --git a/sdk/template/Azure.Template/tests/MiniSecretClientLiveTest.cs b/sdk/template/Azure.Template/tests/MiniSecretClientLiveTest.cs index 674bddfefdb7..63f5f0d6a5eb 100644 --- a/sdk/template/Azure.Template/tests/MiniSecretClientLiveTest.cs +++ b/sdk/template/Azure.Template/tests/MiniSecretClientLiveTest.cs @@ -3,7 +3,7 @@ using System; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.Template.Tests diff --git a/sdk/template/Azure.Template/tests/MiniSecretClientTestEnvironment.cs b/sdk/template/Azure.Template/tests/MiniSecretClientTestEnvironment.cs index c4fa1eea35c8..ee38458b7ee9 100644 --- a/sdk/template/Azure.Template/tests/MiniSecretClientTestEnvironment.cs +++ b/sdk/template/Azure.Template/tests/MiniSecretClientTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.Template.Tests { diff --git a/sdk/template/Azure.Template/tests/Samples/MiniSecretClientSamples.HelloWorld.cs b/sdk/template/Azure.Template/tests/Samples/MiniSecretClientSamples.HelloWorld.cs index 02713ccb1e23..789b7deab21d 100644 --- a/sdk/template/Azure.Template/tests/Samples/MiniSecretClientSamples.HelloWorld.cs +++ b/sdk/template/Azure.Template/tests/Samples/MiniSecretClientSamples.HelloWorld.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using Azure.Template.Models; using NUnit.Framework; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/Azure.AI.TextAnalytics.Tests.csproj b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/Azure.AI.TextAnalytics.Tests.csproj index 146ae0d0eb8c..25f32656c79b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/Azure.AI.TextAnalytics.Tests.csproj +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/Azure.AI.TextAnalytics.Tests.csproj @@ -2,7 +2,6 @@ $(RequiredTargetFrameworks) - @@ -11,6 +10,7 @@ + diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs index de6b0d0454e7..6bcc36a913b0 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientLiveTests.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Threading.Tasks; using Azure.AI.TextAnalytics.Samples; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Tests diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientMockTests.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientMockTests.cs index 0c2bfc78df52..4a3d536ef6fd 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientMockTests.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientMockTests.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using Azure.Core.Pipeline; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientTests.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientTests.cs index e4d7c147fd05..f8af32bfd4ad 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientTests.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsClientTests.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using Azure.Core; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using NUnit.Framework; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsErrorTests.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsErrorTests.cs index 9b289fef7922..0c8faf005b16 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsErrorTests.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsErrorTests.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System.Linq; using System.Text.Json; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsRecordedTestSanitizer.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsRecordedTestSanitizer.cs index 7e455c3e7519..f866b8702842 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsRecordedTestSanitizer.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/TextAnalyticsRecordedTestSanitizer.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; -namespace Azure.Core.Testing +namespace Azure.Core.TestFramework { public class TextAnalyticsRecordedTestSanitizer : RecordedTestSanitizer { diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguage.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguage.cs index a4b1ac9fe392..64d9967ae1c6 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguage.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguage.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageAsync.cs index 1d93e849bfec..69772f136ff4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageAsync.cs @@ -3,7 +3,7 @@ using System; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatch.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatch.cs index 177897832122..a4c5a3abb7e4 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatch.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatch.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchAsync.cs index 4cf6711fe406..b6145efd5e8b 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenience.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenience.cs index fffb8696e6b3..0f3ffe3833e8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenience.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenience.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenienceAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenienceAsync.cs index 2a6b27f5d066..12e6fbc29fcc 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenienceAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample1_DetectLanguageBatchConvenienceAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentiment.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentiment.cs index 7c6be0a428f6..fe8ee831c062 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentiment.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentiment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentAsync.cs index 4f572bdf10f3..d29ded078c0f 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Threading.Tasks; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatch.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatch.cs index 0b397c3cc393..e1b851e07d83 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatch.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatch.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchAsync.cs index cd7492c30ec2..941f771d8915 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenience.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenience.cs index 9a04303e8cf3..5aff4691e2cc 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenience.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenience.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenienceAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenienceAsync.cs index 6dc241dc7ed1..f2e2969b8f0a 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenienceAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample2_AnalyzeSentimentBatchConvenienceAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrases.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrases.cs index 2c473e8e3389..0cfe39efdee5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrases.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrases.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesAsync.cs index c18f4b2886fa..d1a2a7e4a9e6 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatch.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatch.cs index 8486478d424e..bd5b56e00096 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatch.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatch.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchAsync.cs index 41d5a6f80456..4e606140c465 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenience.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenience.cs index b8cfa1f4c6a8..dccaef62791f 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenience.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenience.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenienceAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenienceAsync.cs index 26abba6b5f61..f52ed32844cb 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenienceAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample3_ExtractKeyPhrasesBatchConvenienceAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntities.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntities.cs index 70f4370fb568..6b80686a808c 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntities.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntities.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesAsync.cs index de3fd53de9b3..db7eec86d46e 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatch.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatch.cs index 17ad57d2cc9c..e43c18f3bad5 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatch.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatch.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchAsync.cs index 5068935b5839..1c85682acc05 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs index 883137c0b9a5..a8c595727288 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenience.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenienceAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenienceAsync.cs index 49292240b277..ab33c2458a44 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenienceAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample4_RecognizeEntitiesBatchConvenienceAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntities.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntities.cs index 53f64e8716c9..ff1caefd45b3 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntities.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntities.cs @@ -3,7 +3,7 @@ using System; using System.Collections.Generic; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesAsync.cs index 2e6af1903520..803896684eeb 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesAsync.cs @@ -4,7 +4,7 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; namespace Azure.AI.TextAnalytics.Samples diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatch.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatch.cs index 03428859f5d3..ea89e8a1b128 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatch.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatch.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchAsync.cs index 458467798702..5c63face1486 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenience.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenience.cs index 30b7a4ded804..2262d8d0fcff 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenience.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenience.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenienceAsync.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenienceAsync.cs index 9cb6cdf76dec..b94009d1bcff 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenienceAsync.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/Sample6_RecognizeLinkedEntitiesBatchConvenienceAsync.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; using NUnit.Framework; using System; using System.Collections.Generic; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleMoq.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleMoq.cs index 4057861d9bab..a1318353cf72 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleMoq.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleMoq.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Moq; using NUnit.Framework; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleSnippets.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleSnippets.cs index 9ab6eb342042..a14c9d74d6a2 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleSnippets.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/SampleSnippets.cs @@ -2,7 +2,7 @@ // Licensed under the MIT License. using System; -using Azure.Core.Testing; +using Azure.Core.TestFramework; using Azure.Identity; using NUnit.Framework; diff --git a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/TextAnalyticsTestEnvironment.cs b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/TextAnalyticsTestEnvironment.cs index 79859742339b..d7a4539148f8 100644 --- a/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/TextAnalyticsTestEnvironment.cs +++ b/sdk/textanalytics/Azure.AI.TextAnalytics/tests/samples/TextAnalyticsTestEnvironment.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using Azure.Core.Testing; +using Azure.Core.TestFramework; namespace Azure.AI.TextAnalytics.Samples {