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 | 6 |
7 import '../../pkg/mdns/test/decode_test.dart' as decode; | 7 import '../../pkg/mdns/test/decode_test.dart' as decode; |
8 import '../../pkg/mdns/test/lookup_resolver_test.dart' as lookup_resolver; | 8 import '../../pkg/mdns/test/lookup_resolver_test.dart' as lookup_resolver; |
9 import '../../pkg/mdns/test/native_extension_test.dart' as native_extension; | 9 import '../../pkg/mdns/test/native_extension_test.dart' as native_extension; |
10 | 10 |
11 typedef Future NoArgFuture(); | 11 typedef Future NoArgFuture(); |
12 | 12 |
13 Future<Map<String, NoArgFuture>> listTests() async { | 13 Future<Map<String, NoArgFuture>> listTests() async { |
14 var tests = <String, NoArgFuture>{}; | 14 var tests = <String, NoArgFuture>{}; |
15 tests['mdns_tests/decode'] = () async => decode.main(); | 15 tests['mdns_tests/decode'] = () async => decode.main(); |
16 tests['mdns_tests/lookup_resolver'] = () async => lookup_resolver.main(); | 16 tests['mdns_tests/lookup_resolver'] = () async => lookup_resolver.main(); |
17 tests['mdns_tests/validate_extension'] = native_extension.main; | 17 tests['mdns_tests/validate_extension'] = native_extension.main; |
18 return tests; | 18 return tests; |
19 } | 19 } |
OLD | NEW |