2 instantiations of TestRuntimeProviderInfo
Microsoft.TestPlatform.CrossPlatEngine (2)
TestEngine.cs (2)
467testRuntimeProviders.Add(new TestRuntimeProviderInfo(testRuntimeProvider.GetType(), testRuntimeProvider.Shared, 475testRuntimeProviders.Add(new TestRuntimeProviderInfo(type: null, shared: false, runsettingsXml, sourceDetails: runConfiguration.ToList()));
42 references to TestRuntimeProviderInfo
Microsoft.TestPlatform.CrossPlatEngine (42)
Client\Parallel\ParallelOperationManager.cs (3)
28private readonly Func<TestRuntimeProviderInfo, TWorkload, TManager> _createNewManager; 54public ParallelOperationManager(Func<TestRuntimeProviderInfo, TWorkload, TManager> createNewManager, int parallelLevel) 389public TestRuntimeProviderInfo? ManagerInfo { get; set; }
Client\Parallel\ParallelProxyDiscoveryManager.cs (8)
28private readonly Dictionary<string, TestRuntimeProviderInfo> _sourceToTestHostProviderMap; 46Func<TestRuntimeProviderInfo, DiscoveryCriteria, IProxyDiscoveryManager> actualProxyManagerCreator, 49List<TestRuntimeProviderInfo> testHostProviders) 56Func<TestRuntimeProviderInfo, DiscoveryCriteria, IProxyDiscoveryManager> actualProxyManagerCreator, 60List<TestRuntimeProviderInfo> testHostProviders) 68.SelectMany(provider => provider.SourceDetails.Select(s => new KeyValuePair<string, TestRuntimeProviderInfo>(s.Source!, provider))) 205private List<ProviderSpecificWorkload<DiscoveryCriteria>> SplitToWorkloads(DiscoveryCriteria discoveryCriteria, Dictionary<string, TestRuntimeProviderInfo> sourceToTestHostProviderMap) 216var testhostProviderInfo = group.Key;
Client\Parallel\ParallelProxyExecutionManager.cs (11)
33private readonly Dictionary<string, TestRuntimeProviderInfo> _sourceToTestHostProviderMap; 67Func<TestRuntimeProviderInfo, TestRunCriteria, IProxyExecutionManager> actualProxyManagerCreator, 69List<TestRuntimeProviderInfo> testHostProviders) 76Func<TestRuntimeProviderInfo, TestRunCriteria, IProxyExecutionManager> actualProxyManagerCreator, 79List<TestRuntimeProviderInfo> testHostProviders) 87.SelectMany(provider => provider.SourceDetails.Select(s => new KeyValuePair<string, TestRuntimeProviderInfo>(s.Source!, provider))) 207private List<ProviderSpecificWorkload<TestRunCriteria>> SplitToWorkloads(TestRunCriteria testRunCriteria, Dictionary<string, TestRuntimeProviderInfo> sourceToTestHostProviderMap) 258var testhostProviderInfo = group.Key; 316var testhostProviderInfo = group.Key; 511public TestRuntimeProviderInfo Provider { get; protected set; } 515public ProviderSpecificWorkload(T work, TestRuntimeProviderInfo provider)
TestEngine.cs (12)
88List<TestRuntimeProviderInfo> testHostManagers = GetTestRuntimeProvidersForUniqueConfigurations(discoveryCriteria.RunSettings!, sourceToSourceDetailMap, warningLogger, out ITestRuntimeProvider? testHostManager); 104var testHostManagerInfo = testHostManagers[0]; 121Func<TestRuntimeProviderInfo, DiscoveryCriteria, IProxyDiscoveryManager> proxyDiscoveryManagerCreator = (runtimeProviderInfo, discoveryCriteria) => 252Func<TestRuntimeProviderInfo, TestRunCriteria, IProxyExecutionManager> proxyExecutionManagerCreator = (runtimeProviderInfo, runCriteria) => 263internal IProxyExecutionManager CreateNonParallelExecutionManager(IRequestData requestData, TestRunCriteria testRunCriteria, bool isDataCollectorEnabled, TestRuntimeProviderInfo runtimeProviderInfo) 366List<TestRuntimeProviderInfo> testRuntimeProviders = GetTestRuntimeProvidersForUniqueConfigurations(testSessionCriteria.RunSettings!, sourceToSourceDetailMap, warningLogger, out var _); 379Func<TestRuntimeProviderInfo, ProxyOperationManager?> proxyCreator = testRuntimeProviderInfo => 442private List<TestRuntimeProviderInfo> GetTestRuntimeProvidersForUniqueConfigurations( 451var testRuntimeProviders = new List<TestRuntimeProviderInfo>(); 599List<TestRuntimeProviderInfo> testHostProviders) 661private static void WarnAboutNotFoundRuntimeProvidersOrThrowWhenNoneAreFound(List<TestRuntimeProviderInfo> testRuntimeProviders, IWarningLogger warningLogger) 674foreach (var missingRuntimeProvider in missingRuntimeProviders)
TestSession\ProxyTestSessionManager.cs (8)
48private readonly Func<TestRuntimeProviderInfo, ProxyOperationManager?> _proxyCreator; 49private readonly List<TestRuntimeProviderInfo> _runtimeProviders; 53private readonly Dictionary<string, TestRuntimeProviderInfo> _sourceToRuntimeProviderInfoMap; 83Func<TestRuntimeProviderInfo, ProxyOperationManager?> proxyCreator, 84List<TestRuntimeProviderInfo> runtimeProviders) 97.SelectMany(runtimeProviderInfo => runtimeProviderInfo.SourceDetails.Select(detail => new KeyValuePair<string, TestRuntimeProviderInfo>(detail.Source!, runtimeProviderInfo))) 132var runtimeProviderInfo = _sourceToRuntimeProviderInfoMap[source]; 349TestRuntimeProviderInfo runtimeProviderInfo)