[bcl] Fix test suites.
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 19 Feb 2014 19:19:35 +0000 (14:19 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 19 Feb 2014 19:19:35 +0000 (14:19 -0500)
mcs/class/System/Test/System.Collections.Generic/SortedListTest.cs
mcs/class/corlib/Test/System.Collections.Concurrent/ConcurrentDictionaryTests.cs

index d93fc9395b59e937e60d2cf1ba825df0b6c82f7c..2371500bd746f07bf02ec8f013074cba4d74e4eb 100644 (file)
@@ -520,7 +520,7 @@ namespace MonoTests.System.Collections.Generic
                [Test]
                public void IDictionaryNullOnNonExistingKey ()
                {
-                       System.Collections.IDictionary list = new SortedList<long, string> ();
+                       IDictionary list = new SortedList<long, string> ();
                        object val = list [1234L];
                        Assert.IsNull (val);
                }
index 50001aa4e5c7923dc8de14c024c9d2ec6cb1a757..698a25588f63abdaca2e1f7553533ca6fc5e512a 100644 (file)
@@ -27,6 +27,7 @@ using System;
 using System.Linq;
 using System.Threading;
 using MonoTests.System.Threading.Tasks;
+using System.Collections;
 using System.Collections.Generic;
 using System.Collections.Concurrent;
 
@@ -339,7 +340,7 @@ namespace MonoTests.System.Collections.Concurrent
                [Test]
                public void IDictionaryNullOnNonExistingKey ()
                {
-                       System.Collections.IDictionary dict = new ConcurrentDictionary<long, string> ();
+                       IDictionary dict = new ConcurrentDictionary<long, string> ();
                        object val = dict [1234L];
                        Assert.IsNull (val);
                }