MCPcopy Create free account
hub / github.com/apache/arrow / TEST

Function TEST

cpp/src/arrow/flight/sql/server_session_middleware_internals_test.cc:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34TEST(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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected