Skip to content

Commit 41b9345

Browse files
authored
Test | Expose internal types to ManualTests (#3239)
* Expose internals to manual tests project. * Also expose to functional tests. * Move compile element * Remove FunctionalTests.
1 parent 414f016 commit 41b9345

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/Microsoft.Data.SqlClient/netcore/src/Microsoft.Data.SqlClient.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
<PropertyGroup>
3333
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFramework)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
3434
</PropertyGroup>
35+
<ItemGroup>
36+
<InternalsVisibleTo Include="ManualTests" />
37+
</ItemGroup>
3538
<ItemGroup>
3639
<EmbeddedFiles Include="$(GeneratedAssemblyInfoFile)" />
3740
<EmbeddedFiles Include="$(TargetFrameworkMonikerAssemblyAttributesPath)" />
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
using System.Runtime.CompilerServices;
2+
3+
[assembly: InternalsVisibleTo("ManualTests")]

src/Microsoft.Data.SqlClient/netfx/src/Microsoft.Data.SqlClient.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -858,6 +858,7 @@
858858
</Compile>
859859
</ItemGroup>
860860
<ItemGroup>
861+
<Compile Include="AssemblyInfo.cs" />
861862
<Compile Include="Common\Microsoft\Data\Common\NameValuePermission.cs" />
862863
<Compile Include="Microsoft\Data\Common\DbConnectionOptions.cs" />
863864
<Compile Include="Microsoft\Data\Common\DbConnectionString.cs" />

0 commit comments

Comments
 (0)