26 references to Equal
Microsoft.AspNetCore.DataProtection.Tests (26)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (2)
162
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
185
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorTests.cs (2)
37
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
65
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorTests.cs (2)
34
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
60
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorTests.cs (2)
36
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
68
XmlAssert.
Equal
(expectedXml, retVal.SerializedDescriptorElement);
KeyManagement\DeferredKeyTests.cs (1)
28
XmlAssert.
Equal
(@"<node />", element);
KeyManagement\XmlKeyManagerTests.cs (5)
157
XmlAssert.
Equal
(expectedXml, elementStoredInRepository);
256
XmlAssert.
Equal
(expectedEscrowXml, elementStoredInEscrow);
285
XmlAssert.
Equal
(expectedRepositoryXml, elementStoredInRepository);
658
XmlAssert.
Equal
(expectedRepositoryXml, elementStoredInRepository);
713
XmlAssert.
Equal
(expectedRepositoryXml, elementStoredInRepository);
MockExtensions.cs (2)
30
XmlAssert.
Equal
(xml, el);
53
XmlAssert.
Equal
(expectedInputXml, el);
Repositories\FileSystemXmlRepositoryTests.cs (2)
83
XmlAssert.
Equal
("<element1 />", parsedElement);
117
XmlAssert.
Equal
("<element1 />", parsedElement);
Repositories\RegistryXmlRepositoryTests.cs (2)
71
XmlAssert.
Equal
("<element1 />", parsedElement);
103
XmlAssert.
Equal
("<element1 />", parsedElement);
XmlEncryption\NullXmlEncryptionTests.cs (2)
20
XmlAssert.
Equal
("<theElement />", retVal);
34
XmlAssert.
Equal
("<unencryptedKey><theElement /></unencryptedKey>", retVal.EncryptedElement);
XmlEncryption\XmlEncryptionExtensionsTests.cs (4)
25
XmlAssert.
Equal
("<element />", original); // unmutated
208
XmlAssert.
Equal
("<element />", original); // unmutated
223
XmlAssert.
Equal
(@"<rootNode x:requiresEncryption='true' xmlns:x='http://schemas.asp.net/2015/03/dataProtection' />", original); // unmutated
226
XmlAssert.
Equal
("<theElement />", retVal.Descendants().Single());