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

Unified Diff: pkg/analysis_testing/lib/mock_sdk.dart

Issue 405483007: More fixes in the Fixes service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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: pkg/analysis_testing/lib/mock_sdk.dart
diff --git a/pkg/analysis_testing/lib/mock_sdk.dart b/pkg/analysis_testing/lib/mock_sdk.dart
index 89de9b6479eb1ac03a11e50055d1f3cb6986d74d..99cf23c15e109e8a2e8cc230b2fa0efb911c4b98 100644
--- a/pkg/analysis_testing/lib/mock_sdk.dart
+++ b/pkg/analysis_testing/lib/mock_sdk.dart
@@ -33,6 +33,7 @@ class MockSdk implements DartSdk {
num operator -(num other);
num operator *(num other);
num operator /(num other);
+ int toInt();
}
abstract class int extends num {
int operator -();
@@ -62,6 +63,13 @@ class MockSdk implements DartSdk {
class HtmlElement {}
''',
+ "/lib/async/async.dart": '''
+ library dart.async;
+ class Future {
+ static Future wait(List<Future> futures) => null;
+ }
+ ''',
+
"/lib/math/math.dart": '''
library dart.math;
const double E = 2.718281828459045;
@@ -114,6 +122,7 @@ class MockSdk implements DartSdk {
const Map<String, String> uriToPath = const {
"dart:core": "/lib/core/core.dart",
"dart:html": "/lib/html/dartium/html_dartium.dart",
+ "dart:async": "/lib/async/async.dart",
"dart:math": "/lib/math/math.dart"
};

Powered by Google App Engine
This is Rietveld 408576698