6 references to CheckValidTryParse
Microsoft.Net.Http.Headers.Tests (6)
StringWithQualityHeaderValueTest.cs (6)
167
CheckValidTryParse
("text", new StringWithQualityHeaderValue("text"));
168
CheckValidTryParse
("text;q=0.5", new StringWithQualityHeaderValue("text", 0.5));
169
CheckValidTryParse
("text ; q = 0.5", new StringWithQualityHeaderValue("text", 0.5));
170
CheckValidTryParse
("\r\n text ; q = 0.5 ", new StringWithQualityHeaderValue("text", 0.5));
171
CheckValidTryParse
(" text ", new StringWithQualityHeaderValue("text"));
172
CheckValidTryParse
(" \r\n text \r\n ; \r\n q = 0.123", new StringWithQualityHeaderValue("text", 0.123));