summaryrefslogtreecommitdiffstats
path: root/tests/src
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE Workaround for java.lang.IllegalArgumentException in ↵Ta-wei Yen2016-01-111-0/+125
| | | | | | | | | | | | | | | | android.util.ArrayMap b/25613098 sometimes corrupt the bundle, resulting in a IllegalArgumentException while validating. Workaround with abandoning all the information in it. The bypassed code only tries to extract data from the bundle, which can already be null. These are not critical for the dialer to function. Bug:26343012 Bug:25613098 Change-Id: I16b05ecb0e5317f7170d80eb8426b5cdce20f6c2
* Disable AccelerometerListener when display is offYorke Lee2015-09-041-0/+64
| | | | | | | | | | | | Unregister the accelerometer listener when the screen is off to reduce power consumption. Slight refactor of component constructors to facilitate testing. Add test. Bug: 23498050 Change-Id: If1971a39e8a418253f6611116c855e3c6cf81b93
* Rename PRE_DIAL_WAIT to SELECT_PHONE_ACCOUNTSantos Cordon2015-04-232-3/+3
| | | | | Bug: 20532435 Change-Id: Iae50b2ce15232a6010eb04895193b04c423ecc00
* Refactor mock CallList functionalityYorke Lee2015-04-022-48/+105
| | | | | | | | MockCallListWrapper provides an instance of a mock call list and provides functionality to easily add/remove calls from the mock call list. Change-Id: I4f7651284d35bdac61574fd804afa33dbf43d6b0
* Flesh out more InCall testsYorke Lee2015-03-061-11/+47
| | | | Change-Id: If77e0767e9dbc65a9235dc1841f4d7298e4d39d5
* Add tests for InCallPresenterYorke Lee2015-03-051-0/+177
| | | | | | | | | | | Add a bunch of end-to-end tests for InCallPresenter Refactor InCallPresenter to be more dependency injection friendly. Add some test-only methods to make testing easier Change-Id: I86b6eeff91d35bc3b5cb3de9262d8850673919b7
* Add InCallUI tests folder and basic testYorke Lee2015-02-271-0/+29
Change-Id: I3a8f03dfca5db1b7012e48e2b5dd7bd6b9dc4f3d