2018-07-09 15:08:01 +00:00
|
|
|
import 'dart:io';
|
|
|
|
import 'package:io/ansi.dart';
|
2022-08-17 03:05:48 +00:00
|
|
|
import 'http_404_hole_test.dart' as hole404;
|
2017-07-10 23:08:05 +00:00
|
|
|
import 'accepts_test.dart' as accepts;
|
2017-06-29 22:17:42 +00:00
|
|
|
import 'anonymous_service_test.dart' as anonymous_service;
|
2019-04-17 16:41:59 +00:00
|
|
|
import 'body_test.dart' as body;
|
2017-05-27 12:39:45 +00:00
|
|
|
import 'controller_test.dart' as controller;
|
2019-04-17 16:41:59 +00:00
|
|
|
import 'detach_test.dart' as detach;
|
2017-05-27 12:39:45 +00:00
|
|
|
import 'di_test.dart' as di;
|
2017-08-15 23:01:16 +00:00
|
|
|
import 'encoders_buffer_test.dart' as encoders_buffer;
|
2019-04-17 16:41:59 +00:00
|
|
|
import 'env_test.dart' as env;
|
2017-06-29 22:17:42 +00:00
|
|
|
import 'exception_test.dart' as exception;
|
2019-11-22 13:20:00 +00:00
|
|
|
import 'extension_test.dart' as extension_test;
|
2018-07-12 15:19:25 +00:00
|
|
|
import 'find_one_test.dart' as find_one;
|
2017-05-27 12:39:45 +00:00
|
|
|
import 'general_test.dart' as general;
|
|
|
|
import 'hooked_test.dart' as hooked;
|
2017-10-10 16:55:42 +00:00
|
|
|
import 'parameter_meta_test.dart' as parameter_meta;
|
2019-04-17 16:41:59 +00:00
|
|
|
import 'parse_id_test.dart' as parse_id;
|
2017-06-06 12:42:33 +00:00
|
|
|
import 'precontained_test.dart' as precontained;
|
2017-08-28 15:29:27 +00:00
|
|
|
import 'primitives_test.dart' as primitives;
|
|
|
|
import 'repeat_request_test.dart' as repeat_request;
|
2019-05-02 22:56:43 +00:00
|
|
|
import 'req_shutdown_test.dart' as req_shutdown;
|
2017-05-27 12:39:45 +00:00
|
|
|
import 'routing_test.dart' as routing;
|
|
|
|
import 'serialize_test.dart' as serialize;
|
2017-06-30 13:49:45 +00:00
|
|
|
import 'server_test.dart' as server;
|
2018-10-22 16:29:52 +00:00
|
|
|
import 'service_map_test.dart' as service_map;
|
2017-05-27 12:39:45 +00:00
|
|
|
import 'services_test.dart' as services;
|
2017-08-15 23:01:16 +00:00
|
|
|
import 'streaming_test.dart' as streaming;
|
2017-06-29 22:17:42 +00:00
|
|
|
import 'view_generator_test.dart' as view_generator;
|
2023-11-13 00:59:18 +00:00
|
|
|
//import 'response_header_test.dart' as response_header;
|
2017-05-27 12:39:45 +00:00
|
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
|
|
/// For running with coverage
|
2021-05-14 10:34:09 +00:00
|
|
|
void main() {
|
2018-07-09 15:08:01 +00:00
|
|
|
print(cyan.wrap('Running tests on ${Platform.version}'));
|
2022-08-17 03:05:48 +00:00
|
|
|
group('http_404_hole', hole404.main);
|
2017-07-10 23:08:05 +00:00
|
|
|
group('accepts', accepts.main);
|
2017-06-29 22:17:42 +00:00
|
|
|
group('anonymous service', anonymous_service.main);
|
2019-04-17 16:41:59 +00:00
|
|
|
group('body', body.main);
|
2023-11-13 00:59:18 +00:00
|
|
|
//group('response_header', response_header.main);
|
2017-05-27 12:39:45 +00:00
|
|
|
group('controller', controller.main);
|
2019-04-17 16:41:59 +00:00
|
|
|
group('detach', detach.main);
|
2017-05-27 12:39:45 +00:00
|
|
|
group('di', di.main);
|
2017-08-15 23:01:16 +00:00
|
|
|
group('encoders_buffer', encoders_buffer.main);
|
2019-04-17 16:41:59 +00:00
|
|
|
group('env', env.main);
|
2017-06-29 22:17:42 +00:00
|
|
|
group('exception', exception.main);
|
2019-11-22 13:20:00 +00:00
|
|
|
group('extension', extension_test.main);
|
2018-07-12 15:19:25 +00:00
|
|
|
group('find_one', find_one.main);
|
2017-05-27 12:39:45 +00:00
|
|
|
group('general', general.main);
|
|
|
|
group('hooked', hooked.main);
|
2017-10-10 16:55:42 +00:00
|
|
|
group('parameter_meta', parameter_meta.main);
|
2019-04-17 16:41:59 +00:00
|
|
|
group('parse_id', parse_id.main);
|
2017-06-06 12:42:33 +00:00
|
|
|
group('precontained', precontained.main);
|
2017-08-28 15:29:27 +00:00
|
|
|
group('primitives', primitives.main);
|
2019-05-02 22:56:43 +00:00
|
|
|
group('repeat_request', repeat_request.main);
|
|
|
|
group('req_shutdown', req_shutdown.main);
|
2017-05-27 12:39:45 +00:00
|
|
|
group('routing', routing.main);
|
|
|
|
group('serialize', serialize.main);
|
2017-06-30 13:49:45 +00:00
|
|
|
group('server', server.main);
|
2018-10-22 16:29:52 +00:00
|
|
|
group('service_map', service_map.main);
|
2017-05-27 12:39:45 +00:00
|
|
|
group('services', services.main);
|
2017-08-15 23:01:16 +00:00
|
|
|
group('streaming', streaming.main);
|
2017-06-29 22:17:42 +00:00
|
|
|
group('view generator', view_generator.main);
|
|
|
|
}
|