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

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

Issue 27300003: Change "typedef" to "class" in core library and related tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update some dart2js tests and unparser. Created 7 years, 2 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: tests/compiler/dart2js/unparser_test.dart
diff --git a/tests/compiler/dart2js/unparser_test.dart b/tests/compiler/dart2js/unparser_test.dart
index c00d6e2882ab267d9f07a61e87b584cdd9c91100..e978f80ea68937107e4384da0aa3548e9f39bf93 100644
--- a/tests/compiler/dart2js/unparser_test.dart
+++ b/tests/compiler/dart2js/unparser_test.dart
@@ -283,20 +283,23 @@ testClassDeclarations() {
}
testMixinApplications() {
- testUnparseTopLevelWithMetadata('typedef C = S with M;');
- testUnparseTopLevelWithMetadata('typedef C = S with M1,M2;');
- testUnparseTopLevelWithMetadata('typedef C = S with M1,M2,M3;');
+ testUnparseTopLevelWithMetadata('class C = S with M;');
+ testUnparseTopLevelWithMetadata('class C = S with M1,M2;');
+ testUnparseTopLevelWithMetadata('class C = S with M1,M2,M3;');
- testUnparseTopLevelWithMetadata('typedef C<A> = S with M;');
- testUnparseTopLevelWithMetadata('typedef C<A,B> = S with M;');
+ testUnparseTopLevelWithMetadata('class C<A> = S with M;');
+ testUnparseTopLevelWithMetadata('class C<A,B> = S with M;');
- testUnparseTopLevelWithMetadata('typedef C = S<A> with M;');
- testUnparseTopLevelWithMetadata('typedef C = S<A,B> with M;');
+ testUnparseTopLevelWithMetadata('class C = S<A> with M;');
+ testUnparseTopLevelWithMetadata('class C = S<A,B> with M;');
- testUnparseTopLevelWithMetadata('typedef C = S with M<A>;');
- testUnparseTopLevelWithMetadata('typedef C = S with M<A,B>;');
- testUnparseTopLevelWithMetadata('typedef C = S with M1<A>,M2;');
- testUnparseTopLevelWithMetadata('typedef C = S with M1,M2<A,B>;');
+ testUnparseTopLevelWithMetadata('class C = S with M<A>;');
+ testUnparseTopLevelWithMetadata('class C = S with M<A,B>;');
+ testUnparseTopLevelWithMetadata('class C = S with M1<A>,M2;');
+ testUnparseTopLevelWithMetadata('class C = S with M1,M2<A,B>;');
+
+ testUnparseTopLevelWithMetadata('abstract class C = S with M;');
+ testUnparseTopLevelWithMetadata('abstract class C<A> = S<A> with M<A>;');
}
testUnparseParameters(List<String> variableDeclarations) {
« no previous file with comments | « tests/compiler/dart2js/analyze_dart2js_test.dart ('k') | tests/language/mixin_illegal_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698