| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 GetterSetterInLibTest; | 5 library GetterSetterInLibTest; |
| 6 | 6 |
| 7 import "package:expect/expect.dart"; | 7 import "package:expect/expect.dart"; |
| 8 import 'getter_setter_in_lib.dart'; | 8 import 'getter_setter_in_lib.dart'; |
| 9 import 'getter_setter_in_lib2.dart'; | 9 import 'getter_setter_in_lib2.dart'; |
| 10 import 'getter_setter_in_lib3.dart' as L3; | 10 import 'getter_setter_in_lib3.dart' as L3; |
| 11 | 11 |
| 12 main() { | 12 main() { |
| 13 Expect.equals(42, foo); | 13 Expect.equals(42, foo); |
| 14 foo = 43; | 14 foo = 43; |
| 15 Expect.equals(42, foo); | 15 Expect.equals(42, foo); |
| 16 | 16 |
| 17 Expect.equals(77, bar); | 17 Expect.equals(77, bar); |
| 18 bar = 43; | 18 bar = 43; |
| 19 Expect.equals(77, bar); | 19 Expect.equals(77, bar); |
| 20 | 20 |
| 21 Expect.equals(L3.bar, 33); | 21 Expect.equals(L3.bar, 33); |
| 22 L3.bar = 44; | 22 L3.bar = 44; |
| 23 Expect.equals(L3.bar, 44); | 23 Expect.equals(L3.bar, 44); |
| 24 } | 24 } |
| OLD | NEW |