| Index: compiler/javatests/com/google/dart/compiler/parser/ParserEventsTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/ParserEventsTest.java b/compiler/javatests/com/google/dart/compiler/parser/ParserEventsTest.java
|
| index d74e22bc22d85f55f6890badcb7d329159a1408b..bef3a7aa8f9c233b82940b4e99a8258a426172fd 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/ParserEventsTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/ParserEventsTest.java
|
| @@ -67,8 +67,14 @@ import static com.google.dart.compiler.parser.ParserEventsTest.Mark.VarDeclarati
|
| import static com.google.dart.compiler.parser.ParserEventsTest.Mark.VariableDeclaration;
|
| import static com.google.dart.compiler.parser.ParserEventsTest.Mark.WhileStatement;
|
|
|
| +import com.google.common.collect.Sets;
|
| +import com.google.dart.compiler.DartCompilerListener;
|
| +import com.google.dart.compiler.Source;
|
| +import com.google.dart.compiler.metrics.CompilerMetrics;
|
| +
|
| import java.util.HashSet;
|
| import java.util.LinkedHashSet;
|
| +import java.util.Set;
|
|
|
| public class ParserEventsTest extends AbstractParserTest {
|
|
|
| @@ -187,8 +193,13 @@ public class ParserEventsTest extends AbstractParserTest {
|
| }
|
| }
|
|
|
| - public ParserEventRecorder(ParserContext ctx) {
|
| - super(ctx);
|
| + public ParserEventRecorder(Source source,
|
| + String sourceCode,
|
| + boolean isDietParse,
|
| + Set<String> prefixes,
|
| + DartCompilerListener listener,
|
| + CompilerMetrics compilerMetrics) {
|
| + super(source, sourceCode, isDietParse, prefixes, listener, compilerMetrics);
|
| marks = new LinkedHashSet<Mark>();
|
| }
|
|
|
| @@ -752,10 +763,10 @@ public class ParserEventsTest extends AbstractParserTest {
|
| QualifiedIdentifier, ConditionalExpression, BinaryExpression, VariableDeclaration,
|
| FormalParameterList);
|
| }
|
| -
|
| +
|
| @Override
|
| - protected DartParser makeParser(ParserContext context) {
|
| - recorder = new ParserEventRecorder(context);
|
| + protected DartParser makeParser(Source src, String sourceCode, DartCompilerListener listener) {
|
| + recorder = new ParserEventRecorder(src, sourceCode, false, Sets.<String>newHashSet(), listener, null);
|
| return recorder;
|
| }
|
|
|
|
|