| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // Test that the debugging helper [Compiler.inUserCode] works as intended. | 5 // Test that the helper [Compiler.inUserCode] works as intended. |
| 6 | 6 |
| 7 import 'package:async_helper/async_helper.dart'; | 7 import 'package:async_helper/async_helper.dart'; |
| 8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
| 9 | 9 |
| 10 import 'memory_compiler.dart'; | 10 import 'memory_compiler.dart'; |
| 11 | 11 |
| 12 const SOURCE = const { | 12 const SOURCE = const { |
| 13 'main.dart': """ | 13 'main.dart': """ |
| 14 library main; | 14 library main; |
| 15 | 15 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 'package:sup/boz.dart': true, | 88 'package:sup/boz.dart': true, |
| 89 'dart:core': false}); | 89 'dart:core': false}); |
| 90 test([Uri.parse('dart:async'), Uri.parse('package:sub/bar.dart')], | 90 test([Uri.parse('dart:async'), Uri.parse('package:sub/bar.dart')], |
| 91 {'package:sub/bar.dart': true, | 91 {'package:sub/bar.dart': true, |
| 92 'package:sub/baz.dart': true, | 92 'package:sub/baz.dart': true, |
| 93 'package:sup/boz.dart': false, | 93 'package:sup/boz.dart': false, |
| 94 'dart:core': true, | 94 'dart:core': true, |
| 95 'dart:async': true}); | 95 'dart:async': true}); |
| 96 } | 96 } |
| 97 | 97 |
| OLD | NEW |