Base:
11 references to Equals
Microsoft.Net.Http.Headers.Tests (11)
NameValueHeaderValueTest.cs (11)
220Assert.True(nameValue1.Equals(nameValue2), "<null> vs. <null>."); 224Assert.False(nameValue1.Equals(nameValue2), "token vs. <null>."); 228Assert.False(nameValue1.Equals(nameValue2), "<null> vs. token."); 232Assert.False(nameValue1.Equals(nameValue2), "string.Empty vs. token."); 236Assert.True(nameValue1.Equals(nameValue2), "<null> vs. string.Empty."); 240Assert.True(nameValue1.Equals(nameValue2), "token vs. TOKEN."); 244Assert.True(nameValue1.Equals(nameValue2), "token vs. token."); 248Assert.False(nameValue1.Equals(nameValue2), "\"quoted string\" vs. \"QUOTED STRING\"."); 252Assert.True(nameValue1.Equals(nameValue2), "\"quoted string\" vs. \"quoted string\"."); 254Assert.False(nameValue1.Equals(null), "\"quoted string\" vs. <null>."); 262Assert.True(nameValue1.Equals(nameValue2), "text vs. TEXT.");