Lines Matching refs:br_
138 EXPECT_CALL(br_, SendShellCommand("bugreportz -v", false, _)) in ExpectBugreportzVersion()
144 EXPECT_CALL(br_, UpdateProgress(StrEq("generating " + file), progress_percentage)); in ExpectProgress()
147 BugreportMock br_; member in BugreportTest
154 ASSERT_EQ(1, br_.DoIt(3, args)); in TEST_F()
161 EXPECT_CALL(br_, SendShellCommand("bugreportz -v", false, _)) in TEST_F()
169 EXPECT_CALL(br_, SendShellCommand("bugreport", false, _)) in TEST_F()
173 ASSERT_EQ(0, br_.DoIt(1, args)); in TEST_F()
184 EXPECT_CALL(br_, SendShellCommand("bugreportz", false, _)) in TEST_F()
187 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/da_bugreport.zip")), StrEq(dest_file), in TEST_F()
192 ASSERT_EQ(0, br_.DoIt(1, args)); in TEST_F()
202 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
207 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/da_bugreport.zip")), StrEq(dest_file), in TEST_F()
212 ASSERT_EQ(0, br_.DoIt(1, args)); in TEST_F()
218 EXPECT_CALL(br_, SendShellCommand("bugreportz", false, _)) in TEST_F()
221 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
226 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
233 EXPECT_CALL(br_, SendShellCommand("bugreportz", false, _)) in TEST_F()
237 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
242 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
253 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
273 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
278 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
288 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
304 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
309 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
318 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
327 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
332 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
342 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
346 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/da_bugreport.zip")), StrEq(dest_file), in TEST_F()
351 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
357 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
360 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
365 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
375 EXPECT_CALL(br_, SendShellCommand("bugreportz", false, _)) in TEST_F()
379 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/da_bugreport.zip")), StrEq(dest_file), in TEST_F()
384 ASSERT_EQ(0, br_.DoIt(2, args)); in TEST_F()
390 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
396 ASSERT_EQ(-1, br_.DoIt(2, args)); in TEST_F()
405 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
411 ASSERT_EQ(-1, br_.DoIt(2, args)); in TEST_F()
419 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
425 ASSERT_EQ(-1, br_.DoIt(2, args)); in TEST_F()
431 EXPECT_CALL(br_, SendShellCommand("bugreportz -v", false, _)).WillOnce(Return(666)); in TEST_F()
434 ASSERT_EQ(666, br_.DoIt(2, args)); in TEST_F()
442 ASSERT_EQ(-1, br_.DoIt(2, args)); in TEST_F()
448 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)).WillOnce(Return(666)); in TEST_F()
451 ASSERT_EQ(666, br_.DoIt(2, args)); in TEST_F()
457 EXPECT_CALL(br_, SendShellCommand("bugreportz -p", false, _)) in TEST_F()
460 EXPECT_CALL(br_, DoSyncPull(ElementsAre(StrEq("/device/bugreport.zip")), StrEq("file.zip"), in TEST_F()
465 ASSERT_EQ(1, br_.DoIt(2, args)); in TEST_F()