commit | 593df2ce1ed128a61c6146bd3e98a049986d67d5 | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Fri Jun 18 12:35:40 2021 -0700 |
committer | Winson <chiuwinson@google.com> | Thu Aug 05 10:41:19 2021 -0700 |
tree | df938a07c5d721023edadab16c24b215c440cae1 | |
parent | bf649b323a0f2dcbf3f2bb1d4dc6f3eb80b3f2a9 [diff] |
Add parsing class parcelling tests Uses reflection to read all of the getters for each of the data classes and finds their setters to input test data, serialize it, deserialize it, and compare the before and after values. Also records all of the methods available in the class, to ensure that any new fields/methods are caught by the test. Bug: 178852754 Test: atest com.android.server.pm.test.parsing.parcelling Change-Id: I642fd43a3ff2e5675129f0f4ad3646c97e3f0e22