OLD | NEW |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
1 library WindowTest; | 5 library WindowTest; |
2 import '../../pkg/unittest/lib/unittest.dart'; | 6 import '../../pkg/unittest/lib/unittest.dart'; |
3 import '../../pkg/unittest/lib/html_config.dart'; | 7 import '../../pkg/unittest/lib/html_config.dart'; |
4 import 'dart:html'; | 8 import 'dart:html'; |
5 | 9 |
6 main() { | 10 main() { |
7 useHtmlConfiguration(); | 11 useHtmlConfiguration(); |
8 | 12 |
9 test('scrollXY', () { | 13 test('scrollXY', () { |
10 expect(window.scrollX, 0); | 14 expect(window.scrollX, 0); |
11 expect(window.scrollY, 0); | 15 expect(window.scrollY, 0); |
12 }); | 16 }); |
13 } | 17 } |
OLD | NEW |