Install cef in .App.Test

This commit is contained in:
Timothy Baldridge 2021-10-23 21:19:02 -06:00
parent 89114cab05
commit ecdf33df2a
3 changed files with 7 additions and 3 deletions

View File

@ -24,4 +24,9 @@
<ProjectReference Include="..\Wabbajack.App\Wabbajack.App.csproj"/> <ProjectReference Include="..\Wabbajack.App\Wabbajack.App.csproj"/>
</ItemGroup> </ItemGroup>
<Target Name="AferBuild" AfterTargets="Build" Condition="!Exists('$(ProjectDir)$(OutDir)libcef.dll')">
<Message Text="Downloading Cef"/>
<Exec Command="dotnet run --project $(ProjectDir)../Wabbajack.CLI/Wabbajack.CLI.csproj -- download-cef -f $(ProjectDir)$(OutDir)"/>
</Target>
</Project> </Project>

View File

@ -33,9 +33,8 @@ public class CompilerSanityTests : IAsyncLifetime
public CompilerSanityTests(ILogger<CompilerSanityTests> logger, IServiceProvider serviceProvider, public CompilerSanityTests(ILogger<CompilerSanityTests> logger, IServiceProvider serviceProvider,
FileExtractor.FileExtractor fileExtractor, FileExtractor.FileExtractor fileExtractor,
TemporaryFileManager manager, ParallelOptions parallelOptions, LoggingRateLimiterReporter reporter) TemporaryFileManager manager, ParallelOptions parallelOptions)
{ {
_reporter = reporter;
_logger = logger; _logger = logger;
_serviceProvider = serviceProvider; _serviceProvider = serviceProvider;
_scope = _serviceProvider.CreateScope(); _scope = _serviceProvider.CreateScope();

View File

@ -19,7 +19,7 @@ public class DownloaderTests
private readonly DownloadDispatcher _dispatcher; private readonly DownloadDispatcher _dispatcher;
private readonly TemporaryFileManager _temp; private readonly TemporaryFileManager _temp;
public DownloaderTests(DownloadDispatcher dispatcher, TemporaryFileManager temp, LoggingRateLimiterReporter _) public DownloaderTests(DownloadDispatcher dispatcher, TemporaryFileManager temp)
{ {
_temp = temp; _temp = temp;
_dispatcher = dispatcher; _dispatcher = dispatcher;