17 references to TestStore
Microsoft.AspNetCore.Components.Tests (17)
PersistentState\PersistentServicesRegistryTest.cs (17)
32var testStore = new TestStore(new Dictionary<string, byte[]>()); 44await secondManager.RestoreStateAsync(new TestStore(testStore.State)); 75var testStore = new TestStore(new Dictionary<string, byte[]>()); 84await persistenceManagerTwo.RestoreStateAsync(new TestStore(testStore.State)); 109var testStore = new TestStore(new Dictionary<string, byte[]>()); 117await secondManager.RestoreStateAsync(new TestStore(testStore.State)); 142var testStore = new TestStore(new Dictionary<string, byte[]>()); 171var testStore = new TestStore(new Dictionary<string, byte[]>()); 184var exception = await Record.ExceptionAsync(() => persistenceManagerTwo.RestoreStateAsync(new TestStore(testStore.State))); 211var testStore = new TestStore(new Dictionary<string, byte[]>()); 220await persistenceManagerTwo.RestoreStateAsync(new TestStore(testStore.State)); 245var testStore = new TestStore(new Dictionary<string, byte[]>()); 254var exception = await Record.ExceptionAsync(async () => await persistenceManagerTwo.RestoreStateAsync(new TestStore(testStore.State))); 325var testStore = new TestStore(new Dictionary<string, byte[]>()); 334await secondManager.RestoreStateAsync(new TestStore(testStore.State)); 370var testStore = new TestStore(new Dictionary<string, byte[]>()); 379await secondManager.RestoreStateAsync(new TestStore(testStore.State));