{
return base.CreateControlStyle ();
}
-#if NET_2_0
protected override void RaisePostBackEvent (string argument)
{
WebTest.CurrentTest.UserData = "RaisePostBackEvent";
base.RaisePostBackEvent (argument);
}
-#endif
}
Assert.AreEqual ("table", t.Tag, "TagName");
Assert.AreEqual (0, t.Attributes.Count, "Attributes.Count-2");
Assert.AreEqual (0, t.StateBag.Count, "ViewState.Count-2");
-#if NET_2_0
Assert.AreEqual (String.Empty, t.Caption, "Caption");
Assert.AreEqual (TableCaptionAlign.NotSet, t.CaptionAlign, "CaptionAlign");
-#endif
}
-#if NET_2_0
[Test]
public void Caption ()
{
#endif
HtmlDiff.AssertAreEqual (orig, html, "CaptionAlign");
}
-#endif
[Test]
public void NullProperties ()
{
t.BackImageUrl = String.Empty;
}
-#if NET_2_0
[Test]
[Category ("NunitWeb")]
public void RenderInAspxPage ()
p.Form.Controls.Add (t);
p.Controls.Add (t);
}
-#endif
[Test]
public void CreateControlStyle ()
#endif
}
-#if NET_2_0
[Test]
[Category("NunitWeb")] // Note: No event fired , only flow been checked.
public void RaisePostBackEvent ()
{
WebTest.Unload ();
}
-#endif
}
}