commit | dc6a05697b687a8ecf5d830c91d9a5578fea2945 | [log] [tgz] |
---|---|---|
author | shaktirp <shaktirp@google.com> | Mon Apr 28 11:17:58 2025 +0100 |
committer | Shakti Rajpurohit <shaktirp@google.com> | Wed Apr 30 08:31:46 2025 -0700 |
tree | ec40340c8f9f2c13060300c5930baee40a431590 | |
parent | 5e294d19d2841190b7c5623bb119de1248112b18 [diff] |
Add test to verify packages JSON will parse successfully with unknown field. The test verifies that `findVersion` can successfully parse the Lorry index file and find versions even if the JSON data contains unknown fields not defined in the data classes. This ensures forward compatibility if the index schema evolves. Bug: b/407727269 Test: Unit test added Change-Id: I4038ffc1e50915b3759a0854f7bec512e67f81ef
This project contains: