12 instantiations of TestDataProtectionProvider
Microsoft.AspNetCore.Components.Server.Tests (12)
23 references to TestDataProtectionProvider
Microsoft.AspNetCore.Components.Server.Tests (23)
ProtectedBrowserStorageTest.cs (23)
22var dataProtectionProvider = new TestDataProtectionProvider();
40TestDataProtectionProvider.Unprotect(expectedPurpose, (string)arg)));
48var dataProtectionProvider = new TestDataProtectionProvider();
66TestDataProtectionProvider.Unprotect(customPurpose, (string)arg)));
74var dataProtectionProvider = new TestDataProtectionProvider();
90TestDataProtectionProvider.Unprotect(expectedPurpose, (string)arg)));
98var dataProtectionProvider = new TestDataProtectionProvider();
105TestDataProtectionProvider.Protect(expectedPurpose, storedJson));
125var dataProtectionProvider = new TestDataProtectionProvider();
132TestDataProtectionProvider.Protect(customPurpose, storedJson));
152var dataProtectionProvider = new TestDataProtectionProvider();
169var dataProtectionProvider = new TestDataProtectionProvider();
174TestDataProtectionProvider.Protect(expectedPurpose, storedJson));
186var dataProtectionProvider = new TestDataProtectionProvider();
202var dataProtectionProvider = new TestDataProtectionProvider();
222var dataProtectionProvider = new TestDataProtectionProvider();
227TestDataProtectionProvider.Protect(expectedPurpose, storedJson));
242var dataProtectionProvider = new TestDataProtectionProvider();
262var dataProtectionProvider = new TestDataProtectionProvider();
282invocation => Assert.Equal(TestDataProtectionProvider.Protect(expectedPurposes[0], "null"), invocation.Args[1]),
283invocation => Assert.Equal(TestDataProtectionProvider.Protect(expectedPurposes[1], "null"), invocation.Args[1]),
284invocation => Assert.Equal(TestDataProtectionProvider.Protect(expectedPurposes[0], "null"), invocation.Args[1]),
285invocation => Assert.Equal(TestDataProtectionProvider.Protect(expectedPurposes[2], "null"), invocation.Args[1]));