| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch 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 /// Modify this file to include more tests. | 5 /// Modify this file to include more tests. | 
| 6 library fletch_tests.all_tests; | 6 library fletch_tests.all_tests; | 
| 7 | 7 | 
| 8 import 'dart:async' show | 8 import 'dart:async' show | 
| 9     Completer, | 9     Completer, | 
| 10     Future; | 10     Future; | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
| 28 import '../service_tests/service_tests.dart' as service_tests; | 28 import '../service_tests/service_tests.dart' as service_tests; | 
| 29 | 29 | 
| 30 import '../servicec/servicec_tests.dart' as servicec_tests; | 30 import '../servicec/servicec_tests.dart' as servicec_tests; | 
| 31 | 31 | 
| 32 import '../fletchc/run.dart' as run; | 32 import '../fletchc/run.dart' as run; | 
| 33 | 33 | 
| 34 import '../fletchc/driver/test_vm_connection.dart' as test_vm_connection; | 34 import '../fletchc/driver/test_vm_connection.dart' as test_vm_connection; | 
| 35 | 35 | 
| 36 import '../debugger/debugger_tests.dart' as debugger_tests; | 36 import '../debugger/debugger_tests.dart' as debugger_tests; | 
| 37 | 37 | 
|  | 38 import '../mdns_tests/mdns_tests.dart' as mdns_tests; | 
|  | 39 | 
| 38 typedef Future NoArgFuture(); | 40 typedef Future NoArgFuture(); | 
| 39 | 41 | 
| 40 /// Map of names to tests or collections of tests. | 42 /// Map of names to tests or collections of tests. | 
| 41 /// | 43 /// | 
| 42 /// Regarding the entries of this map: | 44 /// Regarding the entries of this map: | 
| 43 /// | 45 /// | 
| 44 /// If the key does NOT end with '/*', it is considered a normal test case, and | 46 /// If the key does NOT end with '/*', it is considered a normal test case, and | 
| 45 /// the value is a closure that returns a future that completes as the test | 47 /// the value is a closure that returns a future that completes as the test | 
| 46 /// completes. If the test fails, it should complete with an error. | 48 /// completes. If the test fails, it should complete with an error. | 
| 47 /// | 49 /// | 
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 86 | 88 | 
| 87   'run': run.test, | 89   'run': run.test, | 
| 88 | 90 | 
| 89   'test_vm_connection/test': test_vm_connection.test, | 91   'test_vm_connection/test': test_vm_connection.test, | 
| 90   'test_vm_connection/testCloseImmediately': | 92   'test_vm_connection/testCloseImmediately': | 
| 91       test_vm_connection.testCloseImmediately, | 93       test_vm_connection.testCloseImmediately, | 
| 92   'test_vm_connection/testCloseAfterCommitChanges': | 94   'test_vm_connection/testCloseAfterCommitChanges': | 
| 93       test_vm_connection.testCloseAfterCommitChanges, | 95       test_vm_connection.testCloseAfterCommitChanges, | 
| 94   'test_vm_connection/testCloseAfterProcessRun': | 96   'test_vm_connection/testCloseAfterProcessRun': | 
| 95       test_vm_connection.testCloseAfterProcessRun, | 97       test_vm_connection.testCloseAfterProcessRun, | 
|  | 98 | 
|  | 99   // Test the mDNS package. | 
|  | 100   // TODO(sgjesse) publish the mDNS package as an ordinary package an pull | 
|  | 101   // it in through third_party. | 
|  | 102   'mdns_tests': mdns_tests.main, | 
| 96 }; | 103 }; | 
| OLD | NEW | 
|---|