2008-07-02 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Wed, 2 Jul 2008 08:44:05 +0000 (08:44 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 2 Jul 2008 08:44:05 +0000 (08:44 -0000)
* SqlDataSourceTest.cs: command parameters are constructed from
reversed order of keys in an IOrderedDictionary - fix the order in
some tests.

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

mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
mcs/class/System.Web/Test/System.Web.UI.WebControls/SqlDataSourceTest.cs

index 60324277f7773922782eb70ced6118feb9078745..4dbc32513224bb259a35af987784c7923f3823a8 100644 (file)
@@ -1,3 +1,9 @@
+2008-07-02  Marek Habersack  <mhabersack@novell.com>
+
+       * SqlDataSourceTest.cs: command parameters are constructed from
+       reversed order of keys in an IOrderedDictionary - fix the order in
+       some tests.
+
 2008-05-18  Marek Habersack  <mhabersack@novell.com>
 
        * HierarchicalDataBoundControlTest.cs: Added 
index fc35f89d453316b87ce3cd91b5ef35b7160e18ef..ea8e6d6cae677036887c783e3bcac9c6df97e036 100644 (file)
@@ -505,7 +505,7 @@ namespace MonoTests.System.Web.UI.WebControls
                        view.Delete (keys, oldValues);\r
 \r
                        Assert.IsNotNull (CustomEventParameterCollection, "KeysAndOldValues_CompareAllValues");\r
-                       Assert.AreEqual ("String:@origin_ProductID=ov_10, String:@origin_Description=ov_Beautifull, String:@origin_Name=ov_ColorTV", PassedParameters, "KeysAndOldValues_CompareAllValues Values");\r
+                       Assert.AreEqual ("String:@origin_ProductID=ov_10, String:@origin_Name=ov_ColorTV, String:@origin_Description=ov_Beautifull", PassedParameters, "KeysAndOldValues_CompareAllValues Values");\r
                }\r
 \r
                [Test]\r
@@ -528,9 +528,9 @@ namespace MonoTests.System.Web.UI.WebControls
                        Assert.IsNotNull (CustomEventParameterCollection, "ExecuteDelete_KeysAndOldValues_CompareAllValues2");\r
                        string [] expectedParams = new string []\r
                                                { \r
-                                                       "String:@origin_ProductID=ov_10", \r
-                                                       "String:@origin_Description=ov_Beautifull",\r
-                                                       "String:@origin_Name=ov_ColorTV" \r
+                                                       "String:@origin_ProductID=ov_10",\r
+                                                       "String:@origin_Name=ov_ColorTV",\r
+                                                       "String:@origin_Description=ov_Beautifull"\r
                                                };\r
                        string [] actualValues = PassedParameters.Split (new string [] { ", " }, StringSplitOptions.RemoveEmptyEntries);\r
                        Assert.AreEqual (expectedParams.Length, actualValues.Length, "ExecuteDelete_KeysAndOldValues_CompareAllValues2 Params count");\r