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

Unified Diff: pkg/analyzer/test/src/dart/analysis/defined_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/defined_names_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/defined_names_test.dart b/pkg/analyzer/test/src/dart/analysis/defined_names_test.dart
index bc34e50dc2621c6d9e58b582dc917ae9a638d97c..6b5131cb87cc593fe65d933fa90b94cd7e7cf7df 100644
--- a/pkg/analyzer/test/src/dart/analysis/defined_names_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/defined_names_test.dart
@@ -16,7 +16,7 @@ main() {
}
@reflectiveTest
-class DefinedNamesTest {
+class DefinedNamesTest extends ParserTestCase {
test_classMemberNames() {
DefinedNames names = _computeDefinedNames('''
class A {
@@ -52,7 +52,7 @@ var G, H;
}
DefinedNames _computeDefinedNames(String code) {
- CompilationUnit unit = ParserTestCase.parseCompilationUnit2(code);
+ CompilationUnit unit = parseCompilationUnit2(code);
return computeDefinedNames(unit);
}
}
« no previous file with comments | « pkg/analyzer/test/generated/resolver_test.dart ('k') | pkg/analyzer/test/src/dart/analysis/referenced_names_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698