Author: zoltan Date: 2008-01-20 18:47:06 -0500 (Sun, 20 Jan 2008) New Revision: 93359
Modified: trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ChangeLog trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ResXFileRefTest.cs Log: 2008-01-21 Zoltan Varga <[EMAIL PROTECTED]> * ResXFileRefTest.cs: Add a test for #354994. Modified: trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ChangeLog =================================================================== --- trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ChangeLog 2008-01-20 23:46:18 UTC (rev 93358) +++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ChangeLog 2008-01-20 23:47:06 UTC (rev 93359) @@ -1,3 +1,7 @@ +2008-01-21 Zoltan Varga <[EMAIL PROTECTED]> + + * ResXFileRefTest.cs: Add a test for #354994. + 2008-01-20 Olivier Dufour <[EMAIL PROTECTED]> * ResXResourceReaderTest.cs: Add tests to check GetNodePosition. Modified: trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ResXFileRefTest.cs =================================================================== --- trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ResXFileRefTest.cs 2008-01-20 23:46:18 UTC (rev 93358) +++ trunk/mcs/class/Managed.Windows.Forms/Test/System.Resources/ResXFileRefTest.cs 2008-01-20 23:47:06 UTC (rev 93359) @@ -302,6 +302,15 @@ } [Test] + public void ConvertFrom_Type_MemoryStream () + { + string fileRef = _tempFileUTF7 + ";" + typeof (MemoryStream).AssemblyQualifiedName; + using (MemoryStream ms = (MemoryStream)_converter.ConvertFrom (fileRef)) { + Assert.IsTrue (ms.Length > 0); + } + } + + [Test] public void ConvertTo () { ResXFileRef r = new ResXFileRef ("mono.bmp", "Bitmap"); _______________________________________________ Mono-patches maillist - Mono-patches@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-patches