Skip to content

Commit

Permalink
Merge pull request #13 from SteveDunn/update-to-use-new-vogen
Browse files Browse the repository at this point in the history
Update to use new vogen
  • Loading branch information
SteveDunn authored Jan 7, 2022
2 parents 7f1cd03 + fa958cf commit 51b13a8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/PacMan.GameComponents/PacMan.GameComponents.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
<ItemGroup>
<PackageReference Include="Blazor.Extensions.Canvas" Version="1.1.1" />
<PackageReference Include="jetbrains.annotations" Version="2021.3.0" />
<PackageReference Include="MediatR" Version="9.0.0" />
<PackageReference Include="Microsoft.JSInterop" Version="6.0.0" />
<PackageReference Include="MediatR" Version="10.0.0" />
<PackageReference Include="Microsoft.JSInterop" Version="6.0.1" />
<PackageReference Include="MinVer" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
<PackageReference Include="Vogen" Version="1.0.12" />
<PackageReference Include="Vogen" Version="1.0.15" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/PacMan/PacMan.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

<ItemGroup>
<PackageReference Include="Blazor.Extensions.Canvas" Version="1.1.1" />
<PackageReference Include="MediatR" Version="9.0.0" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0" PrivateAssets="all" />
<PackageReference Include="MediatR" Version="10.0.0" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="10.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.1" PrivateAssets="all" />
<PackageReference Include="MinVer" Version="2.5.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
4 changes: 2 additions & 2 deletions test/SmallTests/SmallTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<ItemGroup>
<PackageReference Include="AutoFixture" Version="4.17.0" />
<PackageReference Include="AutoFixture.AutoNSubstitute" Version="4.17.0" />
<PackageReference Include="FluentAssertions" Version="6.2.0" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
<PackageReference Include="FluentAssertions" Version="6.3.0" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="10.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.0.0" />
<PackageReference Include="NSubstitute" Version="4.2.2" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
11 changes: 11 additions & 0 deletions test/SmallTests/TestDoubles/StubbedMediator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ public class StubbedMediator : IMediator

public Task<object?> Send(object request, CancellationToken cancellationToken = new CancellationToken()) => throw new NotImplementedException();

public IAsyncEnumerable<TResponse> CreateStream<TResponse>(IStreamRequest<TResponse> request,
CancellationToken cancellationToken = new CancellationToken())
{
throw new NotImplementedException();
}

public IAsyncEnumerable<object?> CreateStream(object request, CancellationToken cancellationToken = new CancellationToken())
{
throw new NotImplementedException();
}

public Task Publish(object notification, CancellationToken cancellationToken = new CancellationToken()) => Task.CompletedTask;

public Task Publish<TNotification>(TNotification notification, CancellationToken cancellationToken = new CancellationToken()) where TNotification : INotification => Task.CompletedTask;
Expand Down

0 comments on commit 51b13a8

Please sign in to comment.