Commit Graph

3 Commits

Author SHA1 Message Date
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