-index
+ @"index
partial
mypartial
";
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs
index cf43a4d771..4d4b0d911b 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorPageExecutionInstrumentationTest.cs
@@ -23,7 +23,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
{
var expected = @"
2147483647
-
viewstart-content
page-content
@@ -32,7 +31,6 @@ page-content
var expectedLineMappings = new[]
{
- Tuple.Create(90, 1, true),
Tuple.Create(92, 16, false),
Tuple.Create(108, 1, true),
Tuple.Create(0, 2, true),
@@ -52,30 +50,26 @@ page-content
var expected2 = @"
2147483647
-
viewstart-content
view-with-partial-content
-
partial-content
-
partial-content
";
var expectedLineMappings2 = new[]
{
- Tuple.Create(90, 1, true),
Tuple.Create(92, 16, false),
Tuple.Create(108, 1, true),
Tuple.Create(0, 26, true),
Tuple.Create(27, 39, false),
// Html.PartialAsync()
- Tuple.Create(27, 3, true),
+ Tuple.Create(28, 2, true),
Tuple.Create(30, 8, true),
Tuple.Create(38, 4, false),
Tuple.Create(42, 1, true),
Tuple.Create(43, 20, true),
Tuple.Create(66, 1, true),
// Html.RenderPartial()
- Tuple.Create(27, 3, true),
+ Tuple.Create(28, 2, true),
Tuple.Create(30, 8, true),
Tuple.Create(38, 4, false),
Tuple.Create(42, 1, true),
@@ -179,7 +173,6 @@ view-with-partial-content
// Arrange - 1
var expectedLineMappings = new[]
{
- Tuple.Create(90, 1, true),
Tuple.Create(92, 16, false),
Tuple.Create(108, 1, true),
Tuple.Create(0, 2, true),
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs
index ebfb970c3b..1715bc6e58 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs
@@ -46,8 +46,7 @@ _ViewStart that specifies partial Layout
public async Task PartialLayoutPaths_SpecifiedInPage_GetResolvedByViewEngine(string actionName)
{
var expected =
-@"
-Layout specified in page
+@"Layout specified in page
";
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
var client = server.CreateClient();
@@ -65,8 +64,7 @@ Layout specified in page
public async Task NonPartialLayoutPaths_GetResolvedByViewEngine(string actionName)
{
var expected =
-@"
-Page With Non Partial Layout
+@"Page With Non Partial Layout
";
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
var client = server.CreateClient();
@@ -86,7 +84,6 @@ Page With Non Partial Layout
{
var expected =
@"
-
Non Shared Partial
";
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelpersTest.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelpersTest.cs
index 02608163ba..383979c20c 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelpersTest.cs
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/TagHelpersTest.cs
@@ -108,46 +108,34 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
{
"ViewWithLayoutAndNestedTagHelper",
@"layout:root-content
-
-
nested-content "
},
{
"ViewWithInheritedRemoveTagHelper",
@"layout:root-content
-
-
page:
nested-content "
},
{
"ViewWithInheritedTagHelperPrefix",
@"layout:root-content
-
-
page:root-content "
},
{
"ViewWithOverriddenTagHelperPrefix",
@"layout:root-content
-
-
page:root-content "
},
{
"ViewWithNestedInheritedTagHelperPrefix",
@"layout:root-content
-
-
page:root-content "
},
{
"ViewWithNestedOverriddenTagHelperPrefix",
@"layout:root-content
-
-
page:root-content "
},
};
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/ViewEngineTests.cs b/test/Microsoft.AspNet.Mvc.FunctionalTests/ViewEngineTests.cs
index 5eeff1bd97..b8c5eb2fcb 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/ViewEngineTests.cs
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/ViewEngineTests.cs
@@ -31,7 +31,6 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
{
"ViewWithLayout",
@"
-
ViewWithLayout-Content
"
};
@@ -39,7 +38,6 @@ ViewWithLayout-Content
{
"ViewWithFullPath",
@"
-
ViewWithFullPath-content
"
};
@@ -47,10 +45,8 @@ ViewWithFullPath-content
{
"ViewWithNestedLayout",
@"
-
/ViewEngine/ViewWithNestedLayout
-
ViewWithNestedLayout-Content
"
@@ -119,9 +115,7 @@ test-value";
{
var expected =
@"Page title
-
-partial-content
-component-content";
+partial-contentcomponent-content";
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
var client = server.CreateClient();
@@ -212,7 +206,6 @@ expander-partial";
{
"PartialViewWithNamePassedIn",
@"
-
ViewWithLayout-Content
"
};
@@ -220,7 +213,6 @@ ViewWithLayout-Content
{
"ViewWithFullPath",
@"
-
ViewWithFullPath-content
"
};
@@ -228,10 +220,8 @@ ViewWithFullPath-content
{
"ViewWithNestedLayout",
@"
-
/PartialViewEngine/ViewWithNestedLayout
-
ViewWithNestedLayout-Content
"
@@ -270,7 +260,6 @@ ViewWithNestedLayout-Content
{
// Arrange
var expected = @"viewstart-value
-
~/Views/NestedViewStarts/NestedViewStarts/Layout.cshtml
index-content";
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
@@ -288,8 +277,7 @@ index-content";
get
{
var expected1 =
- @"
-View With Layout
+ @"View With Layout
";
yield return new[] { "en-GB", expected1 };
@@ -301,8 +289,7 @@ View With Layout
}
var expected2 =
- @"
-View With Layout
+ @"View With Layout
";
yield return new[] { "fr", expected2 };
@@ -352,11 +339,9 @@ View With Layout
// Arrange
var expected =
@"View With Component With Layout
-
Page Content
ViewComponent With Title
-
-Component With Layout ";
+Component With Layout ";
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
var client = server.CreateClient();
@@ -402,10 +387,8 @@ Component With Layout";
{
// Arrange
var expected =
-@"
-Partial that specifies Layout
- Partial that does not specify Layout
- ";
+@"Partial that specifies Layout
+ Partial that does not specify Layout ";
var server = TestHelper.CreateServer(_app, SiteName, _configureServices);
var client = server.CreateClient();
@@ -421,8 +404,7 @@ Partial that specifies Layout
{
// Arrange
var expected =
-@"
-Partial that specifies Layout
+@"Partial that specifies Layout
Partial that does not specify Layout
";
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.Index.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.Index.html
index 23fc107021..90373040b9 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.Index.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.Index.html
@@ -21,7 +21,6 @@
-
ASP.NET vNext
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.ViewWithPrefixedAttributeValue.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.ViewWithPrefixedAttributeValue.html
index 1deac72329..3a64dd78a4 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.ViewWithPrefixedAttributeValue.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/BasicWebSite.Home.ViewWithPrefixedAttributeValue.html
@@ -1,5 +1,4 @@
-
\ No newline at end of file
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.Encoded.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.Encoded.html
index e3e2866979..737e085e83 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.Encoded.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.Encoded.html
@@ -30,7 +30,6 @@ HtmlEncode[[Address_1]];
HtmlEncode[[OfficeNumber]]
-
HtmlEncode[[1001]]
HtmlEncode[[1002]]
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.html
index c5adfada42..4742cb6b00 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EditWarehouse.html
@@ -30,7 +30,6 @@ Address_1;
OfficeNumber
-
1001
1002
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EmployeeList.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EmployeeList.html
index 4239bd5a35..180133efc1 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EmployeeList.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.EmployeeList.html
@@ -16,7 +16,6 @@ EmployeeName_0
-
Gender
Male
@@ -29,7 +28,6 @@ EmployeeName_0
OfficeNumber
-
1001
1002
@@ -49,7 +47,6 @@ EmployeeName_1
-
Gender
Male
@@ -62,7 +59,6 @@ EmployeeName_1
OfficeNumber
-
1001
1002
@@ -82,7 +78,6 @@ EmployeeName_2
-
Gender
Male
@@ -95,7 +90,6 @@ EmployeeName_2
OfficeNumber
-
1001
1002
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html
index 15249dd8d2..e0ddc9a9af 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.Encoded.html
@@ -15,7 +15,6 @@
HtmlEncode[[Products]]
-
HtmlEncode[[Product_0]]
HtmlEncode[[Product_1]]
HtmlEncode[[Product_2]]
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.html
index 6bd3544760..014f68b5fe 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.Order.html
@@ -15,7 +15,6 @@
Products
-
Product_0
Product_1
Product_2
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.Encoded.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.Encoded.html
index d89014e90d..2d721ca92f 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.Encoded.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.Encoded.html
@@ -15,7 +15,6 @@
HtmlEncode[[Products]]
-
HtmlEncode[[Product_0]]
HtmlEncode[[Product_1]]
HtmlEncode[[Product_2]]
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.html
index 5ba52fc446..d368e49e8d 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/HtmlGenerationWebSite.HtmlGeneration_Home.OrderUsingHtmlHelpers.html
@@ -15,7 +15,6 @@
Products
-
Product_0
Product_1
Product_2
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.Invalid.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.Invalid.html
index 7b4bf7a488..59d0edef5b 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.Invalid.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.Invalid.html
@@ -1,7 +1,5 @@
-
-
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.html
index 0b04a52aa6..441241eb84 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Create.html
@@ -1,7 +1,5 @@
-
-
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Details.AfterCreate.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Details.AfterCreate.html
index 43ad3ae875..8bd63b0284 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Details.AfterCreate.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Employee.Details.AfterCreate.html
@@ -1,6 +1,4 @@
-
-
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.About.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.About.html
index 5098dd62f2..e675616a89 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.About.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.About.html
@@ -18,8 +18,6 @@
-
-
Hello, you've reached the about page.
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Help.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Help.html
index 5acbcf815e..0a20fbb435 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Help.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Help.html
@@ -17,8 +17,6 @@
-
-
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Index.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Index.html
index 23fa35dff9..fce8ef52b7 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Index.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.Index.html
@@ -27,8 +27,6 @@
-
-
This website has not been approved yet. Visit www.contoso.com for more information.
@@ -39,8 +37,7 @@
Current Tag Cloud from ViewComponentHelper:
["Lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore"]
Rendering Template:
-
Tag Cloud from Template: ["Lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliquaUt","enim"]
-
+
Tag Cloud from Template: ["Lorem","ipsum","dolor","sit","amet","consectetur","adipisicing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliquaUt","enim"]
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.Encoded.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.Encoded.html
index fa611fbd9c..1cf31bbfcc 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.Encoded.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.Encoded.html
@@ -1,6 +1,4 @@
-
-
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.html
index ae8ec7457e..07f535a299 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/TagHelpersWebSite.Home.UnboundDynamicAttributes.html
@@ -1,6 +1,4 @@
-
-
diff --git a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/ValidationWebSite.Aria.RemoteAttribute_Home.Create.html b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/ValidationWebSite.Aria.RemoteAttribute_Home.Create.html
index 76b1703209..32365ca2fc 100644
--- a/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/ValidationWebSite.Aria.RemoteAttribute_Home.Create.html
+++ b/test/Microsoft.AspNet.Mvc.FunctionalTests/compiler/resources/ValidationWebSite.Aria.RemoteAttribute_Home.Create.html
@@ -23,7 +23,6 @@