Пример #1
0
        public async Task MissingTarget()
        {
            var runSettings = new RunSynthesisPatcher();
            var run         = new CliPatcherRun("Missing", "Missing.exe", pathToExtra: null);
            await run.Prep(Mutagen.Bethesda.GameRelease.Oblivion, CancellationToken.None);

            await Assert.ThrowsAsync <FileNotFoundException>(async() =>
            {
                await run.Run(runSettings, CancellationToken.None);
            });
        }
Пример #2
0
 public async Task PassesSettingsToConverter(
     RunSynthesisPatcher runSettings,
     CancellationToken cancel,
     CliPatcherRun sut)
 {
     sut.ProcessRunner.Run(default !, default !, default).ReturnsForAnyArgs(0);