016ea28ede
These tests cover all the functionality of the API summary tool. Note that since the `ApiDescription` constructor requires an `AnalysisContext`, I added a public `contextCollection` getter to the `PubPackageResolutionTest` base class. There are a few loose ends I intend to address in follow-up CLs. They have been noted in TODO comments: - Annotate when classes are `abstract`, `final`, or `interface`. - Move `pub_package_resolution.dart` out of `package:analyzer_testing/src` (so that when I publish this as a separate package, that package won't be dependent on private implementation details of `package:analyzer_testing`). Change-Id: I6a6a69643064115997f6586ff5161ddf4c9f96ff Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/482360 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>