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 // | 4 // |
5 // Dart test program for testing typed data. | 5 // Dart test program for testing typed data. |
6 | 6 |
7 // VMOptions=--optimization_counter_threshold=10 | 7 // VMOptions=--optimization_counter_threshold=10 --no-background_compilation |
8 | 8 |
9 // Library tag to be able to run in html test framework. | 9 // Library tag to be able to run in html test framework. |
10 library TypedDataTest; | 10 library TypedDataTest; |
11 | 11 |
12 import "package:expect/expect.dart"; | 12 import "package:expect/expect.dart"; |
13 import 'dart:typed_data'; | 13 import 'dart:typed_data'; |
14 | 14 |
15 void testCreateUint8TypedData() { | 15 void testCreateUint8TypedData() { |
16 Uint8List typed_data; | 16 Uint8List typed_data; |
17 | 17 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 testGetAtIndex(float64list, 1.4260258159703532e-105); | 528 testGetAtIndex(float64list, 1.4260258159703532e-105); |
529 } | 529 } |
530 testTypedDataRange(true); | 530 testTypedDataRange(true); |
531 testUnsignedTypedDataRange(true); | 531 testUnsignedTypedDataRange(true); |
532 testViewCreation(); | 532 testViewCreation(); |
533 testWhere(); | 533 testWhere(); |
534 testCreationFromList(); | 534 testCreationFromList(); |
535 testStrings(); | 535 testStrings(); |
536 testSetRange(); | 536 testSetRange(); |
537 } | 537 } |
OLD | NEW |