Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Unified Diff: tests/mdns_tests/mdns_tests.dart

Issue 1407123010: Extend the mDNS package with a native extension used on Mac OS (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Addressed review comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/fletch_tests/all_tests.dart ('k') | tools/testing/dart/fletch_warnings_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « tests/fletch_tests/all_tests.dart ('k') | tools/testing/dart/fletch_warnings_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698