Fix #1502 - Remove duplicate unit tests
This commit is contained in:
parent
90e41b905a
commit
e37f1ad85f
|
|
@ -72,8 +72,6 @@ namespace Microsoft.AspNet.Mvc.Core.Test
|
||||||
[InlineData("/", "~/", "/")]
|
[InlineData("/", "~/", "/")]
|
||||||
[InlineData("", "~/Home/About", "/Home/About")]
|
[InlineData("", "~/Home/About", "/Home/About")]
|
||||||
[InlineData("/myapproot", "~/", "/myapproot/")]
|
[InlineData("/myapproot", "~/", "/myapproot/")]
|
||||||
[InlineData("", "~/Home/About", "/Home/About")]
|
|
||||||
[InlineData("/myapproot", "~/", "/myapproot/")]
|
|
||||||
public void Execute_ReturnsAppRelativePath_WhenItStartsWithTilde(string appRoot,
|
public void Execute_ReturnsAppRelativePath_WhenItStartsWithTilde(string appRoot,
|
||||||
string contentPath,
|
string contentPath,
|
||||||
string expectedPath)
|
string expectedPath)
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,6 @@ namespace Microsoft.AspNet.Mvc.ApplicationModels
|
||||||
[InlineData("/", "", "")]
|
[InlineData("/", "", "")]
|
||||||
[InlineData("", "/", "")]
|
[InlineData("", "/", "")]
|
||||||
[InlineData("/", "/", "")]
|
[InlineData("/", "/", "")]
|
||||||
[InlineData("/", "/", "")]
|
|
||||||
[InlineData("~/", null, "")]
|
[InlineData("~/", null, "")]
|
||||||
[InlineData("~/", "", "")]
|
[InlineData("~/", "", "")]
|
||||||
[InlineData("~/", "/", "")]
|
[InlineData("~/", "/", "")]
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,6 @@ namespace Microsoft.AspNet.Mvc.Core.Test
|
||||||
[InlineData("HtTpS://///www.example.com/foo.html")]
|
[InlineData("HtTpS://///www.example.com/foo.html")]
|
||||||
[InlineData("http:///www.example.com/foo.html")]
|
[InlineData("http:///www.example.com/foo.html")]
|
||||||
[InlineData("http:////www.example.com/foo.html")]
|
[InlineData("http:////www.example.com/foo.html")]
|
||||||
[InlineData("http://///www.example.com/foo.html")]
|
|
||||||
public void IsLocalUrl_RejectsUrlsWithTooManySchemeSeparatorCharacters(string url)
|
public void IsLocalUrl_RejectsUrlsWithTooManySchemeSeparatorCharacters(string url)
|
||||||
{
|
{
|
||||||
// Arrange
|
// Arrange
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue