Chromium Code Reviews| Index: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java |
| diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java |
| index 680108d410d6095e20ac96276d827dc9aa7897e8..3da888d7456502a8e0720d25aa258f22d4bcf7db 100644 |
| --- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java |
| +++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java |
| @@ -8,6 +8,7 @@ import static com.google.dart.compiler.DartCompiler.EXTENSION_DEPS; |
| import static com.google.dart.compiler.backend.js.AbstractJsBackend.EXTENSION_APP_JS; |
| import static com.google.dart.compiler.backend.js.AbstractJsBackend.EXTENSION_JS; |
| +import com.google.dart.compiler.CommandLineOptions.CompilerOptions; |
| import com.google.dart.compiler.CompilerTestCase; |
| import com.google.dart.compiler.DartCompiler; |
| import com.google.dart.compiler.DartCompilerListener; |
| @@ -64,7 +65,14 @@ public class IncrementalCompilationWithPrefixTest extends CompilerTestCase { |
| @Override |
| protected void setUp() throws Exception { |
| - config = new DefaultCompilerConfiguration(new JavascriptBackend()) { |
| + CompilerOptions compilerOptions = new CompilerOptions() { |
|
scheglov
2012/02/07 21:38:54
I like this comment in other tests.
// TODO(zundel
zundel
2012/02/07 22:02:01
Done.
|
| + @Override |
| + public boolean checkOnly() { |
| + return false; |
| + } |
| + }; |
| + config = new DefaultCompilerConfiguration(new JavascriptBackend(), |
| + compilerOptions) { |
| @Override |
| public boolean incremental() { |
| return true; |