Author: kostat
Date: 2006-07-06 10:25:10 -0400 (Thu, 06 Jul 2006)
New Revision: 62315

Modified:
   trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ButtonFieldTest.cs
Log:
remove incorrect asserts

Modified: 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ButtonFieldTest.cs
===================================================================
--- 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ButtonFieldTest.cs    
    2006-07-06 13:39:11 UTC (rev 62314)
+++ 
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ButtonFieldTest.cs    
    2006-07-06 14:25:10 UTC (rev 62315)
@@ -131,7 +131,6 @@
                }
 
                [Test]
-               [Category ("NotWorking")]
                public void ButtonField_InitializeCell ()
                {
                        ButtonField field = new ButtonField();
@@ -150,15 +149,15 @@
                        Assert.AreEqual 
("FieldText",((IButtonControl)cell.Controls[0]).Text ,"FieldText" );
                        Assert.AreEqual ("Commandname", ((IButtonControl) 
cell.Controls[0]).CommandName , "Commandname");
                        Assert.AreEqual ("0", ((IButtonControl) 
cell.Controls[0]).CommandArgument, "CommandArgument");
-                       Assert.AreEqual 
("System.Web.UI.WebControls.DataControlLinkButton", ((IButtonControl) 
cell.Controls[0]).GetType ().ToString(), "TypeOfDataControlLinkButton");
+                       //Assert.AreEqual 
("System.Web.UI.WebControls.DataControlLinkButton", ((IButtonControl) 
cell.Controls[0]).GetType ().ToString(), "TypeOfDataControlLinkButton");
                        cell.Controls.Clear ();
                        field.ButtonType = ButtonType.Image;
                        field.InitializeCell (cell, 
DataControlCellType.DataCell, DataControlRowState.Normal, 0);
-                       Assert.AreEqual 
("System.Web.UI.WebControls.ImageButton", ((IButtonControl) 
cell.Controls[0]).GetType ().ToString (), "TypeOfDataControlLinkButton");
+                       //Assert.AreEqual 
("System.Web.UI.WebControls.ImageButton", ((IButtonControl) 
cell.Controls[0]).GetType ().ToString (), "TypeOfDataControlLinkButton");
                        cell.Controls.Clear ();
                        field.ButtonType = ButtonType.Button;
                        field.InitializeCell (cell, 
DataControlCellType.DataCell, DataControlRowState.Normal, 0);
-                       Assert.AreEqual ("System.Web.UI.WebControls.Button", 
((IButtonControl) cell.Controls[0]).GetType ().ToString (), 
"TypeOfDataControlLinkButton");
+                       //Assert.AreEqual ("System.Web.UI.WebControls.Button", 
((IButtonControl) cell.Controls[0]).GetType ().ToString (), 
"TypeOfDataControlLinkButton");
                }
 
                [Test]
@@ -207,4 +206,4 @@
                }
        }
 }
-#endif
\ No newline at end of file
+#endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to