Lines Matching refs:GetCanonicalHeaderName
488 TEST(HttpUtils, GetCanonicalHeaderName) { in TEST() argument
489 EXPECT_EQ("Foo", GetCanonicalHeaderName("foo")); in TEST()
490 EXPECT_EQ("Bar", GetCanonicalHeaderName("BaR")); in TEST()
491 EXPECT_EQ("Baz", GetCanonicalHeaderName("BAZ")); in TEST()
492 EXPECT_EQ("Foo-Bar", GetCanonicalHeaderName("foo-bar")); in TEST()
493 EXPECT_EQ("Foo-Bar-Baz", GetCanonicalHeaderName("foo-Bar-BAZ")); in TEST()
494 EXPECT_EQ("Foo-Bar-Baz", GetCanonicalHeaderName("FOO-BAR-BAZ")); in TEST()
495 EXPECT_EQ("Foo-Bar-", GetCanonicalHeaderName("fOO-bAR-")); in TEST()
496 EXPECT_EQ("-Bar", GetCanonicalHeaderName("-bAR")); in TEST()
497 EXPECT_EQ("", GetCanonicalHeaderName("")); in TEST()
498 EXPECT_EQ("A-B-C", GetCanonicalHeaderName("a-B-c")); in TEST()