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 21 matching lines...) Expand all Loading... |
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; | 38 import '../mdns_tests/mdns_tests.dart' as mdns_tests; |
39 | 39 |
40 import '../agent_tests/agent_tests.dart' as agent_tests; | 40 import '../agent_tests/agent_tests.dart' as agent_tests; |
41 | 41 |
42 import '../golem/golem_tests.dart' as golem_tests; | |
43 | |
44 typedef Future NoArgFuture(); | 42 typedef Future NoArgFuture(); |
45 | 43 |
46 /// Map of names to tests or collections of tests. | 44 /// Map of names to tests or collections of tests. |
47 /// | 45 /// |
48 /// Regarding the entries of this map: | 46 /// Regarding the entries of this map: |
49 /// | 47 /// |
50 /// If the key does NOT end with '/*', it is considered a normal test case, and | 48 /// If the key does NOT end with '/*', it is considered a normal test case, and |
51 /// the value is a closure that returns a future that completes as the test | 49 /// the value is a closure that returns a future that completes as the test |
52 /// completes. If the test fails, it should complete with an error. | 50 /// completes. If the test fails, it should complete with an error. |
53 /// | 51 /// |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 test_vm_connection.testCloseImmediately, | 98 test_vm_connection.testCloseImmediately, |
101 'test_vm_connection/testCloseAfterCommitChanges': | 99 'test_vm_connection/testCloseAfterCommitChanges': |
102 test_vm_connection.testCloseAfterCommitChanges, | 100 test_vm_connection.testCloseAfterCommitChanges, |
103 'test_vm_connection/testCloseAfterProcessRun': | 101 'test_vm_connection/testCloseAfterProcessRun': |
104 test_vm_connection.testCloseAfterProcessRun, | 102 test_vm_connection.testCloseAfterProcessRun, |
105 | 103 |
106 // Test the mDNS package. | 104 // Test the mDNS package. |
107 // TODO(sgjesse) publish the mDNS package as an ordinary package an pull | 105 // TODO(sgjesse) publish the mDNS package as an ordinary package an pull |
108 // it in through third_party. | 106 // it in through third_party. |
109 'mdns_tests': mdns_tests.main, | 107 'mdns_tests': mdns_tests.main, |
110 | |
111 // Test for the golem performance tracking infrastructure. | |
112 // If this test breaks you probably need to update the golem performance | |
113 // tracking infrastructure as well. | |
114 'golem_tests': golem_tests.main, | |
115 }; | 108 }; |
OLD | NEW |