| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| index 9abb8a57042bdfcbe6036caf9fcd043f9299a2e4..e51d1bdc8c43a5779071c9db5b7587b42e7e03d0 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/parser/ErrorParserTest.java
|
| @@ -16,8 +16,6 @@ package com.google.dart.engine.parser;
|
| import com.google.dart.engine.ast.CompilationUnit;
|
| import com.google.dart.engine.ast.Expression;
|
| import com.google.dart.engine.ast.FunctionExpression;
|
| -import com.google.dart.engine.ast.ListLiteral;
|
| -import com.google.dart.engine.ast.MapLiteral;
|
| import com.google.dart.engine.ast.MethodInvocation;
|
| import com.google.dart.engine.ast.SimpleIdentifier;
|
| import com.google.dart.engine.ast.StringLiteral;
|
| @@ -485,14 +483,6 @@ public class ErrorParserTest extends ParserTestCase {
|
| parse("parseStringLiteral", "'$x$'", ParserErrorCode.MISSING_IDENTIFIER);
|
| }
|
|
|
| - public void test_expectedOneListTypeArguments_two() throws Exception {
|
| - Expression expression = parse(
|
| - "parsePrimaryExpression",
|
| - "<int, int>[]",
|
| - ParserErrorCode.EXPECTED_ONE_LIST_TYPE_ARGUMENTS);
|
| - assertInstanceOf(ListLiteral.class, expression);
|
| - }
|
| -
|
| public void test_expectedStringLiteral() throws Exception {
|
| StringLiteral expression = parse(
|
| "parseStringLiteral",
|
| @@ -526,22 +516,6 @@ public class ErrorParserTest extends ParserTestCase {
|
| parseStatement("do {} (x);", ParserErrorCode.EXPECTED_TOKEN);
|
| }
|
|
|
| - public void test_expectedTwoMapTypeArguments_one() throws Exception {
|
| - Expression expression = parse(
|
| - "parsePrimaryExpression",
|
| - "<int>{}",
|
| - ParserErrorCode.EXPECTED_TWO_MAP_TYPE_ARGUMENTS);
|
| - assertInstanceOf(MapLiteral.class, expression);
|
| - }
|
| -
|
| - public void test_expectedTwoMapTypeArguments_three() throws Exception {
|
| - Expression expression = parse(
|
| - "parsePrimaryExpression",
|
| - "<int, int, int>{}",
|
| - ParserErrorCode.EXPECTED_TWO_MAP_TYPE_ARGUMENTS);
|
| - assertInstanceOf(MapLiteral.class, expression);
|
| - }
|
| -
|
| public void test_expectedTypeName_is() throws Exception {
|
| parseExpression("x is", ParserErrorCode.EXPECTED_TYPE_NAME);
|
| }
|
|
|