Skip to content

Commit

Permalink
Fix internals accessibility for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyDurov committed Sep 5, 2023
1 parent 0b97c46 commit 76ad117
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Ben.Demystifier" Version="0.4.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Ben.Demystifier" Version="0.4.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BitzArt.ApiExceptions\BitzArt.ApiExceptions.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BitzArt.ApiExceptions\BitzArt.ApiExceptions.csproj" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>BitzArt.ApiExceptions.AspNetCore.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<AssemblyName>BitzArt.ApiExceptions.OpenTelemetry</AssemblyName>
<RootNamespace>BitzArt.ApiExceptions.OpenTelemetry</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<AssemblyName>BitzArt.ApiExceptions.OpenTelemetry</AssemblyName>
<RootNamespace>BitzArt.ApiExceptions.OpenTelemetry</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>

<PackageId>BitzArt.ApiExceptions.OpenTelemetry</PackageId>
<Authors>BitzArt</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/BitzArt/ApiExceptions</RepositoryUrl>
<PackageId>BitzArt.ApiExceptions.OpenTelemetry</PackageId>
<Authors>BitzArt</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/BitzArt/ApiExceptions</RepositoryUrl>

<Nullable>enable</Nullable>
</PropertyGroup>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="OpenTelemetry" Version="1.5.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="OpenTelemetry" Version="1.5.1" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>BitzArt.ApiExceptions.OpenTelemetry.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

</Project>
28 changes: 17 additions & 11 deletions src/BitzArt.ApiExceptions/BitzArt.ApiExceptions.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Nullable>enable</Nullable>
<RootNamespace>BitzArt.ApiExceptions</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Nullable>enable</Nullable>
<RootNamespace>BitzArt.ApiExceptions</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>

<PackageId>BitzArt.ApiExceptions</PackageId>
<Authors>BitzArt</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/BitzArt/ApiExceptions</RepositoryUrl>
</PropertyGroup>
<PackageId>BitzArt.ApiExceptions</PackageId>
<Authors>BitzArt</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/BitzArt/ApiExceptions</RepositoryUrl>
</PropertyGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>BitzArt.ApiExceptions.Tests</_Parameter1>
</AssemblyAttribute>
</ItemGroup>

</Project>

0 comments on commit 76ad117

Please sign in to comment.