Skip to content

TransactionalStateStorageTestRunnerxUnit<TState> Constructors

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

TransactionalStateStorageTestRunnerxUnit<TState>(Func<Task<ITransactionalStateStorage<TState>>>, Func<int, TState>, IGrainFactory, ITestOutputHelper, Func<EquivalencyOptions<TState>, EquivalencyOptions<TState>>)

View source
public TransactionalStateStorageTestRunnerxUnit(Func<Task<ITransactionalStateStorage<TState>>> stateStorageFactory, Func<int, TState> stateFactory, IGrainFactory grainFactory, ITestOutputHelper testOutput, Func<EquivalencyOptions<TState>, EquivalencyOptions<TState>> assertConfig = null)
Constructor

Parameters

stateStorageFactoryFunc<Task<ITransactionalStateStorage<TState>>>
factory to create ITransactionalStateStorage, the test runner are assuming the state in storage is empty when ITransactionalStateStorage was created
stateFactoryFunc<int, TState>
factory to create TState for test
grainFactoryIGrainFactory
grain Factory needed for test runner
testOutputITestOutputHelper
test output to helpful messages
assertConfigFunc<EquivalencyOptions<TState>, EquivalencyOptions<TState>>
A reference to the AwesomeAssertions.Equivalency.EquivalencyOptions`1 configuration object that can be used to influence the way the object graphs are compared