| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test.runner.vm.isolate_test; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 import 'dart:isolate'; | 6 import 'dart:isolate'; |
| 9 | 7 |
| 10 import '../../backend/group.dart'; | 8 import '../../backend/group.dart'; |
| 11 import '../../backend/live_test.dart'; | 9 import '../../backend/live_test.dart'; |
| 12 import '../../backend/live_test_controller.dart'; | 10 import '../../backend/live_test_controller.dart'; |
| 13 import '../../backend/metadata.dart'; | 11 import '../../backend/metadata.dart'; |
| 14 import '../../backend/operating_system.dart'; | 12 import '../../backend/operating_system.dart'; |
| 15 import '../../backend/state.dart'; | 13 import '../../backend/state.dart'; |
| 16 import '../../backend/suite.dart'; | 14 import '../../backend/suite.dart'; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 }, groups: groups); | 84 }, groups: groups); |
| 87 return controller.liveTest; | 85 return controller.liveTest; |
| 88 } | 86 } |
| 89 | 87 |
| 90 Test forPlatform(TestPlatform platform, {OperatingSystem os}) { | 88 Test forPlatform(TestPlatform platform, {OperatingSystem os}) { |
| 91 if (!metadata.testOn.evaluate(platform, os: os)) return null; | 89 if (!metadata.testOn.evaluate(platform, os: os)) return null; |
| 92 return new IsolateTest( | 90 return new IsolateTest( |
| 93 name, metadata.forPlatform(platform, os: os), _sendPort); | 91 name, metadata.forPlatform(platform, os: os), _sendPort); |
| 94 } | 92 } |
| 95 } | 93 } |
| OLD | NEW |