Lines Matching refs:mime_string
12 std::string mime_string = mime::Combine(mime::types::kText, "xml"); in TEST() local
13 EXPECT_EQ(mime::text::kXml, mime_string); in TEST()
53 std::string mime_string = mime::AppendParameter( in TEST() local
55 EXPECT_EQ("text/xml; charset=utf-8", mime_string); in TEST()
56 mime_string = mime::AppendParameter(mime_string, "foo", "bar"); in TEST()
57 EXPECT_EQ("text/xml; charset=utf-8; foo=bar", mime_string); in TEST()
59 mime::GetParameterValue(mime_string, mime::parameters::kCharset)); in TEST()
60 EXPECT_EQ("bar", mime::GetParameterValue(mime_string, "foo")); in TEST()
61 EXPECT_EQ("", mime::GetParameterValue(mime_string, "baz")); in TEST()
62 mime_string = mime::RemoveParameters(mime_string); in TEST()
63 EXPECT_EQ(mime::text::kXml, mime_string); in TEST()