Lines Matching refs:parameters
25 mime::Parameters parameters; in TEST() local
27 mime::Split("application/json;charset=utf-8", &s1, &s2, ¶meters)); in TEST()
31 EXPECT_EQ(1, parameters.size()); in TEST()
32 EXPECT_EQ(mime::parameters::kCharset, parameters.front().first); in TEST()
33 EXPECT_EQ("utf-8", parameters.front().second); in TEST()
35 mime::Combine(s1, s2, parameters)); in TEST()
39 mime::Parameters parameters; in TEST() local
44 parameters = mime::GetParameters("text/plain; charset=iso-8859-1;foo=bar"); in TEST()
45 EXPECT_EQ(2, parameters.size()); in TEST()
46 EXPECT_EQ(mime::parameters::kCharset, parameters[0].first); in TEST()
47 EXPECT_EQ("iso-8859-1", parameters[0].second); in TEST()
48 EXPECT_EQ("foo", parameters[1].first); in TEST()
49 EXPECT_EQ("bar", parameters[1].second); in TEST()
54 mime::text::kXml, mime::parameters::kCharset, "utf-8"); in TEST()
59 mime::GetParameterValue(mime_string, mime::parameters::kCharset)); in TEST()