| Index: compiler/javatests/com/google/dart/compiler/parser/DietParserTest.java
|
| diff --git a/compiler/javatests/com/google/dart/compiler/parser/DietParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/DietParserTest.java
|
| index 5235c4a65279eac6a5fd59c17a19a057d44a90b4..14181b5d618795d74cf178274a10f18b4be791fc 100644
|
| --- a/compiler/javatests/com/google/dart/compiler/parser/DietParserTest.java
|
| +++ b/compiler/javatests/com/google/dart/compiler/parser/DietParserTest.java
|
| @@ -4,6 +4,10 @@
|
|
|
| package com.google.dart.compiler.parser;
|
|
|
| +import com.google.common.collect.Sets;
|
| +import com.google.dart.compiler.DartCompilerListener;
|
| +import com.google.dart.compiler.Source;
|
| +
|
| /**
|
| * Tests for the parser, which simply assert that valid source units parse
|
| * correctly. All tests invoking {@code parseUnit} are designed such that
|
| @@ -14,9 +18,9 @@ public class DietParserTest extends AbstractParserTest {
|
| public void testStringsErrors() {
|
| parseUnit("StringsErrorsNegativeTest.dart");
|
| }
|
| -
|
| +
|
| @Override
|
| - protected DartParser makeParser(ParserContext context) {
|
| - return new DartParser(context, /* isDietParse */true);
|
| + protected DartParser makeParser(Source src, String sourceCode, DartCompilerListener listener) {
|
| + return new DartParser(src, sourceCode, true, Sets.<String>newHashSet(), listener, null);
|
| }
|
| }
|
|
|