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

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

Issue 268673006: Fix for 10469- removal of the ArgumentDefinitionTest Ast node from the analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase before commit Created 6 years, 8 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzerTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzerTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzerTest.java
index 0fa6dec13809e984465bc8e8c6bd5006e99eeb91..e6b055530cc0e0f445796f9f95bf2553ea748df6 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzerTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/resolver/StaticTypeAnalyzerTest.java
@@ -64,7 +64,6 @@ import com.google.dart.engine.type.Type;
import com.google.dart.engine.utilities.io.FileUtilities2;
import static com.google.dart.engine.ast.AstFactory.adjacentStrings;
-import static com.google.dart.engine.ast.AstFactory.argumentDefinitionTest;
import static com.google.dart.engine.ast.AstFactory.asExpression;
import static com.google.dart.engine.ast.AstFactory.assignmentExpression;
import static com.google.dart.engine.ast.AstFactory.binaryExpression;
@@ -164,13 +163,6 @@ public class StaticTypeAnalyzerTest extends EngineTestCase {
listener.assertNoErrors();
}
- public void test_visitArgumentDefinitionTest() throws Exception {
- // ?p
- Expression node = argumentDefinitionTest("p");
- assertSame(typeProvider.getBoolType(), analyze(node));
- listener.assertNoErrors();
- }
-
public void test_visitAsExpression() throws Exception {
// class A { ... this as B ... }
// class B extends A {}

Powered by Google App Engine
This is Rietveld 408576698