Skip to content

Commit b0e7d99

Browse files
authored
Allow testing of the internal methods (#421)
1 parent 0fe237f commit b0e7d99

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
using System.Runtime.CompilerServices;
2+
3+
[assembly: InternalsVisibleTo("KubernetesClient.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004917ad4e106c573cc5dbb3b7456de8b6c07128ae43de292752b339eb423de60f0db6a6c0cb21e6640fc672cc84df4a772db85df1505e5dd08c98d5d115eed7a7b59c67fe1f4b32fa716b7177743a417b3fcf88606861650a81f565ac6614abbf8b6b7710436edb497a83974165f9fe6995b70af13047a110bf63cdbfa45f89ac")]
4+
[assembly: InternalsVisibleTo("KubernetesClient.Informers.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001004917ad4e106c573cc5dbb3b7456de8b6c07128ae43de292752b339eb423de60f0db6a6c0cb21e6640fc672cc84df4a772db85df1505e5dd08c98d5d115eed7a7b59c67fe1f4b32fa716b7177743a417b3fcf88606861650a81f565ac6614abbf8b6b7710436edb497a83974165f9fe6995b70af13047a110bf63cdbfa45f89ac")]

tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj

+4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<IsPackable>false</IsPackable>
4+
<LangVersion>8</LangVersion>
5+
<SignAssembly>true</SignAssembly>
6+
<AssemblyOriginatorKeyFile>..\..\src\KubernetesClient\kubernetes-client.snk</AssemblyOriginatorKeyFile>
47
<RootNamespace>k8s.Tests</RootNamespace>
58
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0</TargetFrameworks>
69
</PropertyGroup>
710

811
<ItemGroup>
12+
<PackageReference Include="FluentAssertions" Version="5.10.3" />
913
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.9">
1014
<!-- this is due to aspnet core 2.1 is not compatible with our code -->
1115
<AllowExplicitVersion>true</AllowExplicitVersion>

0 commit comments

Comments
 (0)