testStore<I extends Info, E extends Entry<I> , T extends Store<I, E> > function
void
testStore<I extends Info, E extends Entry<I> , T extends Store<I, E> >(})
Default store test
newTestContext
: The context buildertypes
: The type/generator maptests
: The test set
Implementation
void testStore<I extends Info, E extends Entry<I>, T extends Store<I, E>>(
TestContextBuilder<I, E, T> newTestContext,
{Map<TypeTest, Function>? types,
Set<StoreTest> tests = _storeTests}) {
for (var entry in (types ?? _storeTypeTests).entries) {
test('Store: ${entry.key.name}', () async {
await testStoreWith<I, E, T>(newTestContext(entry.value()), tests: tests);
});
}
}