Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/Test/System.Web.UI.HtmlControls/HtmlTextAreaTest.cs')
-rw-r--r--mcs/class/System.Web/Test/System.Web.UI.HtmlControls/HtmlTextAreaTest.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/mcs/class/System.Web/Test/System.Web.UI.HtmlControls/HtmlTextAreaTest.cs b/mcs/class/System.Web/Test/System.Web.UI.HtmlControls/HtmlTextAreaTest.cs
index eb0eb0e3da1..b7eabf04461 100644
--- a/mcs/class/System.Web/Test/System.Web.UI.HtmlControls/HtmlTextAreaTest.cs
+++ b/mcs/class/System.Web/Test/System.Web.UI.HtmlControls/HtmlTextAreaTest.cs
@@ -64,7 +64,6 @@ namespace MonoTests.System.Web.UI.HtmlControls {
{
base.AddParsedSubObject (o);
}
-#if NET_2_0
public bool LoadPost (string key, NameValueCollection nvc)
{
return base.LoadPostData (key, nvc);
@@ -74,7 +73,6 @@ namespace MonoTests.System.Web.UI.HtmlControls {
{
base.RaisePostDataChangedEvent ();
}
-#endif
}
[TestFixture]
@@ -205,19 +203,13 @@ namespace MonoTests.System.Web.UI.HtmlControls {
UserControl ctrl = new UserControl ();
ctrl.ID = "UC";
Page page = new Page ();
-#if NET_2_0
page.EnableEventValidation = false;
-#endif
TestHtmlTextArea ta = new TestHtmlTextArea ();
page.Controls.Add (ctrl);
ctrl.Controls.Add (ta);
ta.Name = "mono";
ta.ID = "go";
-#if NET_2_0
string expected = "<dummy name=\"UC$go\" id=\"UC_go\" />";
-#else
- string expected = "<dummy name=\"UC:go\" id=\"UC_go\" />";
-#endif
Assert.AreEqual (expected, ta.RenderAttributes ());
}
@@ -330,7 +322,6 @@ namespace MonoTests.System.Web.UI.HtmlControls {
Assert.IsTrue (pbdh.LoadPostData ("id1", nvc), "LoadPostData");
Assert.AreEqual ("mono", ta.Value, "Value");
}
-#if NET_2_0
[Test]
public void RaisePostBackEvent ()
{
@@ -383,6 +374,5 @@ namespace MonoTests.System.Web.UI.HtmlControls {
Assert.IsTrue (ta.LoadPost ("id1", nvc), "LoadPostData");
Assert.AreEqual ("mono", ta.Value, "Value");
}
-#endif
}
}