OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:io'; | 6 import 'dart:io'; |
7 | 7 |
8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
9 import 'package:flash_sd_card/src/context.dart'; | 9 import 'package:flash_sd_card/src/context.dart'; |
10 import 'package:flash_sd_card/src/platform_service.dart'; | 10 import 'package:flash_sd_card/src/platform_service.dart'; |
11 | 11 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 Expect.isTrue(output.indexOf('Failed') > 0); | 89 Expect.isTrue(output.indexOf('Failed') > 0); |
90 Expect.isTrue(output.indexOf('Retrying in 0 seconds') > 0); | 90 Expect.isTrue(output.indexOf('Retrying in 0 seconds') > 0); |
91 Expect.equals(-1, output.indexOf('DONE')); | 91 Expect.equals(-1, output.indexOf('DONE')); |
92 | 92 |
93 await server.close(); | 93 await server.close(); |
94 await server.done; | 94 await server.done; |
95 await ctx.done(); | 95 await ctx.done(); |
96 await env.close(); | 96 await env.close(); |
97 } | 97 } |
98 } | 98 } |
OLD | NEW |