SIGN IN SIGN UP

CQ. Consolidate context root discovery tests.

Move context root discovery coverage into AnalysisContextCollectionTest
so that discovery is validated through the collection that consumes its
results. Replace individual ContextRoot assertions with unified
expectations covering contexts, analysis options, workspaces, packages,
and analyzed files.

Verify that ContextRoot.isAnalyzed agrees with analyzedFiles for
existing, linked, and explicitly included paths. Register the new
expectation helpers and remove the obsolete ContextLocatorImpl test
suite.

Change-Id: Id79d248cd03be5a96d2ff51d3bfb4bd74b9dd2fb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/542981
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
K
Konstantin Shcheglov committed
f8ce5e24aae7617976125aa03c434e6182847539
Parent: 1eb943b
Committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> on 8/31/2026, 2:54:07 PM