Browse Source

comments

af/octree-no-pixelmap
Anton Firszov 6 years ago
parent
commit
da8fcfc4a8
  1. 4
      tests/ImageSharp.Tests/TestUtilities/BasicSerializer.cs
  2. 5
      tests/NuGet.config

4
tests/ImageSharp.Tests/TestUtilities/BasicSerializer.cs

@ -11,7 +11,9 @@ using Xunit.Abstractions;
namespace SixLabors.ImageSharp.Tests.TestUtilities
{
/// <summary>
/// <see cref="IXunitSerializationInfo"/>-compatible serialization for cross-process use-cases.
/// RemoteExecutor can only execute static methods, which can only consume static arguments.
/// To overcome this, data has to be serialized to string. This utility allows serialization
/// of <see cref="IXunitSerializable"/> types to strings.
/// </summary>
internal class BasicSerializer : IXunitSerializationInfo
{

5
tests/NuGet.config

@ -2,7 +2,10 @@
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<!-- For RemoteExecutor: -->
<!--
Contains RemoteExecutor. Taken from:
https://github.com/dotnet/runtime/blob/master/NuGet.config
-->
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
</packageSources>
</configuration>

Loading…
Cancel
Save