Skip to content

Commit fbcb046

Browse files
MichelZbenrr101
authored andcommitted
- Remove AsyncTest (why would Async be faster than Sync?)
- Move tests around to TestSet when necessary, consolidate AE test sets
1 parent aefc7f2 commit fbcb046

File tree

2 files changed

+27
-136
lines changed

2 files changed

+27
-136
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/Microsoft.Data.SqlClient.ManualTesting.Tests.csproj

Lines changed: 27 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,12 @@
1313
<IsTestProject>true</IsTestProject>
1414
</PropertyGroup>
1515
<ItemGroup Condition="'$(TestSet)' == '' or '$(TestSet)' == 'AE'">
16-
<Compile Include="AlwaysEncrypted\CoreCryptoTests.cs" />
17-
<Compile Include="AlwaysEncrypted\ConversionTests.cs" />
18-
<Compile Include="AlwaysEncrypted\ExceptionsGenericError.cs" />
19-
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CryptoVector.cs" />
20-
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CryptoNativeBaselineReader.cs" />
21-
<Compile Include="AlwaysEncrypted\TestTrustedMasterKeyPaths.cs" />
22-
<Content Include="AlwaysEncrypted\TestFixtures\Setup\TCECryptoNativeBaseline.txt">
23-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
24-
<Link>TCECryptoNativeBaseline.txt</Link>
25-
</Content>
26-
<Content Include="AlwaysEncrypted\TestFixtures\Setup\TCECryptoNativeBaselineRsa.txt">
27-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
28-
<Link>TCECryptoNativeBaselineRsa.txt</Link>
29-
</Content>
30-
</ItemGroup>
31-
<ItemGroup Condition="'$(TargetsWindows)' == 'true' AND ('$(TestSet)' == '' OR '$(TestSet)' == 'AE')">
32-
<Compile Include="AlwaysEncrypted\CspProviderExt.cs" />
33-
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CertificateUtilityWin.cs" />
34-
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CspProviderColumnMasterKey.cs" />
35-
<Compile Include="AlwaysEncrypted\TestFixtures\SQLSetupStrategyCspExt.cs" />
36-
</ItemGroup>
37-
<ItemGroup Condition="'$(TestSet)' == '' OR '$(TestSet)' == 'AE'">
3816
<Compile Include="AlwaysEncrypted\AKVTests.cs" />
3917
<Compile Include="AlwaysEncrypted\AKVUnitTests.cs" />
18+
<Compile Include="AlwaysEncrypted\CoreCryptoTests.cs" />
19+
<Compile Include="AlwaysEncrypted\ConversionTests.cs" />
4020
<Compile Include="AlwaysEncrypted\EnclaveAzureDatabaseTests.cs" />
21+
<Compile Include="AlwaysEncrypted\ExceptionsGenericError.cs" />
4122
<Compile Include="AlwaysEncrypted\ExceptionTestAKVStore.cs" />
4223
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\AKVTestTable.cs" />
4324
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\AkvColumnMasterKey.cs" />
@@ -57,6 +38,8 @@
5738
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\BulkCopyAEErrorMessageTestTable.cs" />
5839
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\BulkCopyTruncationTables.cs" />
5940
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\ColumnDecryptErrorTestTable.cs" />
41+
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CryptoVector.cs" />
42+
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CryptoNativeBaselineReader.cs" />
6043
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\DateOnlyTestTable.cs" />
6144
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\SqlNullValuesTable.cs" />
6245
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\SqlParameterPropertiesTable.cs" />
@@ -70,6 +53,21 @@
7053
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\DummyKeyStoreProvider.cs" />
7154
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\DummyProviderMasterKey.cs" />
7255
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CertificateUtility.cs" />
56+
<Content Include="AlwaysEncrypted\TestFixtures\Setup\TCECryptoNativeBaseline.txt">
57+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
58+
<Link>TCECryptoNativeBaseline.txt</Link>
59+
</Content>
60+
<Content Include="AlwaysEncrypted\TestFixtures\Setup\TCECryptoNativeBaselineRsa.txt">
61+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
62+
<Link>TCECryptoNativeBaselineRsa.txt</Link>
63+
</Content>
64+
<Compile Include="AlwaysEncrypted\TestTrustedMasterKeyPaths.cs" />
65+
</ItemGroup>
66+
<ItemGroup Condition="'$(TargetsWindows)' == 'true' AND ('$(TestSet)' == '' OR '$(TestSet)' == 'AE')">
67+
<Compile Include="AlwaysEncrypted\CspProviderExt.cs" />
68+
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CertificateUtilityWin.cs" />
69+
<Compile Include="AlwaysEncrypted\TestFixtures\Setup\CspProviderColumnMasterKey.cs" />
70+
<Compile Include="AlwaysEncrypted\TestFixtures\SQLSetupStrategyCspExt.cs" />
7371
</ItemGroup>
7472
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0')) AND ('$(TestSet)' == '' OR '$(TestSet)' == 'AE')">
7573
<Compile Include="AlwaysEncrypted\DateOnlyReadTests.cs" />
@@ -79,7 +77,6 @@
7977
<Compile Include="SQL\AsyncTest\BeginExecAsyncTest.cs" />
8078
<Compile Include="SQL\AsyncTest\BeginExecReaderAsyncTest.cs" />
8179
<Compile Include="SQL\AsyncTest\XmlReaderAsyncTest.cs" />
82-
<Compile Include="SQL\AsyncTest\AsyncTest.cs" />
8380
<Compile Include="SQL\AsyncTest\AsyncCancelledConnectionsTest.cs" />
8481
</ItemGroup>
8582
<ItemGroup Condition="'$(TestSet)' == '' OR '$(TestSet)' == '2'">
@@ -174,15 +171,21 @@
174171
<Compile Include="DDBasics\DDAsyncTest\DDAsyncTest.cs" />
175172
<Compile Include="DDBasics\DDDataTypesTest\DDDataTypesTest.cs" />
176173
<Compile Include="DDBasics\DDMARSTest\DDMARSTest.cs" />
174+
<Compile Include="Json\SqlJsonTest.cs" />
177175
<Compile Include="ProviderAgnostic\MultipleResultsTest\MultipleResultsTest.cs" />
178176
<Compile Include="ProviderAgnostic\ReaderTest\ReaderTest.cs" />
179177
<Compile Include="TracingTests\EventSourceTest.cs" />
180178
<Compile Include="SQL\AADFedAuthTokenRefreshTest\AADFedAuthTokenRefreshTest.cs" />
179+
<Compile Include="SQL\ConnectionTestWithSSLCert\CertificateTest.cs" />
180+
<Compile Include="SQL\ConnectionTestWithSSLCert\CertificateTestWithTdsServer.cs" />
181181
<Compile Include="SQL\ConnectionPoolTest\ConnectionPoolTest.cs" />
182182
<Compile Include="SQL\ConnectionPoolTest\PoolBlockPeriodTest.cs" />
183183
<Compile Include="SQL\DataSourceParserTest\DataSourceParserTest.cs" />
184184
<Compile Include="SQL\InstanceNameTest\InstanceNameTest.cs" />
185185
<Compile Include="SQL\IntegratedAuthenticationTest\IntegratedAuthenticationTest.cs" />
186+
<Compile Include="SQL\JsonTest\JsonBulkCopyTest.cs" />
187+
<Compile Include="SQL\JsonTest\JsonStreamTest.cs" />
188+
<Compile Include="SQL\JsonTest\JsonTest.cs" />
186189
<Compile Include="SQL\KerberosTests\KerberosTest.cs" />
187190
<Compile Include="SQL\KerberosTests\KerberosTicketManager\KerberosTicketManager.cs" />
188191
<Compile Include="SQL\LocalDBTest\LocalDBTest.cs" />
@@ -194,6 +197,7 @@
194197
<Compile Include="SQL\SqlCommand\SqlCommandCompletedTest.cs" />
195198
<Compile Include="SQL\SqlCommand\SqlCommandCancelTest.cs" />
196199
<Compile Include="SQL\SqlCommand\SqlCommandSetTest.cs" />
200+
<Compile Include="SQL\SqlCommand\SqlCommandStoredProcTest.cs" />
197201
<Compile Include="SQL\SqlCredentialTest\SqlCredentialTest.cs" />
198202
<Compile Include="SQL\SqlDependencyTest\SqlDependencyTest.cs" />
199203
<Compile Include="SQL\SqlFileStreamTest\SqlFileStreamTest.cs" />
@@ -279,7 +283,6 @@
279283
<Compile Include="DataCommon\SqlClientCustomTokenCredential.cs" />
280284
<Compile Include="DataCommon\SystemDataResourceManager.cs" />
281285
<Compile Include="Extensions\StreamExtensions.netfx.cs" />
282-
<Compile Include="Json\SqlJsonTest.cs" />
283286
<Compile Include="SQL\Common\AsyncDebugScope.cs" />
284287
<Compile Include="SQL\Common\ConnectionPoolWrapper.cs" />
285288
<Compile Include="SQL\Common\InternalConnectionWrapper.cs" />
@@ -291,12 +294,6 @@
291294
<Compile Include="SQL\Common\SystemDataInternals\FedAuthTokenHelper.cs" />
292295
<Compile Include="SQL\Common\SystemDataInternals\TdsParserHelper.cs" />
293296
<Compile Include="SQL\Common\SystemDataInternals\TdsParserStateObjectHelper.cs" />
294-
<Compile Include="SQL\ConnectionTestWithSSLCert\CertificateTest.cs" />
295-
<Compile Include="SQL\ConnectionTestWithSSLCert\CertificateTestWithTdsServer.cs" />
296-
<Compile Include="SQL\JsonTest\JsonBulkCopyTest.cs" />
297-
<Compile Include="SQL\JsonTest\JsonStreamTest.cs" />
298-
<Compile Include="SQL\JsonTest\JsonTest.cs" />
299-
<Compile Include="SQL\SqlCommand\SqlCommandStoredProcTest.cs" />
300297
<Compile Include="TracingTests\TestTdsServer.cs" />
301298
<Compile Include="XUnitAssemblyAttributes.cs" />
302299
</ItemGroup>

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/AsyncTest/AsyncTest.cs

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)