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