Exemplo n.º 1
0
 public UnityTestsExploration(UnitTestAttributeCache unitTestAttributeCache, IProject project,
                              IUnitTestElementsObserver observer, IUnitTestElementIdFactory unitTestElementIdFactory,
                              UnityTestProvider unityTestProvider, IUnitTestElementManager unitTestElementManager, UnityNUnitServiceProvider serviceProvider)
 {
     myUnitTestAttributeCache = unitTestAttributeCache;
     myProject           = project;
     myUnitTestCollector = observer;
     myElementFactory    = new UnityTestElementFactory(unitTestElementIdFactory, unityTestProvider, unitTestElementManager, serviceProvider);
 }
Exemplo n.º 2
0
 public UnityTestElementFactory(IUnitTestElementIdFactory unitTestElementIdFactory,
                                UnityTestProvider unityTestProvider,
                                IUnitTestElementManager elementManager, UnityNUnitServiceProvider serviceProvider)
 {
     myUnitTestElementIdFactory = unitTestElementIdFactory;
     myElementManager           = elementManager;
     myServiceProvider          = serviceProvider;
     myElements         = new WeakToWeakDictionary <UnitTestElementId, IUnitTestElement>();
     myUnitTestProvider = unityTestProvider;
 }
 public UnityTestsSourceExplorer([NotNull] ISolution solution, [NotNull] UnityTestProvider provider, ClrLanguagesKnown clrLanguagesKnown,
                                 [NotNull] AssemblyToAssemblyReferencesResolveManager resolveManager, IUnitTestElementIdFactory idFactory,
                                 [NotNull] ResolveContextManager resolveContextManager, [NotNull] ILogger logger,
                                 UnitTestAttributeCache unitTestAttributeCache, IUnitTestElementIdFactory unitTestElementIdFactory, IUnitTestElementManager unitTestElementManager, UnityNUnitServiceProvider serviceProvider)
     : base(solution, provider, resolveManager, resolveContextManager, logger)
 {
     myClrLanguagesKnown        = clrLanguagesKnown;
     myIdFactory                = idFactory;
     myLogger                   = logger;
     myUnitTestAttributeCache   = unitTestAttributeCache;
     myUnitTestElementIdFactory = unitTestElementIdFactory;
     myUnityTestProvider        = provider;
     myUnitTestElementManager   = unitTestElementManager;
     myServiceProvider          = serviceProvider;
 }