@@ -1473,23 +1473,29 @@ private static List<string> GetSources(TestRunRequestPayload testRunRequestPaylo
1473
1473
1474
1474
internal static class KnownPlatformSourceFilter
1475
1475
{
1476
-
1477
1476
// Running tests on AzureDevops, many projects use the default filter
1478
1477
// which includes all *test*.dll, this includes many of the TestPlatform dlls,
1479
1478
// which we cannot run, and don't want to attempt to run.
1480
1479
// The default filter also filters out !*TestAdapter*.dll but it is easy to forget
1481
1480
// so we skip the most used adapters here as well.
1482
1481
private static readonly HashSet < string > KnownPlatformSources = new ( new string [ ]
1483
1482
{
1483
+ "Microsoft.TestPlatform.AdapterUtilities.dll" ,
1484
+ "Microsoft.TestPlatform.AdapterUtilities.resources.dll" ,
1484
1485
"Microsoft.TestPlatform.CommunicationUtilities.dll" ,
1486
+ "Microsoft.TestPlatform.CommunicationUtilities.resources.dll" ,
1485
1487
"Microsoft.TestPlatform.CoreUtilities.dll" ,
1488
+ "Microsoft.TestPlatform.CoreUtilities.resources.dll" ,
1486
1489
"Microsoft.TestPlatform.CrossPlatEngine.dll" ,
1490
+ "Microsoft.TestPlatform.CrossPlatEngine.resources.dll" ,
1487
1491
"Microsoft.TestPlatform.PlatformAbstractions.dll" ,
1488
1492
"Microsoft.TestPlatform.Utilities.dll" ,
1493
+ "Microsoft.TestPlatform.Utilities.resources.dll" ,
1489
1494
"Microsoft.VisualStudio.TestPlatform.Common.dll" ,
1495
+ "Microsoft.VisualStudio.TestPlatform.Common.resources.dll" ,
1490
1496
"Microsoft.VisualStudio.TestPlatform.ObjectModel.dll" ,
1497
+ "Microsoft.VisualStudio.TestPlatform.ObjectModel.resources.dll" ,
1491
1498
"testhost.dll" ,
1492
- "Microsoft.TestPlatform.AdapterUtilities.dll" ,
1493
1499
1494
1500
// NUnit
1495
1501
"NUnit3.TestAdapter.dll" ,
@@ -1499,11 +1505,15 @@ internal static class KnownPlatformSourceFilter
1499
1505
"xunit.runner.visualstudio.dotnetcore.testadapter.dll" ,
1500
1506
1501
1507
// MSTest
1508
+ "Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll" ,
1509
+ "Microsoft.VisualStudio.TestPlatform.TestFramework.dll" ,
1510
+ "Microsoft.VisualStudio.TestPlatform.TestFramework.resources.dll" ,
1511
+ // For MSTest up to v3
1502
1512
"Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll" ,
1513
+ "Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.resources.dll" ,
1503
1514
"Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll" ,
1504
1515
"Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll" ,
1505
- "Microsoft.VisualStudio.TestPlatform.TestFramework.dll" ,
1506
- "Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll" ,
1516
+ "Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.resources.dll" ,
1507
1517
} , StringComparer . OrdinalIgnoreCase ) ;
1508
1518
1509
1519
0 commit comments