Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart

Issue 2683543006: Make some parser test helper methods non-static. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart b/pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart
index 97a1bdcaf3f830d53650d12e92f6f4045a97ccbd..f35be9bbf0eb72081cefb5e980ce53a4b49c4127 100644
--- a/pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart
@@ -16,7 +16,7 @@ main() {
}
@reflectiveTest
-class ReferencedNamesBuilderTest {
+class ReferencedNamesBuilderTest extends ParserTestCase {
test_class_constructor() {
Set<String> names = _computeReferencedNames('''
class U {
@@ -383,7 +383,7 @@ main() {
}
Set<String> _computeReferencedNames(String code) {
- CompilationUnit unit = ParserTestCase.parseCompilationUnit2(code);
+ CompilationUnit unit = parseCompilationUnit2(code);
return computeReferencedNames(unit);
}
}
« no previous file with comments | « pkg/analyzer/test/src/dart/analysis/defined_names_test.dart ('k') | pkg/analyzer/test/src/dart/ast/utilities_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698