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 // DartOptions=-Did=true -Ddotted.id=some_string -Dlots.of.dots.In.id=false | 5 // DartOptions=-Did=true -Ddotted.id=some_string -Dlots.of.dots.In.id=false |
6 // VMOptions=-Did=true -Ddotted.id=some_string -Dlots.of.dots.In.id=false | 6 // VMOptions=-Did=true -Ddotted.id=some_string -Dlots.of.dots.In.id=false |
7 | 7 |
8 import 'package:expect/expect.dart'; | 8 import 'package:expect/expect.dart'; |
9 | 9 |
10 import 'config_import_lib1a.dart' | 10 import 'config_import_lib1a.dart' |
11 if (id) 'config_import_lib1b.dart' | 11 if (id) 'config_import_lib1b.dart' |
12 if (not.set.id) 'config_import_lib1c.dart'; | 12 if (not.set.id) 'config_import_lib1c.dart'; |
13 | 13 |
14 import 'config_import_lib2a.dart' | 14 import 'config_import_lib2a.dart' |
15 if (not.set.id) 'config_import_lib2b.dart' | 15 if (not.set.id) 'config_import_lib2b.dart' |
16 if (not.set.either) 'config_import_lib2c.dart'; | 16 if (not.set.either) 'config_import_lib2c.dart'; |
17 | 17 |
18 import 'config_import_lib3a.dart' | 18 import 'config_import_lib3a.dart' |
19 if (dotted.id == "some_string") 'config_import_lib3b.dart' | 19 if (dotted.id == "some_string") 'config_import_lib3b.dart' |
20 if (id) 'config_import_lib3c.dart'; | 20 if (id) 'config_import_lib3c.dart'; |
21 | 21 |
22 import 'config_import_lib4a.dart' | 22 import 'config_import_lib4a.dart' |
23 if (lots.of.dots.In.id == "other") 'config_import_lib4b.dart' | 23 if (lots.of.dots.In.id == "other") 'config_import_lib4b.dart' |
24 if (lots.of.dots.In.id == "false") 'config_import_lib4c.dart'; | 24 if (lots.of.dots.In.id == "false") 'config_import_lib4c.dart'; |
25 | 25 |
26 main() { | 26 main() { |
27 Expect.equals("b", lib1()); | 27 Expect.equals("b", lib1()); |
28 Expect.equals("a", lib2()); | 28 Expect.equals("a", lib2()); |
29 Expect.equals("b", lib3()); | 29 Expect.equals("b", lib3()); |
30 Expect.equals("c", lib4()); | 30 Expect.equals("c", lib4()); |
31 } | 31 } |
OLD | NEW |