зеркало из https://github.com/dotnet/sdk.git
e6da8ca6de
While looking at why https://github.com/dotnet/sdk/pull/43295 is having issues running on Helix I noticed that we were passing ``-class "Microsoft.WebTools.AspireServer.UnitTests.MockFactory`1"`` to the test script which caused a parse error because of the backtick. We shouldn't pass generic types since xunit can't do anything with it. Additionally I noticed that we were passing some nested types even though they were internal. This is because we didn't check the visibility correctly, we must use `TypeAttributes.VisibilityMask` to check for just the visibility (the same also applies to checking for class). See https://learn.microsoft.com/en-us/dotnet/api/system.reflection.typeattributes?view=net-8.0&redirectedfrom=MSDN#examples |
||
---|---|---|
.. | ||
AssemblyScheduler.cs | ||
CreateLocalHelixTestLayout.cs | ||
HelixTasks.csproj | ||
SDKCustomCreateXUnitWorkItemsWithTestExclusion.cs | ||
TarGzFileCreateFromDirectory.cs | ||
TaskItemExtensions.cs |