14629098dd
In particular, enforce that a method annotated with @visibleForTesting can only be referenced from within the declaring library, or within a file that has "/test" in its path. This allows @visibleForTesting methods to be accessed from test files, or files in "/testing" folders, etc. Bug: https://github.com/dart-lang/sdk/issues/28273 Change-Id: I3c19f73be330c49face7e3203879742d514bca74 Reviewed-on: https://dart-review.googlesource.com/27201 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>