コード例 #1
0
 public void InvalidRunnerTargetFrameworkCombinations(FrameworkCombo combo)
 {
     Assert.That(() => ExtensionService.CanLoadTargetFramework(combo.RunnerAssembly, combo.ExtensionAssembly),
                 Throws.Exception.TypeOf <NUnitEngineException>().And.Message.Contains("not .NET Standard"));
 }
コード例 #2
0
 public void InvalidTargetFrameworkCombinations(FrameworkCombo combo)
 {
     Assert.That(() => ExtensionService.CanLoadTargetFramework(combo.RunnerAssembly, combo.ExtensionAssembly),
                 Is.False);
 }