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
2 files changed
tree: ec40340c8f9f2c13060300c5930baee40a431590
  1. .idea/
  2. adb-proxy/
  3. adblib/
  4. adblib-ddmlibcompatibility/
  5. adblib-tools/
  6. annotations/
  7. apkparser/
  8. app-inspection/
  9. apps/
  10. aspects_agent/
  11. backup/
  12. backup-test/
  13. bazel/
  14. build-analyzer/
  15. build-system/
  16. chunkio/
  17. chunkio-processor/
  18. common/
  19. ddmlib/
  20. debugger-tests/
  21. debuggers/
  22. deploy/
  23. device-provisioner/
  24. device_validator/
  25. draw9patch/
  26. dynamic-layout-inspector/
  27. echo-sample/
  28. emulator/
  29. environment-services/
  30. external-annotations/
  31. fakeadbserver/
  32. fakeandroid/
  33. firebase/
  34. flags/
  35. game-tools/
  36. gmaven/
  37. gradle-upgrade/
  38. intellij-bazel/
  39. intellij-native/
  40. jaxb-inheritance-plugin/
  41. jdwp-packet/
  42. jdwp-scache/
  43. jdwp-tracer/
  44. jobb/
  45. journeys/
  46. kexter/
  47. kotlin-multiplatform-models/
  48. layoutlib-api/
  49. layoutlib-extensions/
  50. leakcanarylib/
  51. legacy/
  52. lint/
  53. manifest-parser/
  54. misc/
  55. mlkit-common/
  56. multipreview-asm/
  57. ninepatch/
  58. owners/
  59. perf-logger/
  60. perflib/
  61. pixelprobe/
  62. preview/
  63. process-monitor/
  64. profgen/
  65. profiler/
  66. repository/
  67. resource-repository/
  68. sdk-common/
  69. sdklib/
  70. signflinger/
  71. standalone-render/
  72. studio-grpc-testutils/
  73. testing-infrastructure/
  74. testutils/
  75. third_party/
  76. threading-agent/
  77. threading-agent-callback/
  78. tracer/
  79. transport/
  80. usb-devices/
  81. utp/
  82. vector-drawable-tool/
  83. wear-wff-schema/
  84. wizard/
  85. yourkit-controller/
  86. zipflinger/
  87. .editorconfig
  88. .gitattributes
  89. .gitignore
  90. adt.iml
  91. BUILD.bazel
  92. contributing.md
  93. navbar.md
  94. PREUPLOAD.cfg
  95. README.md
  96. source.md
  97. studio.md
README.md

tools/base

This project contains:

  • Common libraries that are shared between any of the IDE (Android Studio), the build system (The Android Gradle Plugin) and SDK components that will be released from studio-main (e.g. the standalone SDK manager). This includes:
    • Instant-run-libraries
    • SDK management libraries
    • The manifest merger
    • Common libraries
    • Common test utilites
  • The build system
  • The new profiler