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 | 140 DumpsysTest() : sm_(), dump_(&sm_), stdout_(), stderr_() { in DumpsysTest() 199 stdout_ = GetCapturedStdout(); in CallMain() 216 stdout_ = GetCapturedStdout(); in CallSingleService() 225 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertRunningServices() 229 EXPECT_THAT(stdout_, StrEq(expected)); in AssertOutput() 233 EXPECT_THAT(stdout_, HasSubstr(expected)); in AssertOutputContains() 237 EXPECT_THAT(stdout_, testing::MatchesRegex(format)); in AssertOutputFormat() 241 EXPECT_THAT(stdout_, HasSubstr("DUMP OF SERVICE " + service + ":\n" + dump)); in AssertDumped() 242 EXPECT_THAT(stdout_, HasSubstr("was the duration of dumpsys " + service + ", ending at: ")); in AssertDumped() 248 EXPECT_THAT(stdout_, in AssertDumpedWithPriority() [all …]
|