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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java

Issue 10139017: Support for same prefix for multiple imports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Detect top-level duplicates in libraries with same prefix Created 8 years, 8 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/parser/TruncatedSourceParserTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
index d905006021953ab19b0fa0f6c0fa675683e685e8..cc396f20a77b3be920063ebb257d188c8f094b4a 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/TruncatedSourceParserTest.java
@@ -124,6 +124,9 @@ public class TruncatedSourceParserTest extends AbstractParserTest {
@Override
protected DartUnit parseUnit(String srcName, String srcCode, Object... errors) {
+ if ("true".equals(System.getProperty("analysis_skip_TruncatedSourceParserTest"))) {
+ return null;
+ }
if (errors.length > 0) {
throw new RuntimeException("Expected errors not implemented");
}

Powered by Google App Engine
This is Rietveld 408576698