Skip to content

Commit

Permalink
Update nunit reference to 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BobSilent committed Apr 3, 2020
1 parent be6d50a commit 7fd8b25
Show file tree
Hide file tree
Showing 7 changed files with 5,726 additions and 5,546 deletions.
Binary file modified lib/mock-assembly.dll
Binary file not shown.
Binary file modified lib/nunit.core.dll
Binary file not shown.
Binary file modified lib/nunit.core.interfaces.dll
Binary file not shown.
Binary file modified lib/nunit.framework.dll
Binary file not shown.
11,266 changes: 5,723 additions & 5,543 deletions lib/nunit.framework.xml

Large diffs are not rendered by default.

Binary file modified lib/nunit.util.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions src/NUnitTestAdapterTests/ProjectTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ public void ThatTheReferenceToMicrosoftTestObjectModelPointsToVS2012Version()
}

[Test]
public void ThatAdapterReferencesThe264VersionOfFramework()
public void ThatAdapterReferencesThe271VersionOfFramework()
{
var dir = Directory.GetCurrentDirectory();
var assembly = Assembly.LoadFrom(dir + "/NUnit.VisualStudio.TestAdapter.dll");
var refNames = assembly.GetReferencedAssemblies().Where(ass => ass.Name == "nunit.core").ToList();
Assert.IsTrue(refNames != null && refNames.Count() == 1, "No reference to Microsoft.VisualStudio.TestPlatform.ObjectModel found");
var nunitVersion = refNames[0].Version;
Assert.IsTrue(nunitVersion.Major == 2 && nunitVersion.Minor == 6 && nunitVersion.Build == 4, "nunit must be of version 2.6.4");
Assert.IsTrue(nunitVersion.Major == 2 && nunitVersion.Minor == 7 && nunitVersion.Build == 1, "nunit must be of version 2.7.1");
}

[Test]
Expand All @@ -64,6 +64,6 @@ public void ThatAllDllsUsedAreNetFramework35()
}
}


}
}

0 comments on commit 7fd8b25

Please sign in to comment.