Commit Graph

5 Commits

Author SHA1 Message Date
Rhed Jao
38e36756f8 Tests no screenshot is copied when user consent timed out am: 9516a007c5 am: 04827943d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11940429

Change-Id: I9949cd537a2baabc5718e25a45d8917fc8e5d36b
2020-06-25 19:25:08 +00:00
Rhed Jao
9516a007c5 Tests no screenshot is copied when user consent timed out
Bug: 152944488
Test: BugreportManagerTest#normalFlow_full
Change-Id: I5bc8fcbff908258a20c5515a6ba092ceab1cc447
Merged-in: I5bc8fcbff908258a20c5515a6ba092ceab1cc447
2020-06-22 18:35:04 +08:00
easoncylee
c90519732e Prune BugreportManagerTestCases out of general-tests.
These tests define test_suite as 'general-tests' only but not used in
Test Mapping Suite. Hence, we plan to prune them to reduce size/build
time of general-tests.zip. They are listed as below:
 - BugreportManagerTestCases

Bug: 139893779

Test: m general-tests
      atest BugreportManagerTestCases

Change-Id: I093772ee5ab35f6218f2b0c7e74192ae171e05bc
2019-10-01 17:08:18 +08:00
Abhijeet Kaur
3a0eed2379 Add tests for optional screenshot Fd in bugreport API
Not all bugreports need screenshots, and hence it should not be
mandatory to pass screenshotfd in parameters to startBugreport (call to
bugreport API).
Ensuring the above by passing null screenshotFd.

Bug: 123578274
Test: atest BugreportManagerTest
Change-Id: I79f4a71cc79e655a64c4cf9ac04fef0814db8ff1
2019-05-20 15:50:11 +01:00
Nandana Dutt
9600780ce8 Add unittests for BugreportManager API
BUG: 123578274
Test: frameworks/base/core/tests/bugreports/run.sh

Change-Id: I9551dba039aaa3d68e9de2cf75712163e7cee1f7
2019-05-10 14:41:12 +01:00