diff options
author | Matt Ward <matt.ward@microsoft.com> | 2018-01-19 20:33:07 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@microsoft.com> | 2018-01-19 20:39:49 +0300 |
commit | a13a63121bcd70536e1ac8b71d3a32ee640ee64d (patch) | |
tree | f2459066ea83025496862ac93c55aa8abbe0c970 /main/src/addins/MonoDevelop.UnitTesting.NUnit | |
parent | b72f2ea740e601900855f70963e7c3bc5d7fcd5e (diff) |
[NUnit] NUnit PackageReference not recognized
The Unit Tests window would not show any unit tests when the project
contained an NUnit PackageReference. The NUnit addin was looking
for a PackageReference that contained 'nunit.framework'. Now a
check is made for 'nunit' instead.
VSTS 536137
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting.NUnit')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs index fdfa713318..5754973567 100644 --- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs +++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitProjectTestSuite.cs @@ -135,7 +135,7 @@ namespace MonoDevelop.UnitTesting.NUnit { if (p.Include.IndexOf ("GuiUnit", StringComparison.OrdinalIgnoreCase) != -1) return NUnitVersion.NUnit2; - if (p.Include.IndexOf ("nunit.framework", StringComparison.OrdinalIgnoreCase) != -1) + if (p.Include.IndexOf ("nunit", StringComparison.OrdinalIgnoreCase) != -1) return p.IsAtLeastVersion (new Version (3, 0)) ? NUnitVersion.NUnit3 : NUnitVersion.NUnit2; return null; } |