diff --git a/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/CodeGenerationIntegrationTest.cs b/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/CodeGenerationIntegrationTest.cs index 76282a8269..09c8a49a85 100644 --- a/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/CodeGenerationIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/CodeGenerationIntegrationTest.cs @@ -240,7 +240,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests } [Fact] - public void Imports_Runtime() + public void Usings_Runtime() { // Arrange var engine = RazorEngine.Create(builder => builder.Features.Add(new ApiSetsIRTestAdapter())); @@ -922,7 +922,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests } [Fact] - public void Imports_DesignTime() + public void Usings_DesignTime() { // Arrange var engine = RazorEngine.CreateDesignTime(builder => builder.Features.Add(new ApiSetsIRTestAdapter())); diff --git a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml similarity index 100% rename from test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml rename to test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml diff --git a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_DesignTime.codegen.cs b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs similarity index 93% rename from test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_DesignTime.codegen.cs rename to test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs index 05b24f43b4..bd780f5783 100644 --- a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_DesignTime.codegen.cs +++ b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.codegen.cs @@ -8,7 +8,7 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles using static System; using static System.Console; using static global::System.Text.Encoding; - public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Imports_DesignTime + public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_DesignTime { #pragma warning disable 219 private void __RazorDirectiveTokenHelpers__() { @@ -18,12 +18,12 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles #pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { -#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml" +#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml" __o = typeof(Path).FullName; #line default #line hidden -#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml" +#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml" __o = typeof(Foo).FullName; #line default diff --git a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_DesignTime.mappings.txt b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt similarity index 58% rename from test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_DesignTime.mappings.txt rename to test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt index 1ef2ef8287..f9e85e6e1e 100644 --- a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_DesignTime.mappings.txt +++ b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_DesignTime.mappings.txt @@ -1,10 +1,10 @@ -Source Location: (197:8,29 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml) +Source Location: (197:8,29 [21] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml) |typeof(Path).FullName| -Generated Location: (841:21,32 [21] ) +Generated Location: (839:21,32 [21] ) |typeof(Path).FullName| -Source Location: (259:9,35 [20] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml) +Source Location: (259:9,35 [20] TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml) |typeof(Foo).FullName| -Generated Location: (1018:26,38 [20] ) +Generated Location: (1015:26,38 [20] ) |typeof(Foo).FullName| diff --git a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_Runtime.codegen.cs b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs similarity index 86% rename from test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_Runtime.codegen.cs rename to test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs index 51e246f067..d488743611 100644 --- a/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports_Runtime.codegen.cs +++ b/test/Microsoft.AspNetCore.Razor.Evolution.Test/TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings_Runtime.codegen.cs @@ -1,4 +1,4 @@ -#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f452adb7c255f6d9d6d2573c6add7cb28022b151" +#pragma checksum "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f452adb7c255f6d9d6d2573c6add7cb28022b151" namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles { #line hidden @@ -9,20 +9,20 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests.TestFiles using static System; using static System.Console; using static global::System.Text.Encoding; - public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Imports_Runtime + public class TestFiles_IntegrationTests_CodeGenerationIntegrationTest_Usings_Runtime { #pragma warning disable 1998 public async System.Threading.Tasks.Task ExecuteAsync() { WriteLiteral("\r\n"); WriteLiteral("\r\n
Path\'s full type name is "); -#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml" +#line 9 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml" Write(typeof(Path).FullName); #line default #line hidden WriteLiteral("
\r\nFoo\'s actual full type name is "); -#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Imports.cshtml" +#line 10 "TestFiles/IntegrationTests/CodeGenerationIntegrationTest/Usings.cshtml" Write(typeof(Foo).FullName); #line default