commit | 4cc5bb3705992f43078778fc521799430c0e242f | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Thu Jun 25 14:33:11 2015 -0700 |
committer | The Android Automerger <android-build@google.com> | Thu Jun 25 19:58:09 2015 -0700 |
tree | 3c7ae405c773bbe3c845179c04b85c49455511d0 | |
parent | 93d2c7c0b05fc847e0ee509adc2417ed4d2f020f [diff] |
Rewrite TextView onSaveInstanceState CTS tests The previous tests directly access the SaveState parcel, and make assumptions about its internal layout, which is not valid. This patch replaces those tests with new ones that actually save and restore instance state to a real TextView, using stable public interfaces. The save state also contains state related to undo, but coverage for that was already added. Bug: 21209641 Change-Id: I9e9a3b37afb8356021e7b7232ee36823a0ce63d5