diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2014-11-19 17:12:15 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2014-11-19 17:12:15 +0300 |
commit | bb90a4eee27261090b7b58f0cce3186642f20509 (patch) | |
tree | 51dc1feed44264edcdba86420848f178453b95aa /main/src/addins/NUnit | |
parent | 33c9b6d2c67632a3b3ed16285f169fee3dcfa1f5 (diff) |
Fixed 'Bug 24635 - Nunit runner has trouble when class with
TestFixture is defined without a namespace. '.
Diffstat (limited to 'main/src/addins/NUnit')
-rw-r--r-- | main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs b/main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs index 8f1e45b034..0379777126 100644 --- a/main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs +++ b/main/src/addins/NUnit/Services/NUnitProjectTestSuite.cs @@ -77,7 +77,7 @@ namespace MonoDevelop.NUnit if (string.IsNullOrEmpty (fixtureTypeName) || string.IsNullOrEmpty (fixtureTypeName)) return null; var ctx = TypeSystemService.GetCompilation (project); - var cls = ctx.MainAssembly.GetTypeDefinition (fixtureTypeNamespace, fixtureTypeName, 0); + var cls = ctx.MainAssembly.GetTypeDefinition (fixtureTypeNamespace ?? "", fixtureTypeName, 0); if (cls == null) return null; |