You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
@ -170,10 +170,10 @@ namespace MonoTests.System.Web.UI {
|
||||
[Test]
|
||||
public void EscapeUrl ()
|
||||
{
|
||||
w.AddAttribute (HtwAttribute.Href, "http://www.google.com/search?hl=en&q=i+love+nunit&btnG=Google+Search");
|
||||
w.AddAttribute (HtwAttribute.Href, "http://www.example.com/search?hl=en&q=i+love+nunit&btnG=Google+Search");
|
||||
w.RenderBeginTag (HtwTag.A);
|
||||
w.RenderEndTag ();
|
||||
Assert.AreEqual ("<a href=\"http://www.google.com/search?hl=en&q=i+love+nunit&btnG=Google+Search\"></a>", sw.ToString ());
|
||||
Assert.AreEqual ("<a href=\"http://www.example.com/search?hl=en&q=i+love+nunit&btnG=Google+Search\"></a>", sw.ToString ());
|
||||
}
|
||||
|
||||
// Which attrs fall here
|
||||
@ -377,11 +377,11 @@ namespace MonoTests.System.Web.UI {
|
||||
[Test]
|
||||
public void AddStyleAttribute1 ()
|
||||
{
|
||||
w.AddStyleAttribute (HtmlTextWriterStyle.BackgroundImage, "http://www.go-mono.com/");
|
||||
w.AddStyleAttribute (HtmlTextWriterStyle.BackgroundImage, "http://www.example.com/");
|
||||
w.RenderBeginTag ("div");
|
||||
w.RenderEndTag ();
|
||||
|
||||
Assert.AreEqual ("<div style=\"background-image:url(http://www.go-mono.com/);\">\n\n</div>", sw.ToString ());
|
||||
Assert.AreEqual ("<div style=\"background-image:url(http://www.example.com/);\">\n\n</div>", sw.ToString ());
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user