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