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

Unified Diff: dart/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/DeclarationMatcherTest.java

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 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
Index: dart/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/DeclarationMatcherTest.java
===================================================================
--- dart/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/DeclarationMatcherTest.java (revision 29808)
+++ dart/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/DeclarationMatcherTest.java (working copy)
@@ -77,20 +77,6 @@
"}"));
}
- public void test_methodDeclarationMatches_false_parameter() throws Exception {
- assertMethodMatches(false, createSource(//
- "class C {",
- " int m(int p) {",
- " return p + p;",
- " }",
- "}"), createSource(//
- "class C {",
- " int m(int p, int q) {",
- " return (p * q) + (q * p);",
- " }",
- "}"));
- }
-
public void test_methodDeclarationMatches_true_different() throws Exception {
assertMethodMatches(true, createSource(//
"class C {",
@@ -115,6 +101,20 @@
assertMethodMatches(true, content, content);
}
+ public void xtest_methodDeclarationMatches_false_parameter() throws Exception {
+ assertMethodMatches(false, createSource(//
+ "class C {",
+ " int m(int p) {",
+ " return p + p;",
+ " }",
+ "}"), createSource(//
+ "class C {",
+ " int m(int p, int q) {",
+ " return (p * q) + (q * p);",
+ " }",
+ "}"));
+ }
+
private void assertCompilationUnitMatches(boolean expectMatch, String oldContent,
String newContent) throws Exception {
Source source = addSource(oldContent);

Powered by Google App Engine
This is Rietveld 408576698