| Index: pkg/scheduled_test/test/scheduled_test/wrap_async_test.dart
|
| diff --git a/pkg/scheduled_test/test/scheduled_test/wrap_async_test.dart b/pkg/scheduled_test/test/scheduled_test/wrap_async_test.dart
|
| deleted file mode 100644
|
| index 9ad2b8614f92e615b0304884c0676e1b93410404..0000000000000000000000000000000000000000
|
| --- a/pkg/scheduled_test/test/scheduled_test/wrap_async_test.dart
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -import 'package:scheduled_test/scheduled_test.dart';
|
| -import 'package:scheduled_test/src/mock_clock.dart' as mock_clock;
|
| -
|
| -import 'package:metatest/metatest.dart';
|
| -import '../utils.dart';
|
| -
|
| -void main() => initTests(_test);
|
| -
|
| -void _test(message) {
|
| - initMetatest(message);
|
| -
|
| - setUpTimeout();
|
| -
|
| - expectTestsFail('an out-of-band failure in wrapAsync is handled', () {
|
| - mock_clock.mock().run();
|
| - test('test', () {
|
| - schedule(() {
|
| - sleep(1).then(wrapAsync((_) => expect('foo', equals('bar'))));
|
| - });
|
| - schedule(() => sleep(2));
|
| - });
|
| - });
|
| -
|
| - expectTestsFail('an out-of-band failure in wrapAsync that finishes after the '
|
| - 'schedule is handled', () {
|
| - mock_clock.mock().run();
|
| - test('test', () {
|
| - schedule(() {
|
| - sleep(2).then(wrapAsync((_) => expect('foo', equals('bar'))));
|
| - });
|
| - schedule(() => sleep(1));
|
| - });
|
| - });
|
| -}
|
|
|