f81079035f
Most of the behavior of LintRuleTest is extracted into a public class in analyzer_testing, AnalysisRuleTest. A little bit of code is left in LintRuleTest, so that first-party lint rules can be tested by registering the first-party lint rules. And those lint rules can declare the `lintRule` that each is concerned with, rather than the new `analysisRule` getter. PubPackageResolutionTest is left as private impl, because I think it may undergo some changes, and we may be merging more shared code, and the name may change. A few first-party lint rules have tests that refer to this class, which is OK. Other than that, no code or behavior changes are in this CL. Work towards https://github.com/dart-lang/sdk/issues/55660 Change-Id: I447850c438af7d0fe90889d2eaec6f2f8b4f8281 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/429420 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
21 lines
497 B
YAML
21 lines
497 B
YAML
name: analyzer_testing
|
|
|
|
environment:
|
|
sdk: ^3.7.0
|
|
|
|
resolution: workspace
|
|
|
|
dependencies:
|
|
analyzer: ^8.0.0-dev
|
|
meta: ^1.10.0
|
|
path: ^1.9.0
|
|
test: ^1.25.0
|
|
|
|
# We use 'any' version constraints here as we get our package versions from
|
|
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
|
|
# best practice for packages is to specify their compatible version ranges.
|
|
# See also https://dart.dev/tools/pub/dependencies.
|
|
dev_dependencies:
|
|
analyzer_utilities: any
|
|
lints: any
|