Commit Graph

1 Commits

Author SHA1 Message Date
Clément Pasteau bc662995f4 Add tests for the MetadataProvider constant-time index
- Core/tests/PlatformMetadataIndex.cpp (native/catch): every lookup kind against
  DummyPlatform, object-expression fallback to the base ("") type, behavior
  actions indexed alongside free/object ones, bad-metadata for unknown types,
  the declaring extension is returned, and the index rebuilds after an extension
  is removed.
- Expand the jest MetadataProviderIndex test to assert *all* metadata kinds
  resolve after an extension is added and *all* become bad after it is removed
  (invalidation covers the whole index, not just objects/actions).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 17:32:24 +02:00