Home
last modified time | relevance | path

Searched refs:getProtocolVal (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/server/
H A DTlsSocketServerTest.cpp250 std::string getProtocolVal; variable
251 server.GetProtocol([&getProtocolVal](int32_t errCode, const std::string &protocol) { in __anon487d28ab1502()
253 getProtocolVal = protocol; in __anon487d28ab1502()
255 EXPECT_STREQ(getProtocolVal.c_str(), "TLSv1.3");
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsSocketUnilateralConnection.cpp313 std::string getProtocolVal; variable
314 tlsService.GetProtocol([&getProtocolVal](int32_t errCode, const std::string &protocol) { in __anon659a62bd1902()
316 getProtocolVal = protocol; in __anon659a62bd1902()
318 EXPECT_STREQ(getProtocolVal.c_str(), "TLSv1.2");
H A DTlsSocketCertChainTest.cpp264 std::string getProtocolVal = ""; variable
265 certChainServer.GetProtocol([&getProtocolVal](int32_t errCode, const std::string &protocol) { in __anon6010aead1b02()
267 getProtocolVal = protocol; in __anon6010aead1b02()
269 EXPECT_STREQ(getProtocolVal.c_str(), "TLSv1.3");