public XunitTestElementsSource(XunitServiceProvider services, SearchDomainFactory searchDomainFactory, IShellLocks shellLocks) { this.services = services; this.searchDomainFactory = searchDomainFactory; metadataElementsSource = new MetadataElementsSource(Logger.GetLogger(typeof (XunitTestElementsSource)), shellLocks); }
public XunitTestElementsSource(XunitServiceProvider services, SearchDomainFactory searchDomainFactory, IShellLocks shellLocks) { this.services = services; this.searchDomainFactory = searchDomainFactory; metadataElementsSource = new MetadataElementsSource(Logger.GetLogger(typeof(XunitTestElementsSource)), shellLocks); }
public XunitTestClassElement(XunitServiceProvider services, UnitTestElementId id, IClrTypeName typeName, string assemblyLocation) : base(services, id, typeName) { AssemblyLocation = assemblyLocation; ShortName = string.Join("+", typeName.TypeNames.Select(FormatTypeName).ToArray()); }
public XunitInheritedTestMethodContainerElement(XunitServiceProvider services, UnitTestElementId id, IClrTypeName typeName, string methodName) : base(services, id, typeName) { this.methodName = methodName; ShortName = methodName; // ReSharper disable once RedundantBaseQualifier base.State = UnitTestElementState.Fake; }
protected XunitBaseElement(XunitServiceProvider services, UnitTestElementId id, IClrTypeName typeName) { Services = services; TypeName = typeName; Id = id; Children = new BindableCollection <IUnitTestElement>(EternalLifetime.Instance, UT.Locks.ReadLock); ExplicitReason = string.Empty; Categories = EmptyArray <UnitTestElementCategory> .Instance; }
protected XunitBaseElement(XunitServiceProvider services, UnitTestElementId id, IClrTypeName typeName) { Services = services; TypeName = typeName; Id = id; Children = new BindableCollection<IUnitTestElement>(EternalLifetime.Instance, UT.Locks.ReadLock); ExplicitReason = string.Empty; Categories = EmptyArray<UnitTestElementCategory>.Instance; }
public XunitTestMethodElement(XunitServiceProvider services, UnitTestElementId id, IClrTypeName typeName, string methodName, string skipReason, bool isDynamic) : base(services, id, typeName) { MethodName = methodName; ExplicitReason = skipReason; IsDynamic = isDynamic; ShortName = MethodName; }
public UnitTestElementFactory(XunitServiceProvider services, Action <IUnitTestElement> onUnitTestElementChanged, bool enableCache = true) { this.services = services; this.onUnitTestElementChanged = onUnitTestElementChanged; // Keep a track of elements that have been created, but not yet reported to the // IUnitTestElementManager (i.e. during parse) if (enableCache) { recentlyCreatedElements = new Dictionary <UnitTestElementId, IUnitTestElement>(); } }
public XunitTestElementSerializer(XunitServiceProvider services) { this.services = services; }
public XunitTestTheoryElement(XunitServiceProvider services, UnitTestElementId id, IClrTypeName typeName, string shortName) : base(services, id, typeName) { ShortName = shortName; }