commit | 477b15ca439af71e796dd3ecbff20be10949dec7 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <[email protected]> | Wed Jan 19 07:10:41 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 10 00:42:05 2022 +0000 |
tree | f3918f24b49efd8ee627e0abe4e1d78878491896 | |
parent | ed120bb3c1da5a20cc9e3a8869e8507437ec9b4c [diff] |
Do not verify field count in tests used in CTS Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1952107 Tests in tests/common and tests/cts are run as part of CtsNetTestCases. Many used assertFieldCountEquals in parceling/unparceling tests to ensure that unexpected fields were not added, or that they were not missed when testing parceling/unparceling. However with many of the classes updatable through module updates, the field count may change in the future, breaking CTS tests. Stop checking for the field count, as it would break on module releases, and its value is lower than the maintenance cost. Bug: 205901761 Test: atest CtsNetTestCases Merged-In: Ie53474eecf0a836788ee15b45adc7a7980c12355 Merged-In: I79854741f7e834574d4825bb737ef507785310fe Merged-In: Ib1701358f9058aeaaa336be8d074cfaa700c4309 (cherry picked from commit 9a2a8e5205d3aad8c16037f440770a979ca4b103) (cherry picked from commit 64dd2c35f1606b5431a0d37dc3e6037e6974aff0) Change-Id: I74d43b3ede00f893cf30a18c58fba32a897530e1 (cherry picked from commit b020e552d834171e3bd844d342c7c4ef2b9320c6) Merged-In:I74d43b3ede00f893cf30a18c58fba32a897530e1