sdk/test/HelixTasks
Alexander Köplinger e6da8ca6de
Fix processing non-public classes and generic types in AssemblyScheduler.cs (#43377)
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
2024-09-12 16:33:17 +02:00
..
AssemblyScheduler.cs Fix processing non-public classes and generic types in AssemblyScheduler.cs (#43377) 2024-09-12 16:33:17 +02:00
CreateLocalHelixTestLayout.cs
HelixTasks.csproj
SDKCustomCreateXUnitWorkItemsWithTestExclusion.cs
TarGzFileCreateFromDirectory.cs
TaskItemExtensions.cs