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

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

Issue 669673006: Add SExpression test and share tests between dart2dart and analyzer2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 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
« no previous file with comments | « tests/compiler/dart2js/backend_dart/test_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_libraries.dart
diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart
index 734db25f3d4169d9a868caa4b8fc70ded0a2f5d6..62f6d988ecd9e3494bdc534e55a4e0d2f7e792a1 100644
--- a/tests/compiler/dart2js/mock_libraries.dart
+++ b/tests/compiler/dart2js/mock_libraries.dart
@@ -22,11 +22,13 @@ String buildLibrarySource(
const Map<String, String> DEFAULT_CORE_LIBRARY = const <String, String>{
'bool': 'class bool {}',
+ 'Comparator': 'abstract class Comparator<T> {}',
'DateTime': r'''
class DateTime {
DateTime(year);
DateTime.utc(year);
}''',
+ 'deprecated': 'const deprecated = 0;',
'double': r'''
abstract class double extends num {
static var NAN = 0;
« no previous file with comments | « tests/compiler/dart2js/backend_dart/test_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698