FaultLocalization.TestSuite.CoveredDllPaths C# (CSharp) 메소드

CoveredDllPaths() 공개 메소드

Returns the paths to dlls from projects that are covered by the tests at the dll path provided.
public CoveredDllPaths ( string testDllPath ) : IEnumerable
testDllPath string The full path to a test dll
리턴 IEnumerable
		public IEnumerable<string> CoveredDllPaths(string testDllPath)
		{
			if(coveredProjectGuids == null)
			{
				initializeDllPaths();
			}
			string testDllGuid = dllPaths.Where(dll => dll.Value == testDllPath).First().Key;
			IEnumerable<string> coveredGuids = coveredProjectGuids[testDllGuid];
			return dllPaths.Where(dll => coveredGuids.Contains(dll.Key)).Select(dll => dll.Value);
		}