| Index: pkg/analysis_server/test/mock_sdk.dart
|
| diff --git a/pkg/analysis_server/test/mock_sdk.dart b/pkg/analysis_server/test/mock_sdk.dart
|
| index 90b5eac153592b088a3640fc1a9a8e85ef49e06b..4589c2270ed5550b6d47cfdbb794ec084c693b88 100644
|
| --- a/pkg/analysis_server/test/mock_sdk.dart
|
| +++ b/pkg/analysis_server/test/mock_sdk.dart
|
| @@ -108,6 +108,8 @@ library dart.async;
|
| import 'dart:math';
|
|
|
| class Future<T> {
|
| + factory Future.delayed(Duration duration, [T computation()]) => null;
|
| + factory Future.value([value]) => null;
|
| static Future wait(List<Future> futures) => null;
|
| }
|
|
|
| @@ -143,7 +145,11 @@ num max(num a, num b) => 0;
|
| external double cos(num x);
|
| external double sin(num x);
|
| external double sqrt(num x);
|
| -class Random {}
|
| +class Random {
|
| + bool nextBool() => true;
|
| + double nextDouble() => 2.0;
|
| + int nextInt() => 1;
|
| +}
|
| ''');
|
|
|
| static const _MockSdkLibrary LIB_HTML =
|
|
|