Searched refs:dumpString (Results 1 – 2 of 2) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsStatsTest.cpp | 103 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 …]
|
D | ExperimentsTest.cpp | 87 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()
|