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

Unified Diff: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/AbstractDartTest.java

Issue 11368132: Issue 6560. Report error when generative constructor calls factory constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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: editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/AbstractDartTest.java
diff --git a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/AbstractDartTest.java b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/AbstractDartTest.java
index 984c11fb5d83c987cc74b354ad63600eaac67543..68c9064c7607bf60989682adda5c4b22f82bcc85 100644
--- a/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/AbstractDartTest.java
+++ b/editor/tools/plugins/com.google.dart.tools.ui_test/src/com/google/dart/tools/ui/refactoring/AbstractDartTest.java
@@ -20,6 +20,7 @@ import com.google.dart.compiler.ast.DartNode;
import com.google.dart.tools.core.model.CompilationUnit;
import com.google.dart.tools.core.model.DartElement;
import com.google.dart.tools.core.test.util.TestProject;
+import com.google.dart.tools.core.test.util.TestUtilities;
import junit.framework.TestCase;
@@ -83,6 +84,7 @@ public abstract class AbstractDartTest extends TestCase {
* Asserts that {@link CompilationUnit} has expected content.
*/
protected static void assertUnitContent(CompilationUnit unit, String... lines) throws Exception {
+ TestUtilities.processAllDeltaChanges();
assertEquals(makeSource(lines), unit.getSource());
}

Powered by Google App Engine
This is Rietveld 408576698