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

Unified Diff: pkg/analyzer/test/generated/incremental_resolver_test.dart

Issue 741183002: Remove in-bodies analysis from DeclarationMatcher. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/incremental_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
index 4cf4a15e24af600d3f09deb8a48ee48d92ca594d..3557af751c8b4f7bb3f1555286ec121ae4a3c41c 100644
--- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
+++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
@@ -52,30 +52,6 @@ class C {
}''');
}
- void test_compilationUnitMatches_true_different() {
- _assertCompilationUnitMatches(true, r'''
-class C {
- int m(int p) {
- return p + p;
- }
-}''', r'''
-class C {
- int m(int p) {
- return (p * p) + (p * p);
- }
-}''');
- }
-
- void test_compilationUnitMatches_true_same() {
- String content = r'''
-class C {
- int m(int p) {
- return p + p;
- }
-}''';
- _assertCompilationUnitMatches(true, content, content);
- }
-
void test_false_class_list_add() {
_assertCompilationUnitMatches(false, r'''
class A {}
@@ -264,44 +240,6 @@ class C extends Object with B, A {}
''');
}
- void test_methodDeclarationMatches_false_parameter() {
- _assertMethodMatches(false, r'''
-class C {
- int m(int p) {
- return p + p;
- }
-}''', r'''
-class C {
- int m(int p, int q) {
- return (p * q) + (q * p);
- }
-}''');
- }
-
- void test_methodDeclarationMatches_true_different() {
- _assertMethodMatches(true, r'''
-class C {
- int m(int p) {
- return p + p;
- }
-}''', r'''
-class C {
- int m(int p) {
- return (p * p) + (p * p);
- }
-}''');
- }
-
- void test_methodDeclarationMatches_true_same() {
- String content = r'''
-class C {
- int m(int p) {
- return p + p;
- }
-}''';
- _assertMethodMatches(true, content, content);
- }
-
void test_true_class_list_reorder() {
_assertCompilationUnitMatches(true, r'''
class A {}
« no previous file with comments | « pkg/analyzer/lib/src/generated/incremental_resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698