Author: krasnov
Date: 2006-07-25 10:18:06 -0400 (Tue, 25 Jul 2006)
New Revision: 62960
Modified:
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/MultiViewTest.cs
Log:
* MultiViewTest.cs: added test
Modified: trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
2006-07-25 14:14:02 UTC (rev 62959)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/ChangeLog
2006-07-25 14:18:06 UTC (rev 62960)
@@ -1,5 +1,9 @@
2006-07-25 Vladimir Krasnov <[EMAIL PROTECTED]>
+ * MultiViewTest.cs: added test
+
+2006-07-25 Vladimir Krasnov <[EMAIL PROTECTED]>
+
* GridViewTest.cs:
* ViewTest.cs:
* WizardStepBaseTest.cs:
@@ -101,7 +105,7 @@
2006-07-13 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
- * DataListTest.cs: new test for templated items. Patch by Jarosław
+ * DataListTest.cs: new test for templated items. Patch by Jaros?aw
Pawlak.
2006-07-12 Yoni Klain <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/MultiViewTest.cs
===================================================================
--- trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/MultiViewTest.cs
2006-07-25 14:14:02 UTC (rev 62959)
+++ trunk/mcs/class/System.Web/Test/System.Web.UI.WebControls/MultiViewTest.cs
2006-07-25 14:18:06 UTC (rev 62960)
@@ -216,7 +216,7 @@
m.Controls.Add (v);
m.SetActiveView (v);
string html = m.Render ();
- Assert.AreEqual (m.Render (), "<input type=\"submit\"
name=\"test\" value=\"\" id=\"test\" />", "ButtonRender");
+ Assert.AreEqual ("<input type=\"submit\" name=\"test\"
value=\"\" id=\"test\" />", html, "ButtonRender");
}
[Test]
@@ -339,7 +339,14 @@
PokerMultiView pmv = new PokerMultiView ();
Button b1 = new Button ();
pmv.DoAddParsedSubObject (b1);
+ }
+ [Test]
+ public void MultiView_AddParsedSubObjectExeption2 ()
+ {
+ PokerMultiView pmv = new PokerMultiView ();
+ LiteralControl l1 = new LiteralControl ("literal");
+ pmv.DoAddParsedSubObject (l1);
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches