Searched refs:stdout_ (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/bugreportz/ |
D | bugreportz_test.cpp | 65 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/ |
D | dumpsys_test.cpp | 125 DumpsysTest() : sm_(), dump_(&sm_), stdout_(), stderr_() { in DumpsysTest() 174 stdout_ = GetCapturedStdout(); in CallMain() 184 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertRunningServices() 188 EXPECT_THAT(stdout_, StrEq(expected)); in AssertOutput() 192 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertOutputContains() 196 EXPECT_THAT(stdout_, HasSubstr("DUMP OF SERVICE " + service + ":\n" + dump)); in AssertDumped() 200 EXPECT_THAT(stdout_, Not(HasSubstr(dump))); in AssertNotDumped() 211 std::string stdout_, stderr_; member in DumpsysTest
|