11 references to CheckValidTryParse
Microsoft.Net.Http.Headers.Tests (11)
CacheControlHeaderValueTest.cs (11)
380
CheckValidTryParse
(" , no-cache ,,", expected);
386
CheckValidTryParse
("no-cache=\"PLACEHOLDER1, PLACEHOLDER2\"", expected);
392
CheckValidTryParse
(" no-store , max-age = 125, max-stale,", expected);
399
CheckValidTryParse
("min-fresh=123, no-transform, only-if-cached, custom", expected);
409
CheckValidTryParse
(",public, , private=\"PLACEHOLDER1\", must-revalidate, c=d, proxy-revalidate, a=b", expected);
415
CheckValidTryParse
("s-maxage=1234567890, private, max-age = 987654321,", expected);
419
CheckValidTryParse
("custom=", expected);
520
CheckValidTryParse
(" , no-store, min-fresh=123", expected);
526
CheckValidTryParse
("max-stale, no-cache=\"t\", ,,", expected);
530
CheckValidTryParse
("custom = ", expected);
534
CheckValidTryParse
("custom =", expected);