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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java

Issue 10661022: Issue 3752. Support for @override annotations (as structured doc comments) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
index 2d8e9348b634a89720b0167350c9c3d034d7b0a2..fa45d79679e34ebcf69e9ae32ca2b179251c1227 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
@@ -13,9 +13,7 @@ import com.google.dart.compiler.ast.DartSourceDirective;
import com.google.dart.compiler.ast.DartUnit;
import java.net.URL;
-import java.util.HashSet;
import java.util.Iterator;
-import java.util.Set;
/**
* Tests for the parser, which simply assert that valid source units parse
@@ -161,11 +159,4 @@ public abstract class AbstractParserTest extends CompilerTestCase {
System.out.format("%s ms for '%s.%s()'%n", System.currentTimeMillis() - start,
getClass().getName(), getName());
}
-
- @Override
- protected DartParser makeParser(ParserContext context) {
- Set<String> prefixes = new HashSet<String>();
- prefixes.add("prefix");
- return new DartParser(context, prefixes, false);
- }
}

Powered by Google App Engine
This is Rietveld 408576698