Home
last modified time | relevance | path

Searched refs:dumpString (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/
DDnsStatsTest.cpp103 std::string dumpString = captureDumpOutput(); in verifyDumpOutput() local
106 std::string* dumpString) { in verifyDumpOutput() argument
108 ASSERT_NE(dumpString->find(protocol), std::string::npos); in verifyDumpOutput()
113 ASSERT_TRUE(std::regex_search(*dumpString, sm, pattern)); in verifyDumpOutput()
117 *dumpString = sm.suffix(); in verifyDumpOutput()
122 ASSERT_TRUE(std::regex_search(*dumpString, sm, pattern)); in verifyDumpOutput()
126 *dumpString = sm.suffix(); in verifyDumpOutput()
130 check(udpData, "UDP", &dumpString); in verifyDumpOutput()
131 check(dotData, "TLS", &dumpString); in verifyDumpOutput()
132 check(tcpData, "TCP", &dumpString); in verifyDumpOutput()
[all …]
DExperimentsTest.cpp87 const std::string dumpString = captured.str(); in expectDumpOutput() local
89 EXPECT_EQ(dumpString.find(title), 0U); in expectDumpOutput()
98 size_t pos = dumpString.find(flagDump, startPos); in expectDumpOutput()
102 EXPECT_EQ(startPos + 1, dumpString.size()); in expectDumpOutput()
103 EXPECT_EQ(dumpString.substr(startPos), "\n"); in expectDumpOutput()