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 | 127 DumpsysTest() : sm_(), dump_(&sm_), stdout_(), stderr_() { in DumpsysTest() 186 stdout_ = GetCapturedStdout(); in CallMain() 203 stdout_ = GetCapturedStdout(); in CallSingleService() 215 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertRunningServices() 219 EXPECT_THAT(stdout_, StrEq(expected)); in AssertOutput() 223 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertOutputContains() 227 EXPECT_THAT(stdout_, HasSubstr("DUMP OF SERVICE " + service + ":\n" + dump)); in AssertDumped() 228 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); in AssertDumped() 234 EXPECT_THAT(stdout_, in AssertDumpedWithPriority() 236 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); in AssertDumpedWithPriority() [all …]
|