Skip to content

Commit 32fe74d

Browse files
committed
Remove environment-specific path
1 parent ea52489 commit 32fe74d

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/Files.expected

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
| BlazorTest/Components/_Imports.razor |
1010
| BlazorTest/Program.cs |
1111
| test-db/working/implicitUsings/GlobalUsings.g.cs |
12-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_App_razor.g.cs |
13-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Layout_MainLayout_razor.g.cs |
14-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Layout_NavMenu_razor.g.cs |
15-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_MyInput_razor.g.cs |
16-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_MyOutput_razor.g.cs |
17-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Pages_Error_razor.g.cs |
18-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Pages_TestPage_razor.g.cs |
19-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Routes_razor.g.cs |
20-
| test-db/working/razor/AC613014E59A413B9538FF8068364499/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components__Imports_razor.g.cs |
12+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_App_razor.g.cs |
13+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Layout_MainLayout_razor.g.cs |
14+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Layout_NavMenu_razor.g.cs |
15+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_MyInput_razor.g.cs |
16+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_MyOutput_razor.g.cs |
17+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Pages_Error_razor.g.cs |
18+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Pages_TestPage_razor.g.cs |
19+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components_Routes_razor.g.cs |
20+
| [...]/Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator/[...]_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_test_test_BlazorTest_Components__Imports_razor.g.cs |

csharp/ql/integration-tests/all-platforms/blazor_build_mode_none/Files.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ private string getPath(File f) {
77
)
88
or
99
exists(int index1, int index2, string pattern |
10-
pattern = "Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator" and
10+
pattern =
11+
"Microsoft.CodeAnalysis.Razor.Compiler/Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator" and
1112
index1 = f.getRelativePath().indexOf(pattern) and
1213
index2 =
1314
f.getRelativePath()
1415
.indexOf("_ql_csharp_ql_integration_tests_all_platforms_blazor_build_mode_none_") and
1516
result =
16-
f.getRelativePath().substring(0, index1 + pattern.length()) + "/[...]" +
17+
"[...]/" + f.getRelativePath().substring(index1, index1 + pattern.length()) + "/[...]" +
1718
f.getRelativePath().substring(index2, f.getRelativePath().length())
1819
)
1920
}

0 commit comments

Comments
 (0)