OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // VMOptions=--optimization-counter-threshold=10 | 4 // VMOptions=--optimization-counter-threshold=10 --no-background-compilation |
5 | 5 |
6 // Library tag to be able to run in html test framework. | 6 // Library tag to be able to run in html test framework. |
7 library typed_data_hierarchy_test; | 7 library typed_data_hierarchy_test; |
8 | 8 |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 import 'package:expect/expect.dart'; | 10 import 'package:expect/expect.dart'; |
11 | 11 |
12 var inscrutable = null; | 12 var inscrutable = null; |
13 | 13 |
14 void testClampedList() { | 14 void testClampedList() { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 main() { | 53 main() { |
54 inscrutable = (x) => x; | 54 inscrutable = (x) => x; |
55 | 55 |
56 // Note: this test must come first to control order of lookup on Uint8List and | 56 // Note: this test must come first to control order of lookup on Uint8List and |
57 // Uint8ClampedList. | 57 // Uint8ClampedList. |
58 testClampedList(); | 58 testClampedList(); |
59 | 59 |
60 implementsTypedData(); | 60 implementsTypedData(); |
61 implementsList(); | 61 implementsList(); |
62 } | 62 } |
OLD | NEW |