commit | 54071681c8496dcb17e11dc150e01ecb63164fa9 | [log] [tgz] |
---|---|---|
author | lishutong <lishutong@google.com> | Fri Aug 13 19:32:02 2021 +0000 |
committer | Shutong Li <lishutong@google.com> | Tue Aug 17 15:31:28 2021 +0000 |
tree | 6ffecf69892a95cbf187525ad184536a757e96b6 | |
parent | d3675725b854de8d9b0924a6f41bbea0bce82133 [diff] |
Add test to target_lib.py. Add test to two classes: BuildInfo and TargetLib. BuildInfo is a dataclass which can store and parse Android Build informations from an OTA package. TargetLib is a database interface which can be used to store and extract BuildInfo. Please refer to this CL for more details of these two classes: https://android-review.googlesource.com/c/platform/development/+/1735315 Test: python test_target_lib.py -v Change-Id: I3b2143af7f3708207b6c53744d903d3dcee92d55