コード例 #1
0
 internal static void AddTestRunnerPrecompiledReferences(TargetAssembly targetAssembly, Dictionary <string, PrecompiledAssembly> nameToPrecompiledAssemblies, ref List <PrecompiledAssembly> precompiledReferences)
 {
     if (TestRunnerHelpers.ShouldAddNunitReferences(targetAssembly))
     {
         TestRunnerHelpers.AddNunitReferences(nameToPrecompiledAssemblies, ref precompiledReferences);
     }
 }
コード例 #2
0
 internal static void AddTestRunnerCustomReferences(ref TargetAssembly targetAssembly, Dictionary <string, TargetAssembly> assembliesCustomTargetAssemblies)
 {
     if (TestRunnerHelpers.ShouldAddTestRunnerReferences(targetAssembly) && assembliesCustomTargetAssemblies != null)
     {
         targetAssembly.References.AddRange(TestRunnerHelpers.GetReferences(assembliesCustomTargetAssemblies.Values));
     }
 }