11 references to AssertFormatException
Microsoft.Net.Http.Headers.Tests (11)
ContentDispositionHeaderValueTest.cs (11)
28
AssertFormatException
(" inline ");
29
AssertFormatException
(" inline");
30
AssertFormatException
("inline ");
31
AssertFormatException
("\"inline\"");
32
AssertFormatException
("te xt");
33
AssertFormatException
("te=xt");
34
AssertFormatException
("teäxt");
35
AssertFormatException
("text;");
36
AssertFormatException
("te/xt;");
37
AssertFormatException
("inline; name=someName; ");
38
AssertFormatException
("text;name=someName"); // ctor takes only disposition-type name, no parameters