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

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

Issue 437323004: Port and test more assists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix for review comment. Created 6 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 | « pkg/analysis_services/test/search/hierarchy_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f1e414decb568700df9a70a11d29f04b9ebf6c79..d4e7933f7edc598735a4730ebeec0c8c02aeec8c 100644
--- a/pkg/analysis_testing/lib/mock_sdk.dart
+++ b/pkg/analysis_testing/lib/mock_sdk.dart
@@ -18,7 +18,11 @@ class MockSdk implements DartSdk {
static const _MockSdkLibrary LIB_CORE =
const _MockSdkLibrary('dart:core', '/lib/core/core.dart', '''
library dart.core;
-class Object {}
+
+class Object {
+ bool operator ==(other) => identical(this, other);
+}
+
class Function {}
class StackTrace {}
class Symbol {}
@@ -80,6 +84,8 @@ class Stream<T> {}
library dart.math;
const double E = 2.718281828459045;
const double PI = 3.1415926535897932;
+num min(num a, num b) => 0;
+num max(num a, num b) => 0;
''');
static const _MockSdkLibrary LIB_HTML =
« no previous file with comments | « pkg/analysis_services/test/search/hierarchy_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698