diff options
author | Keting Yang <ketyang@microsoft.com> | 2019-12-19 18:48:35 +0300 |
---|---|---|
committer | monojenkins <jo.shields+jenkins@xamarin.com> | 2020-01-09 13:21:46 +0300 |
commit | 039f61d7a739b5306868ca066eee264a2c5f737c (patch) | |
tree | 6a3a06a70ec240f161b9c37d80dfa4a5d9ecf46f /main/src/addins/MonoDevelop.UnitTesting.NUnit | |
parent | 9337665735ea08781263883172b8fc7b77063d65 (diff) |
Update file
Diffstat (limited to 'main/src/addins/MonoDevelop.UnitTesting.NUnit')
-rw-r--r-- | main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs index 8d3083a973..cec5faa31e 100644 --- a/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs +++ b/main/src/addins/MonoDevelop.UnitTesting.NUnit/MonoDevelop.UnitTesting.NUnit/NUnitAssemblyTestSuite.cs @@ -275,12 +275,12 @@ namespace MonoDevelop.UnitTesting.NUnit newTest.FixtureTypeNamespace = test.FixtureTypeNamespace; Tests.Add (newTest); - Queue queue = new Queue (); + var queue = new Queue<NUnitTestSuite> (); queue.Enqueue (newTest); var forceLoad = newTest.Tests; while (queue.Count != 0) { - NUnitTestSuite unhandledList = (NUnitTestSuite) queue.Dequeue (); + NUnitTestSuite unhandledList = queue.Dequeue (); foreach (NUnitTestSuite unhandeledTest in unhandledList.UnhandledTests) { Tests.Add (unhandeledTest); } |