public SilverlightElementsSource( SilverlightUnitTestProvider provider, IMsTestServices msTestServices, IMsTestAttributesProvider msTestAttributesProvider, IUnitTestElementManager unitTestElementManager, IUnitTestCategoryFactory unitTestCategoryFactory, IShellLocks shellLocks) : base(provider, msTestServices, msTestAttributesProvider, unitTestElementManager, unitTestCategoryFactory, shellLocks) { }
protected override IMsTestElementFactory CreateMsTestElementFactory( SilverlightServices silverlightServices, IUnitTestElementManager unitTestElementManager, IUnitTestCategoryFactory unitTestCategoryFactory) { return new MsTestElementFactory(silverlightServices, unitTestElementManager, unitTestCategoryFactory); }
public ContextFactory(MSpecUnitTestProvider provider, IUnitTestElementManager manager, IUnitTestCategoryFactory categoryFactory, IPsi psiModuleManager, ICache cacheManager, ElementCache cache) { this._manager = manager; this._categoryFactory = categoryFactory; this._psiModuleManager = psiModuleManager; this._cacheManager = cacheManager; this._provider = provider; this._cache = cache; }
protected SilverlightElementsSourceBase( SilverlightUnitTestProvider provider, IMsTestServices msTestServices, IMsTestAttributesProvider msTestAttributesProvider, IUnitTestElementManager unitTestElementManager, IUnitTestCategoryFactory unitTestCategoryFactory, IShellLocks shellLocks) { this.Provider = provider; this.msTestServices = msTestServices; this.msTestAttributesProvider = msTestAttributesProvider; this.unitTestElementManager = unitTestElementManager; this.unitTestCategoryFactory = unitTestCategoryFactory; this.shellLocks = shellLocks; this.metadataElementsSource = new MetadataElementsSource(Logger.GetLogger(typeof(SilverlightElementsSourceBase)), shellLocks); }
public ContextElement(MSpecUnitTestProvider provider, IPsi psiModuleManager, ICache cacheManager, ProjectModelElementEnvoy projectEnvoy, IClrTypeName typeName, string assemblyLocation, string subject, IEnumerable <string> tags, bool isIgnored, IUnitTestCategoryFactory categoryFactory) : base(provider, psiModuleManager, cacheManager, null, projectEnvoy, typeName, isIgnored) { this._id = CreateId(provider, (IProject)projectEnvoy.GetValidProjectElement(), subject, this.TypeName.FullName, tags); this.AssemblyLocation = assemblyLocation; this._subject = subject; if (tags != null) { this._categories = categoryFactory.Create(tags); } }
protected abstract IMsTestElementFactory CreateMsTestElementFactory(SilverlightServices silverlightServices, IUnitTestElementManager unitTestElementManager, IUnitTestCategoryFactory unitTestCategoryFactory);