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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilationWithPrefixTest.java

Issue 9346021: Turn off code generation in dartc by default, soon to be static analysis only (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cosmetic changes Created 8 years, 10 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/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;

Powered by Google App Engine
This is Rietveld 408576698