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

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

Issue 10915071: Fix for issue 4835 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « compiler/java/com/google/dart/compiler/parser/DartParser.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
===================================================================
--- compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java (revision 11842)
+++ compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java (working copy)
@@ -3,11 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
package com.google.dart.compiler.end2end.inc;
-import static com.google.dart.compiler.DartCompiler.EXTENSION_DEPS;
-import static com.google.dart.compiler.DartCompiler.EXTENSION_TIMESTAMP;
-import static com.google.dart.compiler.common.ErrorExpectation.assertErrors;
-import static com.google.dart.compiler.common.ErrorExpectation.errEx;
-
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
@@ -20,8 +15,8 @@
import com.google.dart.compiler.DefaultCompilerConfiguration;
import com.google.dart.compiler.LibrarySource;
import com.google.dart.compiler.MockArtifactProvider;
+import com.google.dart.compiler.PackageLibraryManager;
import com.google.dart.compiler.Source;
-import com.google.dart.compiler.PackageLibraryManager;
import com.google.dart.compiler.UrlSource;
import com.google.dart.compiler.ast.DartUnit;
import com.google.dart.compiler.ast.LibraryUnit;
@@ -29,6 +24,11 @@
import com.google.dart.compiler.resolver.ResolverErrorCode;
import com.google.dart.compiler.resolver.TypeErrorCode;
+import static com.google.dart.compiler.DartCompiler.EXTENSION_DEPS;
+import static com.google.dart.compiler.DartCompiler.EXTENSION_TIMESTAMP;
+import static com.google.dart.compiler.common.ErrorExpectation.assertErrors;
+import static com.google.dart.compiler.common.ErrorExpectation.errEx;
+
import junit.framework.AssertionFailedError;
import java.io.IOException;
@@ -1137,12 +1137,13 @@
"import 'A.dart' as as;",
"import 'A.dart' as assert;",
"import 'A.dart' as Dynamic;",
- "import 'A.dart' as equals;",
+ "import 'A.dart' as equals;", // TODO(brianwilkerson) remove
+ "import 'A.dart' as external;",
"import 'A.dart' as factory;",
"import 'A.dart' as get;",
"import 'A.dart' as implements;",
- "import 'A.dart' as interface;",
- "import 'A.dart' as negate;",
+ "import 'A.dart' as interface;", // TODO(brianwilkerson) remove
+ "import 'A.dart' as negate;", // TODO(brianwilkerson) remove
"import 'A.dart' as operator;",
"import 'A.dart' as set;",
"import 'A.dart' as static;",
@@ -1154,7 +1155,7 @@
// do compile, no errors expected
compile();
{
- assertEquals(13, errors.size());
+ assertEquals(15, errors.size());
for (DartCompilationError error : errors) {
assertEquals(ResolverErrorCode.BUILT_IN_IDENTIFIER_AS_IMPORT_PREFIX, error.getErrorCode());
}
« no previous file with comments | « compiler/java/com/google/dart/compiler/parser/DartParser.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698