| Index: tests/mdns_tests/mdns_tests.dart
|
| diff --git a/tests/mdns_tests/mdns_tests.dart b/tests/mdns_tests/mdns_tests.dart
|
| index 67a9e25a1a45e9d30e096726bd127e1601475373..bdb50da2d6a62cc96c3900d5080fa63ebcead0cd 100644
|
| --- a/tests/mdns_tests/mdns_tests.dart
|
| +++ b/tests/mdns_tests/mdns_tests.dart
|
| @@ -1,13 +1,19 @@
|
| -// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| +// BSD-style license that can be found in the LICENSE.md file.
|
|
|
| import 'dart:async';
|
|
|
| import '../../pkg/mdns/test/decode_test.dart' as decode;
|
| import '../../pkg/mdns/test/lookup_resolver_test.dart' as lookup_resolver;
|
| +import '../../pkg/mdns/test/native_extension_test.dart' as native_extension;
|
|
|
| -Future<Null> main() async {
|
| - decode.main();
|
| - lookup_resolver.main();
|
| +typedef Future NoArgFuture();
|
| +
|
| +Future<Map<String, NoArgFuture>> listTests() async {
|
| + var tests = <String, NoArgFuture>{};
|
| + tests['mdns_tests/decode'] = () async => decode.main();
|
| + tests['mdns_tests/lookup_resolver'] = () async => lookup_resolver.main();
|
| + tests['mdns_tests/validate_extension'] = native_extension.main;
|
| + return tests;
|
| }
|
|
|