Home
last modified time | relevance | path

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

/frameworks/native/cmds/bugreportz/
Dbugreportz_test.cpp65 ASSERT_THAT(stdout_, StrEq(expected)) << "wrong stdout output"; in AssertStdoutEquals()
82 stdout_ = GetCapturedStdout(); in Bugreportz()
84 ASSERT_EQ(0, status) << "bugrepotz() call failed (stdout: " << stdout_ << ")"; in Bugreportz()
90 std::string stdout_; member in BugreportzTest
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp128 DumpsysTest() : sm_(), dump_(&sm_), stdout_(), stderr_() { in DumpsysTest()
187 stdout_ = GetCapturedStdout(); in CallMain()
204 stdout_ = GetCapturedStdout(); in CallSingleService()
213 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertRunningServices()
217 EXPECT_THAT(stdout_, StrEq(expected)); in AssertOutput()
221 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertOutputContains()
225 EXPECT_THAT(stdout_, HasSubstr("DUMP OF SERVICE " + service + ":\n" + dump)); in AssertDumped()
226 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); in AssertDumped()
232 EXPECT_THAT(stdout_, in AssertDumpedWithPriority()
234 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); in AssertDumpedWithPriority()
[all …]