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

Unified Diff: tests/compiler/dart2js/unparser_test.dart

Issue 10855264: Enable somehow disabled test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index 6c1fdee4eee9c5df4d106305e5eafa46f5b4a9d9..c954d8ef08d6b0bb94302d738c2669bd7bd49389 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -279,16 +279,16 @@ main() {
}
''';
var expectedResult =
- 'globalfoo(){}var p_globalVar;var globalVarInitialized=6,p_globalVarInitialized2=7;'
- 'class p_A{p_A(){}p_A.fromFoo(){}static staticfoo(){}foo(){}static final field=5;}'
- 'p_globalfoo(){}var globalVar;var p_globalVarInitialized=6,globalVarInitialized2=7;'
+ 'globalfoo(){}var globalVar;var globalVarInitialized=6,globalVarInitialized2=7;'
'class A{A(){}A.fromFoo(){}static staticfoo(){}foo(){}static final field=5;}'
- 'main(){globalVar; p_globalVarInitialized; globalVarInitialized2; p_globalfoo();'
- ' A.field; A.staticfoo();'
- ' new A(); new A.fromFoo(); new A().foo();'
- ' p_globalVar; globalVarInitialized; p_globalVarInitialized2; globalfoo();'
+ 'p_globalfoo(){}var p_globalVar;var p_globalVarInitialized=6,p_globalVarInitialized2=7;'
+ 'class p_A{p_A(){}p_A.fromFoo(){}static staticfoo(){}foo(){}static final field=5;}'
+ 'main(){p_globalVar; p_globalVarInitialized; p_globalVarInitialized2; p_globalfoo();'
' p_A.field; p_A.staticfoo();'
- ' new p_A(); new p_A.fromFoo(); new p_A().foo();}';
+ ' new p_A(); new p_A.fromFoo(); new p_A().foo();'
+ ' globalVar; globalVarInitialized; globalVarInitialized2; globalfoo();'
+ ' A.field; A.staticfoo();'
+ ' new A(); new A.fromFoo(); new A().foo();}';
testDart2DartWithLibrary(mainSrc, librarySrc,
(String result) { Expect.equals(expectedResult, result); });
}
@@ -567,7 +567,7 @@ main() {
testGetSet();
testFactoryConstructor();
testAbstractClass();
- //testConflictSendsRename();
+ testConflictSendsRename();
testNoConflictSendsRename();
testConflictLibraryClassRename();
testDefaultClassWithArgs();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698