| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /* | 5 /* |
| 6 * This file imports all individual tests files and allows them to be run | 6 * This file imports all individual tests files and allows them to be run |
| 7 * all at once. | 7 * all at once. |
| 8 * | 8 * |
| 9 * It also exposes `testCore` which is used by `hop_runner` to rust tests via | 9 * It also exposes `testCore` which is used by `hop_runner` to rust tests via |
| 10 * Hop. | 10 * Hop. |
| 11 */ | 11 */ |
| 12 library harness_console; | 12 library harness_console; |
| 13 | 13 |
| 14 import 'package:unittest/unittest.dart'; | 14 import 'package:unittest/unittest.dart'; |
| 15 | 15 |
| 16 import 'create_middleware_test.dart' as create_middleware; | 16 import 'create_middleware_test.dart' as create_middleware; |
| 17 import 'http_date_test.dart' as http_date; | 17 import 'http_date_test.dart' as http_date; |
| 18 import 'log_middleware_test.dart' as log_middleware; | 18 import 'log_middleware_test.dart' as log_middleware; |
| 19 import 'media_type_test.dart' as media_type; | 19 import 'media_type_test.dart' as media_type; |
| 20 import 'request_test.dart' as request; | 20 import 'request_test.dart' as request; |
| 21 import 'response_test.dart' as response; | 21 import 'response_test.dart' as response; |
| 22 import 'shelf_io_test.dart' as shelf_io; | 22 import 'shelf_io_test.dart' as shelf_io; |
| 23 import 'stack_test.dart' as stack; | 23 import 'stack_test.dart' as stack; |
| 24 import 'string_scanner_test.dart' as string_scanner; | |
| 25 | 24 |
| 26 void main() { | 25 void main() { |
| 27 groupSep = ' - '; | 26 groupSep = ' - '; |
| 28 | 27 |
| 29 group('createMiddleware', create_middleware.main); | 28 group('createMiddleware', create_middleware.main); |
| 30 group('http_date', http_date.main); | 29 group('http_date', http_date.main); |
| 31 group('logRequests', log_middleware.main); | 30 group('logRequests', log_middleware.main); |
| 32 group('MediaType', media_type.main); | 31 group('MediaType', media_type.main); |
| 33 group('Request', request.main); | 32 group('Request', request.main); |
| 34 group('Response', response.main); | 33 group('Response', response.main); |
| 35 group('shelf_io', shelf_io.main); | 34 group('shelf_io', shelf_io.main); |
| 36 group('Stack', stack.main); | 35 group('Stack', stack.main); |
| 37 group('StringScanner', string_scanner.main); | |
| 38 } | 36 } |
| OLD | NEW |