Class CollectionOrderer
Collection orderer sorting by OrderAttribute.
Implements
Xunit.ITestCollectionOrderer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Xunit.Extensions.Ordering
Assembly: Xunit.Extensions.Ordering.dll
Syntax
public class CollectionOrderer : OrdererBase, ITestCollectionOrderer
Constructors
| Improve this Doc View SourceCollectionOrderer(IMessageSink)
Declaration
public CollectionOrderer(IMessageSink diagnosticSink)
Parameters
Type | Name | Description |
---|---|---|
Xunit.Abstractions.IMessageSink | diagnosticSink |
Methods
| Improve this Doc View SourceGetOrder(ITestCollection)
Declaration
protected virtual int GetOrder(ITestCollection col)
Parameters
Type | Name | Description |
---|---|---|
Xunit.Abstractions.ITestCollection | col |
Returns
Type | Description |
---|---|
System.Int32 |
OrderTestCollections(IEnumerable<ITestCollection>)
Declaration
public IEnumerable<ITestCollection> OrderTestCollections(IEnumerable<ITestCollection> testCollections)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Xunit.Abstractions.ITestCollection> | testCollections |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Xunit.Abstractions.ITestCollection> |
Implements
Xunit.ITestCollectionOrderer