| commit | 7cfb452d57dafea5c1570fcdcb05f994eef68f61 | [log] [tgz] |
|---|---|---|
| author | Riddle Hsu <riddlehsu@google.com> | Mon Dec 02 16:11:45 2019 -0600 |
| committer | Riddle Hsu <riddlehsu@google.com> | Mon Dec 02 21:38:37 2019 +0800 |
| tree | 249609d69fdb8b79c6b0b3db7a05417dd5dcfa88 | |
| parent | 79b6065384eb72e614af0e9816d80a15fe127b01 [diff] |
Add testing object tracker to simplify test method - Reduce lots of indents when using session-like object by having a centralized place to close the managed closeable. - Avoid misusing of some objects that should do something but are untouched. - Move assertion out of tearDown to avoid incomplete cleanup of subclasses. Bug: 112837428 Test: atest CtsWindowManagerDeviceTestCases Change-Id: I27ef2267197b6cda653bda4cf29a2a8483e8e6f3