| OLD | NEW |
| 1 // Copyright (c) 2016, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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:sdk_services/sdk_services.dart'; | 9 import 'package:sdk_services/sdk_services.dart'; |
| 10 | 10 |
| 11 import 'utils.dart'; | 11 import 'utils.dart'; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 Expect.isTrue(result.indexOf('Retrying in 0 seconds') > 0); | 81 Expect.isTrue(result.indexOf('Retrying in 0 seconds') > 0); |
| 82 Expect.equals(-1, result.indexOf('DONE')); | 82 Expect.equals(-1, result.indexOf('DONE')); |
| 83 | 83 |
| 84 await server.close(); | 84 await server.close(); |
| 85 await server.done; | 85 await server.done; |
| 86 await(dir.delete(recursive: true)); | 86 await(dir.delete(recursive: true)); |
| 87 return; | 87 return; |
| 88 } | 88 } |
| 89 Expect.fail("Only DownloadException is valid"); | 89 Expect.fail("Only DownloadException is valid"); |
| 90 } | 90 } |
| OLD | NEW |