| 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 tag to be able to run in html test framework. | 5 // Library tag to be able to run in html test framework. |
| 6 library byte_array_test; | 6 library byte_array_test; |
| 7 | 7 |
| 8 import "package:expect/expect.dart"; | 8 import "package:expect/expect.dart"; |
| 9 import 'dart:typeddata'; | 9 import 'dart:typeddata'; |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 Expect.throws(() { array[10]; }, | 26 Expect.throws(() { array[10]; }, |
| 27 (e) { return e is RangeError; }); | 27 (e) { return e is RangeError; }); |
| 28 Expect.throws(() { array[10] = 0; }, | 28 Expect.throws(() { array[10] = 0; }, |
| 29 (e) { return e is RangeError; }); | 29 (e) { return e is RangeError; }); |
| 30 Expect.throws(() { array.add(0); }, | 30 Expect.throws(() { array.add(0); }, |
| 31 (e) { return e is UnsupportedError; }); | 31 (e) { return e is UnsupportedError; }); |
| 32 Expect.throws(() { array.addAll([0]); }, | 32 Expect.throws(() { array.addAll([0]); }, |
| 33 (e) { return e is UnsupportedError; }); | 33 (e) { return e is UnsupportedError; }); |
| 34 Expect.throws(() { array.clear(); }, | 34 Expect.throws(() { array.clear(); }, |
| 35 (e) { return e is UnsupportedError; }); | 35 (e) { return e is UnsupportedError; }); |
| 36 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 37 (e) { return e is UnsupportedError; }); | |
| 38 Expect.throws(() { array.length = 0; }, | 36 Expect.throws(() { array.length = 0; }, |
| 39 (e) { return e is UnsupportedError; }); | 37 (e) { return e is UnsupportedError; }); |
| 40 Expect.throws(() { array.removeLast(); }, | 38 Expect.throws(() { array.removeLast(); }, |
| 41 (e) { return e is UnsupportedError; }); | 39 (e) { return e is UnsupportedError; }); |
| 42 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 40 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 43 (e) { return e is UnsupportedError; }); | 41 (e) { return e is UnsupportedError; }); |
| 44 for (int i = 0; i < array.length; ++i) { | 42 for (int i = 0; i < array.length; ++i) { |
| 45 array[i] = 1 + i; | 43 array[i] = 1 + i; |
| 46 } | 44 } |
| 47 Expect.listEquals([1, 2, 3, 4, 5, | 45 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 Expect.throws(() { array[10]; }, | 109 Expect.throws(() { array[10]; }, |
| 112 (e) { return e is RangeError; }); | 110 (e) { return e is RangeError; }); |
| 113 Expect.throws(() { array[10] = 0; }, | 111 Expect.throws(() { array[10] = 0; }, |
| 114 (e) { return e is RangeError; }); | 112 (e) { return e is RangeError; }); |
| 115 Expect.throws(() { array.add(0); }, | 113 Expect.throws(() { array.add(0); }, |
| 116 (e) { return e is UnsupportedError; }); | 114 (e) { return e is UnsupportedError; }); |
| 117 Expect.throws(() { array.addAll([0]); }, | 115 Expect.throws(() { array.addAll([0]); }, |
| 118 (e) { return e is UnsupportedError; }); | 116 (e) { return e is UnsupportedError; }); |
| 119 Expect.throws(() { array.clear(); }, | 117 Expect.throws(() { array.clear(); }, |
| 120 (e) { return e is UnsupportedError; }); | 118 (e) { return e is UnsupportedError; }); |
| 121 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 122 (e) { return e is UnsupportedError; }); | |
| 123 Expect.throws(() { array.length = 0; }, | 119 Expect.throws(() { array.length = 0; }, |
| 124 (e) { return e is UnsupportedError; }); | 120 (e) { return e is UnsupportedError; }); |
| 125 Expect.throws(() { array.removeLast(); }, | 121 Expect.throws(() { array.removeLast(); }, |
| 126 (e) { return e is UnsupportedError; }); | 122 (e) { return e is UnsupportedError; }); |
| 127 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 123 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 128 (e) { return e is UnsupportedError; }); | 124 (e) { return e is UnsupportedError; }); |
| 129 for (int i = 0; i < array.length; ++i) { | 125 for (int i = 0; i < array.length; ++i) { |
| 130 array[i] = 1 + i; | 126 array[i] = 1 + i; |
| 131 } | 127 } |
| 132 Expect.listEquals([1, 2, 3, 4, 5, | 128 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 Expect.throws(() { array[10]; }, | 181 Expect.throws(() { array[10]; }, |
| 186 (e) { return e is RangeError; }); | 182 (e) { return e is RangeError; }); |
| 187 Expect.throws(() { array[10] = 0; }, | 183 Expect.throws(() { array[10] = 0; }, |
| 188 (e) { return e is RangeError; }); | 184 (e) { return e is RangeError; }); |
| 189 Expect.throws(() { array.add(0); }, | 185 Expect.throws(() { array.add(0); }, |
| 190 (e) { return e is UnsupportedError; }); | 186 (e) { return e is UnsupportedError; }); |
| 191 Expect.throws(() { array.addAll([0]); }, | 187 Expect.throws(() { array.addAll([0]); }, |
| 192 (e) { return e is UnsupportedError; }); | 188 (e) { return e is UnsupportedError; }); |
| 193 Expect.throws(() { array.clear(); }, | 189 Expect.throws(() { array.clear(); }, |
| 194 (e) { return e is UnsupportedError; }); | 190 (e) { return e is UnsupportedError; }); |
| 195 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 196 (e) { return e is UnsupportedError; }); | |
| 197 Expect.throws(() { array.length = 0; }, | 191 Expect.throws(() { array.length = 0; }, |
| 198 (e) { return e is UnsupportedError; }); | 192 (e) { return e is UnsupportedError; }); |
| 199 Expect.throws(() { array.removeLast(); }, | 193 Expect.throws(() { array.removeLast(); }, |
| 200 (e) { return e is UnsupportedError; }); | 194 (e) { return e is UnsupportedError; }); |
| 201 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 195 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 202 (e) { return e is UnsupportedError; }); | 196 (e) { return e is UnsupportedError; }); |
| 203 for (int i = 0; i < array.length; ++i) { | 197 for (int i = 0; i < array.length; ++i) { |
| 204 array[i] = 1 + i; | 198 array[i] = 1 + i; |
| 205 } | 199 } |
| 206 Expect.listEquals([1, 2, 3, 4, 5, | 200 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 Expect.throws(() { array[10]; }, | 265 Expect.throws(() { array[10]; }, |
| 272 (e) { return e is RangeError; }); | 266 (e) { return e is RangeError; }); |
| 273 Expect.throws(() { array[10] = 0; }, | 267 Expect.throws(() { array[10] = 0; }, |
| 274 (e) { return e is RangeError; }); | 268 (e) { return e is RangeError; }); |
| 275 Expect.throws(() { array.add(0); }, | 269 Expect.throws(() { array.add(0); }, |
| 276 (e) { return e is UnsupportedError; }); | 270 (e) { return e is UnsupportedError; }); |
| 277 Expect.throws(() { array.addAll([0]); }, | 271 Expect.throws(() { array.addAll([0]); }, |
| 278 (e) { return e is UnsupportedError; }); | 272 (e) { return e is UnsupportedError; }); |
| 279 Expect.throws(() { array.clear(); }, | 273 Expect.throws(() { array.clear(); }, |
| 280 (e) { return e is UnsupportedError; }); | 274 (e) { return e is UnsupportedError; }); |
| 281 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 282 (e) { return e is UnsupportedError; }); | |
| 283 Expect.throws(() { array.length = 0; }, | 275 Expect.throws(() { array.length = 0; }, |
| 284 (e) { return e is UnsupportedError; }); | 276 (e) { return e is UnsupportedError; }); |
| 285 Expect.throws(() { array.removeLast(); }, | 277 Expect.throws(() { array.removeLast(); }, |
| 286 (e) { return e is UnsupportedError; }); | 278 (e) { return e is UnsupportedError; }); |
| 287 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 279 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 288 (e) { return e is UnsupportedError; }); | 280 (e) { return e is UnsupportedError; }); |
| 289 for (int i = 0; i < array.length; ++i) { | 281 for (int i = 0; i < array.length; ++i) { |
| 290 array[i] = 1 + i; | 282 array[i] = 1 + i; |
| 291 } | 283 } |
| 292 Expect.listEquals([1, 2, 3, 4, 5, | 284 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 Expect.throws(() { array[10]; }, | 337 Expect.throws(() { array[10]; }, |
| 346 (e) { return e is RangeError; }); | 338 (e) { return e is RangeError; }); |
| 347 Expect.throws(() { array[10] = 0; }, | 339 Expect.throws(() { array[10] = 0; }, |
| 348 (e) { return e is RangeError; }); | 340 (e) { return e is RangeError; }); |
| 349 Expect.throws(() { array.add(0); }, | 341 Expect.throws(() { array.add(0); }, |
| 350 (e) { return e is UnsupportedError; }); | 342 (e) { return e is UnsupportedError; }); |
| 351 Expect.throws(() { array.addAll([0]); }, | 343 Expect.throws(() { array.addAll([0]); }, |
| 352 (e) { return e is UnsupportedError; }); | 344 (e) { return e is UnsupportedError; }); |
| 353 Expect.throws(() { array.clear(); }, | 345 Expect.throws(() { array.clear(); }, |
| 354 (e) { return e is UnsupportedError; }); | 346 (e) { return e is UnsupportedError; }); |
| 355 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 356 (e) { return e is UnsupportedError; }); | |
| 357 Expect.throws(() { array.length = 0; }, | 347 Expect.throws(() { array.length = 0; }, |
| 358 (e) { return e is UnsupportedError; }); | 348 (e) { return e is UnsupportedError; }); |
| 359 Expect.throws(() { array.removeLast(); }, | 349 Expect.throws(() { array.removeLast(); }, |
| 360 (e) { return e is UnsupportedError; }); | 350 (e) { return e is UnsupportedError; }); |
| 361 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 351 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 362 (e) { return e is UnsupportedError; }); | 352 (e) { return e is UnsupportedError; }); |
| 363 for (int i = 0; i < array.length; ++i) { | 353 for (int i = 0; i < array.length; ++i) { |
| 364 array[i] = 1 + i; | 354 array[i] = 1 + i; |
| 365 } | 355 } |
| 366 Expect.listEquals([1, 2, 3, 4, 5, | 356 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 Expect.throws(() { array[10]; }, | 427 Expect.throws(() { array[10]; }, |
| 438 (e) { return e is RangeError; }); | 428 (e) { return e is RangeError; }); |
| 439 Expect.throws(() { array[10] = 0; }, | 429 Expect.throws(() { array[10] = 0; }, |
| 440 (e) { return e is RangeError; }); | 430 (e) { return e is RangeError; }); |
| 441 Expect.throws(() { array.add(0); }, | 431 Expect.throws(() { array.add(0); }, |
| 442 (e) { return e is UnsupportedError; }); | 432 (e) { return e is UnsupportedError; }); |
| 443 Expect.throws(() { array.addAll([0]); }, | 433 Expect.throws(() { array.addAll([0]); }, |
| 444 (e) { return e is UnsupportedError; }); | 434 (e) { return e is UnsupportedError; }); |
| 445 Expect.throws(() { array.clear(); }, | 435 Expect.throws(() { array.clear(); }, |
| 446 (e) { return e is UnsupportedError; }); | 436 (e) { return e is UnsupportedError; }); |
| 447 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 448 (e) { return e is UnsupportedError; }); | |
| 449 Expect.throws(() { array.length = 0; }, | 437 Expect.throws(() { array.length = 0; }, |
| 450 (e) { return e is UnsupportedError; }); | 438 (e) { return e is UnsupportedError; }); |
| 451 Expect.throws(() { array.removeLast(); }, | 439 Expect.throws(() { array.removeLast(); }, |
| 452 (e) { return e is UnsupportedError; }); | 440 (e) { return e is UnsupportedError; }); |
| 453 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 441 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 454 (e) { return e is UnsupportedError; }); | 442 (e) { return e is UnsupportedError; }); |
| 455 for (int i = 0; i < array.length; ++i) { | 443 for (int i = 0; i < array.length; ++i) { |
| 456 array[i] = 1 + i; | 444 array[i] = 1 + i; |
| 457 } | 445 } |
| 458 Expect.listEquals([1, 2, 3, 4, 5, | 446 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 Expect.throws(() { array[10]; }, | 505 Expect.throws(() { array[10]; }, |
| 518 (e) { return e is RangeError; }); | 506 (e) { return e is RangeError; }); |
| 519 Expect.throws(() { array[10] = 0; }, | 507 Expect.throws(() { array[10] = 0; }, |
| 520 (e) { return e is RangeError; }); | 508 (e) { return e is RangeError; }); |
| 521 Expect.throws(() { array.add(0); }, | 509 Expect.throws(() { array.add(0); }, |
| 522 (e) { return e is UnsupportedError; }); | 510 (e) { return e is UnsupportedError; }); |
| 523 Expect.throws(() { array.addAll([0]); }, | 511 Expect.throws(() { array.addAll([0]); }, |
| 524 (e) { return e is UnsupportedError; }); | 512 (e) { return e is UnsupportedError; }); |
| 525 Expect.throws(() { array.clear(); }, | 513 Expect.throws(() { array.clear(); }, |
| 526 (e) { return e is UnsupportedError; }); | 514 (e) { return e is UnsupportedError; }); |
| 527 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 528 (e) { return e is UnsupportedError; }); | |
| 529 Expect.throws(() { array.length = 0; }, | 515 Expect.throws(() { array.length = 0; }, |
| 530 (e) { return e is UnsupportedError; }); | 516 (e) { return e is UnsupportedError; }); |
| 531 Expect.throws(() { array.removeLast(); }, | 517 Expect.throws(() { array.removeLast(); }, |
| 532 (e) { return e is UnsupportedError; }); | 518 (e) { return e is UnsupportedError; }); |
| 533 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 519 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 534 (e) { return e is UnsupportedError; }); | 520 (e) { return e is UnsupportedError; }); |
| 535 for (int i = 0; i < array.length; ++i) { | 521 for (int i = 0; i < array.length; ++i) { |
| 536 array[i] = 1 + i; | 522 array[i] = 1 + i; |
| 537 } | 523 } |
| 538 Expect.listEquals([1, 2, 3, 4, 5, | 524 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 610 Expect.throws(() { array[10]; }, | 596 Expect.throws(() { array[10]; }, |
| 611 (e) { return e is RangeError; }); | 597 (e) { return e is RangeError; }); |
| 612 Expect.throws(() { array[10] = 0; }, | 598 Expect.throws(() { array[10] = 0; }, |
| 613 (e) { return e is RangeError; }); | 599 (e) { return e is RangeError; }); |
| 614 Expect.throws(() { array.add(0); }, | 600 Expect.throws(() { array.add(0); }, |
| 615 (e) { return e is UnsupportedError; }); | 601 (e) { return e is UnsupportedError; }); |
| 616 Expect.throws(() { array.addAll([0]); }, | 602 Expect.throws(() { array.addAll([0]); }, |
| 617 (e) { return e is UnsupportedError; }); | 603 (e) { return e is UnsupportedError; }); |
| 618 Expect.throws(() { array.clear(); }, | 604 Expect.throws(() { array.clear(); }, |
| 619 (e) { return e is UnsupportedError; }); | 605 (e) { return e is UnsupportedError; }); |
| 620 Expect.throws(() { array.insertRange(0, array.length, 0); }, | |
| 621 (e) { return e is UnsupportedError; }); | |
| 622 Expect.throws(() { array.length = 0; }, | 606 Expect.throws(() { array.length = 0; }, |
| 623 (e) { return e is UnsupportedError; }); | 607 (e) { return e is UnsupportedError; }); |
| 624 Expect.throws(() { array.removeLast(); }, | 608 Expect.throws(() { array.removeLast(); }, |
| 625 (e) { return e is UnsupportedError; }); | 609 (e) { return e is UnsupportedError; }); |
| 626 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 610 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 627 (e) { return e is UnsupportedError; }); | 611 (e) { return e is UnsupportedError; }); |
| 628 for (int i = 0; i < array.length; ++i) { | 612 for (int i = 0; i < array.length; ++i) { |
| 629 array[i] = 1 + i; | 613 array[i] = 1 + i; |
| 630 } | 614 } |
| 631 Expect.listEquals([1, 2, 3, 4, 5, | 615 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 Expect.throws(() { array[10]; }, | 671 Expect.throws(() { array[10]; }, |
| 688 (e) { return e is RangeError; }); | 672 (e) { return e is RangeError; }); |
| 689 Expect.throws(() { array[10] = 0.0; }, | 673 Expect.throws(() { array[10] = 0.0; }, |
| 690 (e) { return e is RangeError; }); | 674 (e) { return e is RangeError; }); |
| 691 Expect.throws(() { array.add(0.0); }, | 675 Expect.throws(() { array.add(0.0); }, |
| 692 (e) { return e is UnsupportedError; }); | 676 (e) { return e is UnsupportedError; }); |
| 693 Expect.throws(() { array.addAll([0]); }, | 677 Expect.throws(() { array.addAll([0]); }, |
| 694 (e) { return e is UnsupportedError; }); | 678 (e) { return e is UnsupportedError; }); |
| 695 Expect.throws(() { array.clear(); }, | 679 Expect.throws(() { array.clear(); }, |
| 696 (e) { return e is UnsupportedError; }); | 680 (e) { return e is UnsupportedError; }); |
| 697 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | |
| 698 (e) { return e is UnsupportedError; }); | |
| 699 Expect.throws(() { array.length = 0; }, | 681 Expect.throws(() { array.length = 0; }, |
| 700 (e) { return e is UnsupportedError; }); | 682 (e) { return e is UnsupportedError; }); |
| 701 Expect.throws(() { array.removeLast(); }, | 683 Expect.throws(() { array.removeLast(); }, |
| 702 (e) { return e is UnsupportedError; }); | 684 (e) { return e is UnsupportedError; }); |
| 703 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 685 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 704 (e) { return e is UnsupportedError; }); | 686 (e) { return e is UnsupportedError; }); |
| 705 for (int i = 0; i < array.length; ++i) { | 687 for (int i = 0; i < array.length; ++i) { |
| 706 array[i] = 1.0 + i; | 688 array[i] = 1.0 + i; |
| 707 } | 689 } |
| 708 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, | 690 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 751 Expect.throws(() { array[10]; }, | 733 Expect.throws(() { array[10]; }, |
| 752 (e) { return e is RangeError; }); | 734 (e) { return e is RangeError; }); |
| 753 Expect.throws(() { array[10] = 0.0; }, | 735 Expect.throws(() { array[10] = 0.0; }, |
| 754 (e) { return e is RangeError; }); | 736 (e) { return e is RangeError; }); |
| 755 Expect.throws(() { array.add(0.0); }, | 737 Expect.throws(() { array.add(0.0); }, |
| 756 (e) { return e is UnsupportedError; }); | 738 (e) { return e is UnsupportedError; }); |
| 757 Expect.throws(() { array.addAll([0]); }, | 739 Expect.throws(() { array.addAll([0]); }, |
| 758 (e) { return e is UnsupportedError; }); | 740 (e) { return e is UnsupportedError; }); |
| 759 Expect.throws(() { array.clear(); }, | 741 Expect.throws(() { array.clear(); }, |
| 760 (e) { return e is UnsupportedError; }); | 742 (e) { return e is UnsupportedError; }); |
| 761 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | |
| 762 (e) { return e is UnsupportedError; }); | |
| 763 Expect.throws(() { array.length = 0; }, | 743 Expect.throws(() { array.length = 0; }, |
| 764 (e) { return e is UnsupportedError; }); | 744 (e) { return e is UnsupportedError; }); |
| 765 Expect.throws(() { array.removeLast(); }, | 745 Expect.throws(() { array.removeLast(); }, |
| 766 (e) { return e is UnsupportedError; }); | 746 (e) { return e is UnsupportedError; }); |
| 767 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 747 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 768 (e) { return e is UnsupportedError; }); | 748 (e) { return e is UnsupportedError; }); |
| 769 for (int i = 0; i < array.length; ++i) { | 749 for (int i = 0; i < array.length; ++i) { |
| 770 array[i] = 1.0 + i; | 750 array[i] = 1.0 + i; |
| 771 } | 751 } |
| 772 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, | 752 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 Expect.throws(() { view[view.length]; }, | 825 Expect.throws(() { view[view.length]; }, |
| 846 (e) { return e is RangeError; }); | 826 (e) { return e is RangeError; }); |
| 847 Expect.throws(() { view[10] = 0; }, | 827 Expect.throws(() { view[10] = 0; }, |
| 848 (e) { return e is RangeError; }); | 828 (e) { return e is RangeError; }); |
| 849 Expect.throws(() { view.add(0); }, | 829 Expect.throws(() { view.add(0); }, |
| 850 (e) { return e is UnsupportedError; }); | 830 (e) { return e is UnsupportedError; }); |
| 851 Expect.throws(() { view.addAll([0]); }, | 831 Expect.throws(() { view.addAll([0]); }, |
| 852 (e) { return e is UnsupportedError; }); | 832 (e) { return e is UnsupportedError; }); |
| 853 Expect.throws(() { view.clear(); }, | 833 Expect.throws(() { view.clear(); }, |
| 854 (e) { return e is UnsupportedError; }); | 834 (e) { return e is UnsupportedError; }); |
| 855 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 856 (e) { return e is UnsupportedError; }); | |
| 857 Expect.throws(() { view.length = 0; }, | 835 Expect.throws(() { view.length = 0; }, |
| 858 (e) { return e is UnsupportedError; }); | 836 (e) { return e is UnsupportedError; }); |
| 859 Expect.throws(() { view.removeLast(); }, | 837 Expect.throws(() { view.removeLast(); }, |
| 860 (e) { return e is UnsupportedError; }); | 838 (e) { return e is UnsupportedError; }); |
| 861 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 839 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 862 (e) { return e is UnsupportedError; }); | 840 (e) { return e is UnsupportedError; }); |
| 863 for (int i = 0; i < view.length; ++i) { | 841 for (int i = 0; i < view.length; ++i) { |
| 864 view[i] = 1 + i; | 842 view[i] = 1 + i; |
| 865 } | 843 } |
| 866 Expect.listEquals([1, 2, 3, 4, 5, | 844 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 Expect.throws(() { view[view.length]; }, | 952 Expect.throws(() { view[view.length]; }, |
| 975 (e) { return e is RangeError; }); | 953 (e) { return e is RangeError; }); |
| 976 Expect.throws(() { view[view.length] = 0; }, | 954 Expect.throws(() { view[view.length] = 0; }, |
| 977 (e) { return e is RangeError; }); | 955 (e) { return e is RangeError; }); |
| 978 Expect.throws(() { view.add(0); }, | 956 Expect.throws(() { view.add(0); }, |
| 979 (e) { return e is UnsupportedError; }); | 957 (e) { return e is UnsupportedError; }); |
| 980 Expect.throws(() { view.addAll([0]); }, | 958 Expect.throws(() { view.addAll([0]); }, |
| 981 (e) { return e is UnsupportedError; }); | 959 (e) { return e is UnsupportedError; }); |
| 982 Expect.throws(() { view.clear(); }, | 960 Expect.throws(() { view.clear(); }, |
| 983 (e) { return e is UnsupportedError; }); | 961 (e) { return e is UnsupportedError; }); |
| 984 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 985 (e) { return e is UnsupportedError; }); | |
| 986 Expect.throws(() { view.length = 0; }, | 962 Expect.throws(() { view.length = 0; }, |
| 987 (e) { return e is UnsupportedError; }); | 963 (e) { return e is UnsupportedError; }); |
| 988 Expect.throws(() { view.removeLast(); }, | 964 Expect.throws(() { view.removeLast(); }, |
| 989 (e) { return e is UnsupportedError; }); | 965 (e) { return e is UnsupportedError; }); |
| 990 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 966 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 991 (e) { return e is UnsupportedError; }); | 967 (e) { return e is UnsupportedError; }); |
| 992 for (int i = 0; i < view.length; ++i) { | 968 for (int i = 0; i < view.length; ++i) { |
| 993 view[i] = 1 + i; | 969 view[i] = 1 + i; |
| 994 } | 970 } |
| 995 Expect.listEquals([1, 2, 3, 4, 5, | 971 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 Expect.throws(() { view[view.length]; }, | 1059 Expect.throws(() { view[view.length]; }, |
| 1084 (e) { return e is RangeError; }); | 1060 (e) { return e is RangeError; }); |
| 1085 Expect.throws(() { view[10] = 0; }, | 1061 Expect.throws(() { view[10] = 0; }, |
| 1086 (e) { return e is RangeError; }); | 1062 (e) { return e is RangeError; }); |
| 1087 Expect.throws(() { view.add(0); }, | 1063 Expect.throws(() { view.add(0); }, |
| 1088 (e) { return e is UnsupportedError; }); | 1064 (e) { return e is UnsupportedError; }); |
| 1089 Expect.throws(() { view.addAll([0]); }, | 1065 Expect.throws(() { view.addAll([0]); }, |
| 1090 (e) { return e is UnsupportedError; }); | 1066 (e) { return e is UnsupportedError; }); |
| 1091 Expect.throws(() { view.clear(); }, | 1067 Expect.throws(() { view.clear(); }, |
| 1092 (e) { return e is UnsupportedError; }); | 1068 (e) { return e is UnsupportedError; }); |
| 1093 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 1094 (e) { return e is UnsupportedError; }); | |
| 1095 Expect.throws(() { view.length = 0; }, | 1069 Expect.throws(() { view.length = 0; }, |
| 1096 (e) { return e is UnsupportedError; }); | 1070 (e) { return e is UnsupportedError; }); |
| 1097 Expect.throws(() { view.removeLast(); }, | 1071 Expect.throws(() { view.removeLast(); }, |
| 1098 (e) { return e is UnsupportedError; }); | 1072 (e) { return e is UnsupportedError; }); |
| 1099 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1073 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1100 (e) { return e is UnsupportedError; }); | 1074 (e) { return e is UnsupportedError; }); |
| 1101 for (int i = 0; i < view.length; ++i) { | 1075 for (int i = 0; i < view.length; ++i) { |
| 1102 view[i] = 1 + i; | 1076 view[i] = 1 + i; |
| 1103 } | 1077 } |
| 1104 Expect.listEquals([1, 2, 3, 4, 5, | 1078 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1220 Expect.throws(() { view[view.length]; }, | 1194 Expect.throws(() { view[view.length]; }, |
| 1221 (e) { return e is RangeError; }); | 1195 (e) { return e is RangeError; }); |
| 1222 Expect.throws(() { view[view.length] = 0; }, | 1196 Expect.throws(() { view[view.length] = 0; }, |
| 1223 (e) { return e is RangeError; }); | 1197 (e) { return e is RangeError; }); |
| 1224 Expect.throws(() { view.add(0); }, | 1198 Expect.throws(() { view.add(0); }, |
| 1225 (e) { return e is UnsupportedError; }); | 1199 (e) { return e is UnsupportedError; }); |
| 1226 Expect.throws(() { view.addAll([0]); }, | 1200 Expect.throws(() { view.addAll([0]); }, |
| 1227 (e) { return e is UnsupportedError; }); | 1201 (e) { return e is UnsupportedError; }); |
| 1228 Expect.throws(() { view.clear(); }, | 1202 Expect.throws(() { view.clear(); }, |
| 1229 (e) { return e is UnsupportedError; }); | 1203 (e) { return e is UnsupportedError; }); |
| 1230 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 1231 (e) { return e is UnsupportedError; }); | |
| 1232 Expect.throws(() { view.length = 0; }, | 1204 Expect.throws(() { view.length = 0; }, |
| 1233 (e) { return e is UnsupportedError; }); | 1205 (e) { return e is UnsupportedError; }); |
| 1234 Expect.throws(() { view.removeLast(); }, | 1206 Expect.throws(() { view.removeLast(); }, |
| 1235 (e) { return e is UnsupportedError; }); | 1207 (e) { return e is UnsupportedError; }); |
| 1236 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1208 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1237 (e) { return e is UnsupportedError; }); | 1209 (e) { return e is UnsupportedError; }); |
| 1238 for (int i = 0; i < view.length; ++i) { | 1210 for (int i = 0; i < view.length; ++i) { |
| 1239 view[i] = 1 + i; | 1211 view[i] = 1 + i; |
| 1240 } | 1212 } |
| 1241 Expect.listEquals([1, 2, 3, 4, 5, | 1213 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1335 Expect.throws(() { view[view.length]; }, | 1307 Expect.throws(() { view[view.length]; }, |
| 1336 (e) { return e is RangeError; }); | 1308 (e) { return e is RangeError; }); |
| 1337 Expect.throws(() { view[10] = 0; }, | 1309 Expect.throws(() { view[10] = 0; }, |
| 1338 (e) { return e is RangeError; }); | 1310 (e) { return e is RangeError; }); |
| 1339 Expect.throws(() { view.add(0); }, | 1311 Expect.throws(() { view.add(0); }, |
| 1340 (e) { return e is UnsupportedError; }); | 1312 (e) { return e is UnsupportedError; }); |
| 1341 Expect.throws(() { view.addAll([0]); }, | 1313 Expect.throws(() { view.addAll([0]); }, |
| 1342 (e) { return e is UnsupportedError; }); | 1314 (e) { return e is UnsupportedError; }); |
| 1343 Expect.throws(() { view.clear(); }, | 1315 Expect.throws(() { view.clear(); }, |
| 1344 (e) { return e is UnsupportedError; }); | 1316 (e) { return e is UnsupportedError; }); |
| 1345 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 1346 (e) { return e is UnsupportedError; }); | |
| 1347 Expect.throws(() { view.length = 0; }, | 1317 Expect.throws(() { view.length = 0; }, |
| 1348 (e) { return e is UnsupportedError; }); | 1318 (e) { return e is UnsupportedError; }); |
| 1349 Expect.throws(() { view.removeLast(); }, | 1319 Expect.throws(() { view.removeLast(); }, |
| 1350 (e) { return e is UnsupportedError; }); | 1320 (e) { return e is UnsupportedError; }); |
| 1351 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1321 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1352 (e) { return e is UnsupportedError; }); | 1322 (e) { return e is UnsupportedError; }); |
| 1353 for (int i = 0; i < view.length; ++i) { | 1323 for (int i = 0; i < view.length; ++i) { |
| 1354 view[i] = 1 + i; | 1324 view[i] = 1 + i; |
| 1355 } | 1325 } |
| 1356 Expect.listEquals([1, 2, 3, 4, 5, | 1326 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 Expect.throws(() { view[view.length]; }, | 1461 Expect.throws(() { view[view.length]; }, |
| 1492 (e) { return e is RangeError; }); | 1462 (e) { return e is RangeError; }); |
| 1493 Expect.throws(() { view[view.length] = 0; }, | 1463 Expect.throws(() { view[view.length] = 0; }, |
| 1494 (e) { return e is RangeError; }); | 1464 (e) { return e is RangeError; }); |
| 1495 Expect.throws(() { view.add(0); }, | 1465 Expect.throws(() { view.add(0); }, |
| 1496 (e) { return e is UnsupportedError; }); | 1466 (e) { return e is UnsupportedError; }); |
| 1497 Expect.throws(() { view.addAll([0]); }, | 1467 Expect.throws(() { view.addAll([0]); }, |
| 1498 (e) { return e is UnsupportedError; }); | 1468 (e) { return e is UnsupportedError; }); |
| 1499 Expect.throws(() { view.clear(); }, | 1469 Expect.throws(() { view.clear(); }, |
| 1500 (e) { return e is UnsupportedError; }); | 1470 (e) { return e is UnsupportedError; }); |
| 1501 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 1502 (e) { return e is UnsupportedError; }); | |
| 1503 Expect.throws(() { view.length = 0; }, | 1471 Expect.throws(() { view.length = 0; }, |
| 1504 (e) { return e is UnsupportedError; }); | 1472 (e) { return e is UnsupportedError; }); |
| 1505 Expect.throws(() { view.removeLast(); }, | 1473 Expect.throws(() { view.removeLast(); }, |
| 1506 (e) { return e is UnsupportedError; }); | 1474 (e) { return e is UnsupportedError; }); |
| 1507 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1475 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1508 (e) { return e is UnsupportedError; }); | 1476 (e) { return e is UnsupportedError; }); |
| 1509 for (int i = 0; i < view.length; ++i) { | 1477 for (int i = 0; i < view.length; ++i) { |
| 1510 view[i] = 1 + i; | 1478 view[i] = 1 + i; |
| 1511 } | 1479 } |
| 1512 Expect.listEquals([1, 2, 3, 4, 5, | 1480 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1622 Expect.throws(() { view[view.length]; }, | 1590 Expect.throws(() { view[view.length]; }, |
| 1623 (e) { return e is RangeError; }); | 1591 (e) { return e is RangeError; }); |
| 1624 Expect.throws(() { view[10] = 0; }, | 1592 Expect.throws(() { view[10] = 0; }, |
| 1625 (e) { return e is RangeError; }); | 1593 (e) { return e is RangeError; }); |
| 1626 Expect.throws(() { view.add(0); }, | 1594 Expect.throws(() { view.add(0); }, |
| 1627 (e) { return e is UnsupportedError; }); | 1595 (e) { return e is UnsupportedError; }); |
| 1628 Expect.throws(() { view.addAll([0]); }, | 1596 Expect.throws(() { view.addAll([0]); }, |
| 1629 (e) { return e is UnsupportedError; }); | 1597 (e) { return e is UnsupportedError; }); |
| 1630 Expect.throws(() { view.clear(); }, | 1598 Expect.throws(() { view.clear(); }, |
| 1631 (e) { return e is UnsupportedError; }); | 1599 (e) { return e is UnsupportedError; }); |
| 1632 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 1633 (e) { return e is UnsupportedError; }); | |
| 1634 Expect.throws(() { view.length = 0; }, | 1600 Expect.throws(() { view.length = 0; }, |
| 1635 (e) { return e is UnsupportedError; }); | 1601 (e) { return e is UnsupportedError; }); |
| 1636 Expect.throws(() { view.removeLast(); }, | 1602 Expect.throws(() { view.removeLast(); }, |
| 1637 (e) { return e is UnsupportedError; }); | 1603 (e) { return e is UnsupportedError; }); |
| 1638 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1604 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1639 (e) { return e is UnsupportedError; }); | 1605 (e) { return e is UnsupportedError; }); |
| 1640 for (int i = 0; i < view.length; ++i) { | 1606 for (int i = 0; i < view.length; ++i) { |
| 1641 view[i] = 1 + i; | 1607 view[i] = 1 + i; |
| 1642 } | 1608 } |
| 1643 Expect.listEquals([1, 2, 3, 4, 5, | 1609 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1823 Expect.throws(() { view[view.length]; }, | 1789 Expect.throws(() { view[view.length]; }, |
| 1824 (e) { return e is RangeError; }); | 1790 (e) { return e is RangeError; }); |
| 1825 Expect.throws(() { view[view.length] = 0; }, | 1791 Expect.throws(() { view[view.length] = 0; }, |
| 1826 (e) { return e is RangeError; }); | 1792 (e) { return e is RangeError; }); |
| 1827 Expect.throws(() { view.add(0); }, | 1793 Expect.throws(() { view.add(0); }, |
| 1828 (e) { return e is UnsupportedError; }); | 1794 (e) { return e is UnsupportedError; }); |
| 1829 Expect.throws(() { view.addAll([0]); }, | 1795 Expect.throws(() { view.addAll([0]); }, |
| 1830 (e) { return e is UnsupportedError; }); | 1796 (e) { return e is UnsupportedError; }); |
| 1831 Expect.throws(() { view.clear(); }, | 1797 Expect.throws(() { view.clear(); }, |
| 1832 (e) { return e is UnsupportedError; }); | 1798 (e) { return e is UnsupportedError; }); |
| 1833 Expect.throws(() { view.insertRange(0, view.length, 0); }, | |
| 1834 (e) { return e is UnsupportedError; }); | |
| 1835 Expect.throws(() { view.length = 0; }, | 1799 Expect.throws(() { view.length = 0; }, |
| 1836 (e) { return e is UnsupportedError; }); | 1800 (e) { return e is UnsupportedError; }); |
| 1837 Expect.throws(() { view.removeLast(); }, | 1801 Expect.throws(() { view.removeLast(); }, |
| 1838 (e) { return e is UnsupportedError; }); | 1802 (e) { return e is UnsupportedError; }); |
| 1839 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1803 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1840 (e) { return e is UnsupportedError; }); | 1804 (e) { return e is UnsupportedError; }); |
| 1841 for (int i = 0; i < view.length; ++i) { | 1805 for (int i = 0; i < view.length; ++i) { |
| 1842 view[i] = 1 + i; | 1806 view[i] = 1 + i; |
| 1843 } | 1807 } |
| 1844 Expect.listEquals([1, 2, 3, 4, 5, | 1808 Expect.listEquals([1, 2, 3, 4, 5, |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1979 Expect.throws(() { view[10]; }, | 1943 Expect.throws(() { view[10]; }, |
| 1980 (e) { return e is RangeError; }); | 1944 (e) { return e is RangeError; }); |
| 1981 Expect.throws(() { view[10] = 0.0; }, | 1945 Expect.throws(() { view[10] = 0.0; }, |
| 1982 (e) { return e is RangeError; }); | 1946 (e) { return e is RangeError; }); |
| 1983 Expect.throws(() { array.add(0.0); }, | 1947 Expect.throws(() { array.add(0.0); }, |
| 1984 (e) { return e is UnsupportedError; }); | 1948 (e) { return e is UnsupportedError; }); |
| 1985 Expect.throws(() { array.addAll([0]); }, | 1949 Expect.throws(() { array.addAll([0]); }, |
| 1986 (e) { return e is UnsupportedError; }); | 1950 (e) { return e is UnsupportedError; }); |
| 1987 Expect.throws(() { array.clear(); }, | 1951 Expect.throws(() { array.clear(); }, |
| 1988 (e) { return e is UnsupportedError; }); | 1952 (e) { return e is UnsupportedError; }); |
| 1989 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | |
| 1990 (e) { return e is UnsupportedError; }); | |
| 1991 Expect.throws(() { array.length = 0; }, | 1953 Expect.throws(() { array.length = 0; }, |
| 1992 (e) { return e is UnsupportedError; }); | 1954 (e) { return e is UnsupportedError; }); |
| 1993 Expect.throws(() { array.removeLast(); }, | 1955 Expect.throws(() { array.removeLast(); }, |
| 1994 (e) { return e is UnsupportedError; }); | 1956 (e) { return e is UnsupportedError; }); |
| 1995 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 1957 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 1996 (e) { return e is UnsupportedError; }); | 1958 (e) { return e is UnsupportedError; }); |
| 1997 for (int i = 0; i < view.length; ++i) { | 1959 for (int i = 0; i < view.length; ++i) { |
| 1998 view[i] = 1.0 + i; | 1960 view[i] = 1.0 + i; |
| 1999 } | 1961 } |
| 2000 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, | 1962 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2084 Expect.throws(() { view[10]; }, | 2046 Expect.throws(() { view[10]; }, |
| 2085 (e) { return e is RangeError; }); | 2047 (e) { return e is RangeError; }); |
| 2086 Expect.throws(() { view[10] = 0.0; }, | 2048 Expect.throws(() { view[10] = 0.0; }, |
| 2087 (e) { return e is RangeError; }); | 2049 (e) { return e is RangeError; }); |
| 2088 Expect.throws(() { array.add(0.0); }, | 2050 Expect.throws(() { array.add(0.0); }, |
| 2089 (e) { return e is UnsupportedError; }); | 2051 (e) { return e is UnsupportedError; }); |
| 2090 Expect.throws(() { array.addAll([0]); }, | 2052 Expect.throws(() { array.addAll([0]); }, |
| 2091 (e) { return e is UnsupportedError; }); | 2053 (e) { return e is UnsupportedError; }); |
| 2092 Expect.throws(() { array.clear(); }, | 2054 Expect.throws(() { array.clear(); }, |
| 2093 (e) { return e is UnsupportedError; }); | 2055 (e) { return e is UnsupportedError; }); |
| 2094 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | |
| 2095 (e) { return e is UnsupportedError; }); | |
| 2096 Expect.throws(() { array.length = 0; }, | 2056 Expect.throws(() { array.length = 0; }, |
| 2097 (e) { return e is UnsupportedError; }); | 2057 (e) { return e is UnsupportedError; }); |
| 2098 Expect.throws(() { array.removeLast(); }, | 2058 Expect.throws(() { array.removeLast(); }, |
| 2099 (e) { return e is UnsupportedError; }); | 2059 (e) { return e is UnsupportedError; }); |
| 2100 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 2060 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 2101 (e) { return e is UnsupportedError; }); | 2061 (e) { return e is UnsupportedError; }); |
| 2102 for (int i = 0; i < view.length; ++i) { | 2062 for (int i = 0; i < view.length; ++i) { |
| 2103 view[i] = 1.0 + i; | 2063 view[i] = 1.0 + i; |
| 2104 } | 2064 } |
| 2105 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, | 2065 Expect.listEquals([1.0, 2.0, 3.0, 4.0, 5.0, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2166 testFloat32ListView(); | 2126 testFloat32ListView(); |
| 2167 testFloat64ListView(); | 2127 testFloat64ListView(); |
| 2168 } | 2128 } |
| 2169 } | 2129 } |
| 2170 | 2130 |
| 2171 main() { | 2131 main() { |
| 2172 for (var i=0; i<1000; i++) { | 2132 for (var i=0; i<1000; i++) { |
| 2173 OptimizedByteArrayTest.testMain(); | 2133 OptimizedByteArrayTest.testMain(); |
| 2174 } | 2134 } |
| 2175 } | 2135 } |
| OLD | NEW |