Commit bb0358a
authored
Unify tooling test utilities (#9581)
This is a fairly large change that is mostly contained to the Razor
tooling tests. Here is a summary of the changes:
* All of the "*.Test.Common" projects have been merged into the
Test.Common.Tooling project.
* Utilities that are only needed by .NET Framework layers are compiled
only under net472.
* "LanguageServer.Test" no longer targets net7.0-windows and
net8.0-windows. Instead, it multi-targets net70, net80, and net472. This
allows many of the language server tests to be run on non-Windows
platforms.
* Any dependencies between test projects have been removed.
* The LegacyDispatcher has been removed from tests.
* Razor's copies of `UIFactAttribute` have been removed.
In order to push all test utilities into Test.Common.Tooling, it
_temporarily_ compiles to a different assembly name. This is because
ExternalAccess.Razor in Roslyn doesn't yet provide IVT to
Test.Common.Tooling. Eventually, this will be removed.
@dotnet/razor-compiler: This change really doesn't have much impact on
the compiler, but you're welcome to take a look.File tree
268 files changed
+2656
-3147
lines changed- eng
- src
- Compiler/Microsoft.CodeAnalysis.Razor/src/Properties
- Razor
- benchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks
- ProjectSystem
- src
- Microsoft.AspNetCore.Razor.LanguageServer/Folding
- Microsoft.VisualStudio.Editor.Razor
- Properties
- Telemetry
- Microsoft.VisualStudio.LanguageServer.ContainedLanguage/Properties
- test
- Microsoft.AspNetCore.Razor.LanguageServer.Test.Common
- Logging
- Properties
- Microsoft.AspNetCore.Razor.LanguageServer.Test
- AutoInsert
- CodeActions
- CSharp
- Html
- Razor
- Completion
- Delegation
- Debugging
- Definition
- Diagnostics
- DocumentHighlighting
- DocumentPresentation
- DocumentSymbols
- DocumentSynchronization
- FindReferences
- Folding
- Formatting_NetFx
- Formatting
- Hover
- Implementation
- LinkedEditingRange
- MapCode
- Mapping
- ProjectContexts
- Refactoring
- Semantic
- SignatureHelp
- SpellCheck
- WrapWithTag
- Microsoft.AspNetCore.Razor.Test.Common.Tooling
- ContainedLanguage_NetFx
- Editor_NetFx
- LanguageServer
- Mef
- ProjectSystem
- Properties
- Workspaces
- Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common
- Properties
- Microsoft.CodeAnalysis.Razor.Workspaces.Test
- Completion
- ProjectSystem
- Microsoft.CodeAnalysis.Remote.Razor.Test
- Microsoft.VisualStudio.Editor.Razor.Test.Common
- Xunit
- Microsoft.VisualStudio.Editor.Razor.Test
- Completion
- Documents
- Microsoft.VisualStudio.LanguageServer.ContainedLanguage.Test.Common
- Extensions
- Properties
- Microsoft.VisualStudio.LanguageServer.ContainedLanguage.Test
- Microsoft.VisualStudio.LanguageServerClient.Razor.Test
- Debugging
- DocumentMapping
- Microsoft.VisualStudio.LanguageServices.Razor.Test
- Debugging
- DocumentGenerator
- Documents
- ProjectSystem
- Microsoft.VisualStudio.Razor.IntegrationTests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
268 files changed
+2656
-3147
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments