Skip to content

Commit

Permalink
Update more test files.
Browse files Browse the repository at this point in the history
  • Loading branch information
NTaylorMullen committed Mar 24, 2019
1 parent 36f7605 commit 578137d
Show file tree
Hide file tree
Showing 615 changed files with 3,500 additions and 891 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ public class AspNetCore_d3c3d6059615673cb46fc4974164d61eabadb890 : Microsoft.Asp
#pragma warning disable 219
private void __RazorDirectiveTokenHelpers__() {
((System.Action)(() => {
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"
IDisposable __typeHelper = default(IDisposable);
#line default
#line hidden
#nullable disable
}
))();
}
Expand All @@ -30,24 +32,30 @@ private void __RazorDirectiveTokenHelpers__() {
protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTree.RenderTreeBuilder builder)
{
base.BuildRenderTree(builder);
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"
__o = this.ToString();

#line default
#line hidden
#nullable disable
#nullable restore
#line 4 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"
__o = string.Format("{0}", "Hello");

#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
#nullable restore
#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"

void IDisposable.Dispose(){ }

#line default
#line hidden
#nullable disable
}
}
#pragma warning restore 1591
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Source Location: (12:0,12 [11] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|IDisposable|
Generated Location: (665:17,0 [11] )
Generated Location: (684:18,0 [11] )
|IDisposable|

Source Location: (38:1,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|this.ToString()|
Generated Location: (1261:33,13 [15] )
Generated Location: (1318:36,13 [15] )
|this.ToString()|

Source Location: (79:3,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|string.Format("{0}", "Hello")|
Generated Location: (1406:38,6 [29] )
Generated Location: (1501:43,6 [29] )
|string.Format("{0}", "Hello")|

Source Location: (132:6,12 [37] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml)
|
void IDisposable.Dispose(){ }
|
Generated Location: (1620:45,12 [37] )
Generated Location: (1753:52,12 [37] )
|
void IDisposable.Dispose(){ }
|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ protected override void BuildRenderTree(Microsoft.AspNetCore.Components.RenderTr
builder.CloseElement();
}
#pragma warning restore 1998
#nullable restore
#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/BasicComponent.cshtml"

void IDisposable.Dispose(){ }

#line default
#line hidden
#nullable disable
}
}
#pragma warning restore 1591
Original file line number Diff line number Diff line change
Expand Up @@ -23,37 +23,49 @@ private void __RazorDirectiveTokenHelpers__() {
#pragma warning disable 1998
public async override global::System.Threading.Tasks.Task ExecuteAsync()
{
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
__o = this.ToString();

#line default
#line hidden
#nullable disable
#nullable restore
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
__o = string.Format("{0}", "Hello");

#line default
#line hidden
#nullable disable
#nullable restore
#line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"

var cls = "foo";

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
if(cls != null) {

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
__o = cls;

#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
}

#line default
#line hidden
#nullable disable
}
#pragma warning restore 1998
[global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
Source Location: (13:0,13 [15] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|this.ToString()|
Generated Location: (1030:26,13 [15] )
Generated Location: (1049:27,13 [15] )
|this.ToString()|

Source Location: (54:2,5 [29] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|string.Format("{0}", "Hello")|
Generated Location: (1166:31,6 [29] )
Generated Location: (1223:34,6 [29] )
|string.Format("{0}", "Hello")|

Source Location: (95:4,2 [25] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|
var cls = "foo";
|
Generated Location: (1312:36,2 [25] )
Generated Location: (1407:41,2 [25] )
|
var cls = "foo";
|

Source Location: (134:7,11 [18] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|if(cls != null) { |
Generated Location: (1460:42,11 [18] )
Generated Location: (1593:49,11 [18] )
|if(cls != null) { |

Source Location: (153:7,30 [3] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
|cls|
Generated Location: (1622:47,30 [3] )
Generated Location: (1793:56,30 [3] )
|cls|

Source Location: (156:7,33 [2] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml)
| }|
Generated Location: (1773:52,33 [2] )
Generated Location: (1982:63,33 [2] )
| }|

Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,56 @@ public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Basic : gl
{
WriteLiteral("<div");
BeginWriteAttribute("class", " class=\"", 4, "\"", 28, 1);
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
WriteAttributeValue("", 12, this.ToString(), 12, 16, false);

#line default
#line hidden
#nullable disable
EndWriteAttribute();
WriteLiteral(">\r\n Hello world\r\n ");
#nullable restore
#line 3 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
Write(string.Format("{0}", "Hello"));

#line default
#line hidden
#nullable disable
WriteLiteral("\r\n</div>\r\n");
#nullable restore
#line 5 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"

var cls = "foo";

#line default
#line hidden
#nullable disable
WriteLiteral("<p");
BeginWriteAttribute("class", " class=\"", 125, "\"", 158, 1);
WriteAttributeValue("", 133, new Microsoft.AspNetCore.Mvc.Razor.HelperResult(async(__razor_attribute_value_writer) => {
PushWriter(__razor_attribute_value_writer);
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
if(cls != null) {
#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
Write(cls);
#line default
#line hidden
#nullable disable
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Basic.cshtml"
}
#line default
#line hidden
#nullable disable
PopWriter();
}
), 133, 25, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,67 +16,83 @@ public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Incomplete
#pragma warning disable 219
private void __RazorDirectiveTokenHelpers__() {
((System.Action)(() => {
#nullable restore
#line 7 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 8 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 11 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 12 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
MyService<TModel> __typeHelper = default(MyService<TModel>);
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 12 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 14 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 15 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml"
#line default
#line hidden
#nullable disable
}
))();
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
Source Location: (119:6,6 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (767:19,0 [0] )
Generated Location: (786:20,0 [0] )
||

Source Location: (128:7,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (957:27,0 [0] )
Generated Location: (1014:30,0 [0] )
||

Source Location: (139:9,7 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (1148:35,0 [0] )
Generated Location: (1243:40,0 [0] )
||

Source Location: (149:10,8 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (1339:43,0 [0] )
Generated Location: (1472:50,0 [0] )
||

Source Location: (159:11,8 [17] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
|MyService<TModel>|
Generated Location: (1530:51,0 [17] )
Generated Location: (1701:60,0 [17] )
|MyService<TModel>|

Source Location: (176:11,25 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (1780:59,0 [0] )
Generated Location: (1989:70,0 [0] )
||

Source Location: (190:13,10 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (1971:67,0 [0] )
Generated Location: (2218:80,0 [0] )
||

Source Location: (203:14,11 [0] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/IncompleteDirectives.cshtml)
||
Generated Location: (2162:75,0 [0] )
Generated Location: (2447:90,0 [0] )
||

Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,23 @@ public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_InheritsVi
#pragma warning disable 219
private void __RazorDirectiveTokenHelpers__() {
((System.Action)(() => {
#nullable restore
#line 1 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml"
MyBasePageForViews<TModel> __typeHelper = default(MyBasePageForViews<TModel>);
#line default
#line hidden
#nullable disable
}
))();
((System.Action)(() => {
#nullable restore
#line 2 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/InheritsViewModel.cshtml"
MyModel __typeHelper = default(MyModel);
#line default
#line hidden
#nullable disable
}
))();
}
Expand Down
Loading

0 comments on commit 578137d

Please sign in to comment.