OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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('bcap_tests'); | 5 #library('bcap_tests'); |
6 | 6 |
7 #import('../../../client/html/html.dart'); | 7 #import('../../../client/html/html.dart'); |
8 #import('../../../client/testing/unittest/unittest.dart'); | 8 #import('../../../client/testing/unittest/unittest.dart'); |
9 #import('../../../client/json/json.dart'); | 9 #import('../../../lib/json/json.dart'); |
10 #import('../bcap/bcap.dart'); | 10 #import('../bcap/bcap.dart'); |
11 | 11 |
12 void main() { | 12 void main() { |
13 new BcapTests().run(); | 13 new BcapTests().run(); |
14 } | 14 } |
15 | 15 |
16 class BcapTests extends UnitTestSuite { | 16 class BcapTests extends UnitTestSuite { |
17 BcapTests() : super() { } | 17 BcapTests() : super() { } |
18 | 18 |
19 void setUpTestSuite() { | 19 void setUpTestSuite() { |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 tunnel.registerWindow(child1, uuidChild1); | 270 tunnel.registerWindow(child1, uuidChild1); |
271 | 271 |
272 server.setResolver(BcapServerInterface _(instID) { | 272 server.setResolver(BcapServerInterface _(instID) { |
273 if (instID === uuid) { return server; } | 273 if (instID === uuid) { return server; } |
274 else { return tunnel.getSendInterface(instID); } | 274 else { return tunnel.getSendInterface(instID); } |
275 }); | 275 }); |
276 } | 276 } |
277 */ | 277 */ |
278 } | 278 } |
279 | 279 |
OLD | NEW |