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

Unified Diff: compiler/javatests/com/google/dart/compiler/backend/js/SnippetTestCase.java

Issue 8948001: Updates dartc to recognize 'default' keyword on interface and updated factory method syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Feedback from mmendez Created 9 years 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/backend/js/SnippetTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/backend/js/SnippetTestCase.java b/compiler/javatests/com/google/dart/compiler/backend/js/SnippetTestCase.java
index 56e9194928f537dca77daf1f345b24325724441a..6dca0115f3f2450d7fb23da990345b60d1a16843 100644
--- a/compiler/javatests/com/google/dart/compiler/backend/js/SnippetTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/backend/js/SnippetTestCase.java
@@ -9,7 +9,6 @@ import com.google.dart.compiler.CommandLineOptions.CompilerOptions;
import com.google.dart.compiler.CompilerConfiguration;
import com.google.dart.compiler.CompilerTestCase;
import com.google.dart.compiler.DartCompiler;
-import com.google.dart.compiler.DartCompilerListener;
import com.google.dart.compiler.DartCompilerListenerTest;
import com.google.dart.compiler.DartSourceTest;
import com.google.dart.compiler.DefaultCompilerConfiguration;
@@ -53,9 +52,9 @@ public abstract class SnippetTestCase extends CompilerTestCase {
lib.addSource(src);
CompilerOptions options = new CompilerOptions();
CompilerConfiguration config = new DefaultCompilerConfiguration(this.getBackend(), options);
- DartCompilerListener listener = new DartCompilerListenerTest(src.getName());
+ DartCompilerListenerTest listener = new DartCompilerListenerTest(src.getName());
DartCompiler.compileLib(lib, config, provider, listener);
-
+ listener.checkAllErrorsReported();
return provider.getArtifactString(src, part, JavascriptBackend.EXTENSION_JS);
}

Powered by Google App Engine
This is Rietveld 408576698