platform/test/all.dart

59 lines
2.2 KiB
Dart
Raw Normal View History

import 'dart:io';
import 'package:io/ansi.dart';
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;
2017-11-28 18:14:50 +00:00
import 'extension_test.dart' as extension;
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;
2017-05-27 12:39:45 +00:00
import 'routing_test.dart' as routing;
import 'serialize_test.dart' as serialize;
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;
2017-05-27 12:39:45 +00:00
import 'package:test/test.dart';
/// For running with coverage
main() {
print(cyan.wrap('Running tests on ${Platform.version}'));
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);
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);
2017-11-28 18:14:50 +00:00
group('extension', extension.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);
group('repeat request', repeat_request.main);
2017-05-27 12:39:45 +00:00
group('routing', routing.main);
group('serialize', serialize.main);
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);
}