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