| 32 | }; |
| 33 | |
| 34 | TEST(ServerSessionMiddleware, ParseCookieString) { |
| 35 | std::vector<std::pair<std::string, std::string>> r1 = |
| 36 | ServerSessionMiddlewareFactoryPrivate::ParseCookieString( |
| 37 | "k1=v1; k2=\"v2\"; kempty=; k3=v3"); |
| 38 | std::vector<std::pair<std::string, std::string>> e1 = { |
| 39 | {"k1", "v1"}, {"k2", "v2"}, {"kempty", ""}, {"k3", "v3"}}; |
| 40 | ASSERT_EQ(e1, r1); |
| 41 | } |
| 42 | |
| 43 | } // namespace sql |
| 44 | } // namespace flight |
nothing calls this directly
no outgoing calls
no test coverage detected