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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/SimpleIdentifierTest.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/ast/SimpleIdentifierTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/SimpleIdentifierTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/SimpleIdentifierTest.java
index 7f401485cd01e5dd83fab651c3b78e5826a4a8f7..af88107d6cb05ba63cf9080a774bfa25da96eb3b 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/SimpleIdentifierTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/ast/SimpleIdentifierTest.java
@@ -16,7 +16,6 @@ package com.google.dart.engine.ast;
import com.google.dart.engine.parser.ParserTestCase;
import com.google.dart.engine.scanner.TokenType;
-import static com.google.dart.engine.ast.AstFactory.argumentDefinitionTest;
import static com.google.dart.engine.ast.AstFactory.assignmentExpression;
import static com.google.dart.engine.ast.AstFactory.binaryExpression;
import static com.google.dart.engine.ast.AstFactory.catchClause;
@@ -65,11 +64,6 @@ public class SimpleIdentifierTest extends ParserTestCase {
NONE;
}
- public void test_inDeclarationContext_argumentDefinition() {
- SimpleIdentifier identifier = argumentDefinitionTest("p").getIdentifier();
- assertFalse(identifier.inDeclarationContext());
- }
-
public void test_inDeclarationContext_catch_exception() {
SimpleIdentifier identifier = catchClause("e").getExceptionParameter();
assertTrue(identifier.inDeclarationContext());

Powered by Google App Engine
This is Rietveld 408576698