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

Unified Diff: compiler/java/com/google/dart/compiler/testing/TestCompilerConfiguration.java

Issue 9479013: Remove backends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More clean up 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/java/com/google/dart/compiler/testing/TestCompilerConfiguration.java
diff --git a/compiler/java/com/google/dart/compiler/testing/TestCompilerConfiguration.java b/compiler/java/com/google/dart/compiler/testing/TestCompilerConfiguration.java
index f35c94ba1b5b25f77c24969107fab772f3561eb4..5e20535a6114ea422dbde5bf15d4e8cd3aa0482c 100644
--- a/compiler/java/com/google/dart/compiler/testing/TestCompilerConfiguration.java
+++ b/compiler/java/com/google/dart/compiler/testing/TestCompilerConfiguration.java
@@ -1,10 +1,9 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.google.dart.compiler.testing;
-import com.google.dart.compiler.Backend;
import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
import com.google.dart.compiler.CompilerConfiguration;
import com.google.dart.compiler.DartCompilationPhase;
@@ -26,11 +25,6 @@ public class TestCompilerConfiguration implements CompilerConfiguration {
private final SystemLibraryManager systemLibraryManager = new SystemLibraryManager();
@Override
- public boolean developerModeChecks() {
- return false;
- }
-
- @Override
public boolean warningsAreFatal() {
return false;
}
@@ -56,11 +50,6 @@ public class TestCompilerConfiguration implements CompilerConfiguration {
}
@Override
- public File getOutputFilename() {
- return null;
- }
-
- @Override
public File getOutputDirectory() {
throw new AssertionError();
}
@@ -76,21 +65,6 @@ public class TestCompilerConfiguration implements CompilerConfiguration {
}
@Override
- public List<Backend> getBackends() {
- return Collections.emptyList();
- }
-
- @Override
- public boolean checkOnly() {
- return true;
- }
-
- @Override
- public boolean expectEntryPoint() {
- return false;
- }
-
- @Override
public LibrarySource getSystemLibraryFor(String importSpec) {
URI systemUri;
try {

Powered by Google App Engine
This is Rietveld 408576698