* IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.
authorCarlos Alberto Cortez <calberto.cortez@gmail.com>
Tue, 8 Jun 2010 00:00:34 +0000 (00:00 -0000)
committerCarlos Alberto Cortez <calberto.cortez@gmail.com>
Tue, 8 Jun 2010 00:00:34 +0000 (00:00 -0000)
2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

svn path=/trunk/mcs/; revision=158613

mcs/class/corlib/Test/System.IO.IsolatedStorage/ChangeLog
mcs/class/corlib/Test/System.IO.IsolatedStorage/IsolatedStorageFileTest.cs

index 16db131582e43c0209154b81430cd8ef914e89bd..2e7f71fc86c0cce7376abbccacf50ca01a9e5369 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+       * IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.
+
 2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>
 
        * IsolatedStorageFileTest.cs: New test for DeleteFile.
index a88868f7785f6ed612aed55302ee247fce776a31..bebbe8f15c8e68f7374c98b38b001b4340bfe8a6 100644 (file)
@@ -219,6 +219,16 @@ namespace MonoTests.System.IO.IsolatedStorageTest {
                }
 #endif
 
+#if NET_4_0
+               // This is supposed to be working only in SL.
+               [Test]
+               [ExpectedException (typeof (NotSupportedException))]
+               public void GetUserStoreForSite ()
+               {
+                       IsolatedStorageFile.GetUserStoreForSite ();
+               }
+#endif
+
                [Test]
                public void GetStore_Domain_Zone ()
                {