Class AccelergreatXunitTest
Base class for an Accelergreat Xunit tests
Inheritance
System.Object
AccelergreatXunitTest
Implements
Xunit.IAsyncLifetime
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: Accelergreat.Xunit
Assembly: Accelergreat.Xunit.dll
Syntax
public abstract class AccelergreatXunitTest : IAsyncLifetime
Constructors
AccelergreatXunitTest(IAccelergreatEnvironmentPool)
Declaration
protected AccelergreatXunitTest(IAccelergreatEnvironmentPool environmentPool)
Parameters
Type | Name | Description |
---|---|---|
IAccelergreatEnvironmentPool | environmentPool |
Methods
DisposeAsync()
Declaration
protected virtual Task DisposeAsync()
Returns
Type | Description |
---|---|
Task |
GetComponent<TAccelergreatComponent>()
Retrieve a TAccelergreatComponent
.
Declaration
protected TAccelergreatComponent GetComponent<TAccelergreatComponent>()
where TAccelergreatComponent : IAccelergreatComponent
Returns
Type | Description |
---|---|
TAccelergreatComponent |
Type Parameters
Name | Description |
---|---|
TAccelergreatComponent |
GetComponentByInterface<TInterface>()
Retrieve a TInterface
.
Declaration
protected TInterface GetComponentByInterface<TInterface>()
Returns
Type | Description |
---|---|
TInterface |
Type Parameters
Name | Description |
---|---|
TInterface |
InitializeAsync()
Declaration
protected virtual Task InitializeAsync()
Returns
Type | Description |
---|---|
Task |
Implements
Xunit.IAsyncLifetime