Imported Upstream version 5.10.0.47

Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-24 17:04:36 +00:00
parent 88ff76fe28
commit e46a49ecf1
5927 changed files with 226314 additions and 129848 deletions

View File

@@ -33,7 +33,6 @@ using System.IO;
using System.Collections.Specialized;
using NUnit.Framework;
using MonoTests.Common;
namespace MonoTests.System.Web {
@@ -55,7 +54,7 @@ namespace MonoTests.System.Web {
public void HtmlAttributeEncode_String_TextWriter ()
{
var sw = new StringWriter ();
AssertExtensions.Throws<ArgumentNullException> (() => {
Assert.Throws<ArgumentNullException> (() => {
HttpUtility.HtmlAttributeEncode ("string", null);
}, "#A1");
@@ -96,7 +95,7 @@ namespace MonoTests.System.Web {
public void HtmlDecode_String_TextWriter ()
{
StringWriter sw;
AssertExtensions.Throws<ArgumentNullException> (() => {
Assert.Throws<ArgumentNullException> (() => {
HttpUtility.HtmlDecode ("string", null);
}, "#A1");
@@ -237,7 +236,7 @@ namespace MonoTests.System.Web {
public void HtmlEncode_2 ()
{
StringWriter sw;
AssertExtensions.Throws<ArgumentNullException> (() => {
Assert.Throws<ArgumentNullException> (() => {
HttpUtility.HtmlEncode ("string", null);
}, "#A1");