The new @namespace directive isn't sanitizing class and namespace names when generating them. This means that a file-system-legal character like '-' will show up in a class name, and that's not good. Note that the old code paths (document classifiers) already had tests for this and did it properly. It was only missing from @namespace. |
||
|---|---|---|
| .. | ||
| IntegrationTests | ||
| Properties | ||
| TestFiles/IntegrationTests | ||
| InjectDirectiveTargetExtensionTest.cs | ||
| InjectDirectiveTest.cs | ||
| InstrumentationPassTest.cs | ||
| LineMappingsSerializer.cs | ||
| Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj | ||
| ModelDirectiveTest.cs | ||
| ModelExpressionPassTest.cs | ||
| MvcRazorTemplateEngineTest.cs | ||
| MvcViewDocumentClassifierPassTest.cs | ||
| NamespaceDirectiveTest.cs | ||
| PageDirectiveTest.cs | ||
| RazorPageDocumentClassifierPassTest.cs | ||
| ViewComponentTagHelperDescriptorConventionsTest.cs | ||
| ViewComponentTagHelperPassTest.cs | ||
| xunit.runner.json | ||