| 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 'dart:typeddata'; | 8 import 'dart:typeddata'; |
| 9 | 9 |
| 10 class ByteArrayTest { | 10 class ByteArrayTest { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 Expect.throws(() { return array[-1]; }, | 21 Expect.throws(() { return array[-1]; }, |
| 22 (e) { return e is RangeError; }); | 22 (e) { return e is RangeError; }); |
| 23 Expect.throws(() { array[10]; }, | 23 Expect.throws(() { array[10]; }, |
| 24 (e) { return e is RangeError; }); | 24 (e) { return e is RangeError; }); |
| 25 Expect.throws(() { array[10] = 0; }, | 25 Expect.throws(() { array[10] = 0; }, |
| 26 (e) { return e is RangeError; }); | 26 (e) { return e is RangeError; }); |
| 27 Expect.throws(() { array.add(0); }, | 27 Expect.throws(() { array.add(0); }, |
| 28 (e) { return e is UnsupportedError; }); | 28 (e) { return e is UnsupportedError; }); |
| 29 Expect.throws(() { array.addAll([0]); }, | 29 Expect.throws(() { array.addAll([0]); }, |
| 30 (e) { return e is UnsupportedError; }); | 30 (e) { return e is UnsupportedError; }); |
| 31 Expect.throws(() { array.addLast(0); }, | |
| 32 (e) { return e is UnsupportedError; }); | |
| 33 Expect.throws(() { array.clear(); }, | 31 Expect.throws(() { array.clear(); }, |
| 34 (e) { return e is UnsupportedError; }); | 32 (e) { return e is UnsupportedError; }); |
| 35 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 33 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 36 (e) { return e is UnsupportedError; }); | 34 (e) { return e is UnsupportedError; }); |
| 37 Expect.throws(() { array.length = 0; }, | 35 Expect.throws(() { array.length = 0; }, |
| 38 (e) { return e is UnsupportedError; }); | 36 (e) { return e is UnsupportedError; }); |
| 39 Expect.throws(() { array.removeLast(); }, | 37 Expect.throws(() { array.removeLast(); }, |
| 40 (e) { return e is UnsupportedError; }); | 38 (e) { return e is UnsupportedError; }); |
| 41 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 39 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 42 (e) { return e is UnsupportedError; }); | 40 (e) { return e is UnsupportedError; }); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 Expect.throws(() { return array[-1]; }, | 113 Expect.throws(() { return array[-1]; }, |
| 116 (e) { return e is RangeError; }); | 114 (e) { return e is RangeError; }); |
| 117 Expect.throws(() { array[10]; }, | 115 Expect.throws(() { array[10]; }, |
| 118 (e) { return e is RangeError; }); | 116 (e) { return e is RangeError; }); |
| 119 Expect.throws(() { array[10] = 0; }, | 117 Expect.throws(() { array[10] = 0; }, |
| 120 (e) { return e is RangeError; }); | 118 (e) { return e is RangeError; }); |
| 121 Expect.throws(() { array.add(0); }, | 119 Expect.throws(() { array.add(0); }, |
| 122 (e) { return e is UnsupportedError; }); | 120 (e) { return e is UnsupportedError; }); |
| 123 Expect.throws(() { array.addAll([0]); }, | 121 Expect.throws(() { array.addAll([0]); }, |
| 124 (e) { return e is UnsupportedError; }); | 122 (e) { return e is UnsupportedError; }); |
| 125 Expect.throws(() { array.addLast(0); }, | |
| 126 (e) { return e is UnsupportedError; }); | |
| 127 Expect.throws(() { array.clear(); }, | 123 Expect.throws(() { array.clear(); }, |
| 128 (e) { return e is UnsupportedError; }); | 124 (e) { return e is UnsupportedError; }); |
| 129 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 125 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 130 (e) { return e is UnsupportedError; }); | 126 (e) { return e is UnsupportedError; }); |
| 131 Expect.throws(() { array.length = 0; }, | 127 Expect.throws(() { array.length = 0; }, |
| 132 (e) { return e is UnsupportedError; }); | 128 (e) { return e is UnsupportedError; }); |
| 133 Expect.throws(() { array.removeLast(); }, | 129 Expect.throws(() { array.removeLast(); }, |
| 134 (e) { return e is UnsupportedError; }); | 130 (e) { return e is UnsupportedError; }); |
| 135 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 131 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 136 (e) { return e is UnsupportedError; }); | 132 (e) { return e is UnsupportedError; }); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 Expect.throws(() { return array[-1]; }, | 194 Expect.throws(() { return array[-1]; }, |
| 199 (e) { return e is RangeError; }); | 195 (e) { return e is RangeError; }); |
| 200 Expect.throws(() { array[10]; }, | 196 Expect.throws(() { array[10]; }, |
| 201 (e) { return e is RangeError; }); | 197 (e) { return e is RangeError; }); |
| 202 Expect.throws(() { array[10] = 0; }, | 198 Expect.throws(() { array[10] = 0; }, |
| 203 (e) { return e is RangeError; }); | 199 (e) { return e is RangeError; }); |
| 204 Expect.throws(() { array.add(0); }, | 200 Expect.throws(() { array.add(0); }, |
| 205 (e) { return e is UnsupportedError; }); | 201 (e) { return e is UnsupportedError; }); |
| 206 Expect.throws(() { array.addAll([0]); }, | 202 Expect.throws(() { array.addAll([0]); }, |
| 207 (e) { return e is UnsupportedError; }); | 203 (e) { return e is UnsupportedError; }); |
| 208 Expect.throws(() { array.addLast(0); }, | |
| 209 (e) { return e is UnsupportedError; }); | |
| 210 Expect.throws(() { array.clear(); }, | 204 Expect.throws(() { array.clear(); }, |
| 211 (e) { return e is UnsupportedError; }); | 205 (e) { return e is UnsupportedError; }); |
| 212 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 206 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 213 (e) { return e is UnsupportedError; }); | 207 (e) { return e is UnsupportedError; }); |
| 214 Expect.throws(() { array.length = 0; }, | 208 Expect.throws(() { array.length = 0; }, |
| 215 (e) { return e is UnsupportedError; }); | 209 (e) { return e is UnsupportedError; }); |
| 216 Expect.throws(() { array.removeLast(); }, | 210 Expect.throws(() { array.removeLast(); }, |
| 217 (e) { return e is UnsupportedError; }); | 211 (e) { return e is UnsupportedError; }); |
| 218 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 212 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 219 (e) { return e is UnsupportedError; }); | 213 (e) { return e is UnsupportedError; }); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 Expect.throws(() { return array[-1]; }, | 271 Expect.throws(() { return array[-1]; }, |
| 278 (e) { return e is RangeError; }); | 272 (e) { return e is RangeError; }); |
| 279 Expect.throws(() { array[10]; }, | 273 Expect.throws(() { array[10]; }, |
| 280 (e) { return e is RangeError; }); | 274 (e) { return e is RangeError; }); |
| 281 Expect.throws(() { array[10] = 0; }, | 275 Expect.throws(() { array[10] = 0; }, |
| 282 (e) { return e is RangeError; }); | 276 (e) { return e is RangeError; }); |
| 283 Expect.throws(() { array.add(0); }, | 277 Expect.throws(() { array.add(0); }, |
| 284 (e) { return e is UnsupportedError; }); | 278 (e) { return e is UnsupportedError; }); |
| 285 Expect.throws(() { array.addAll([0]); }, | 279 Expect.throws(() { array.addAll([0]); }, |
| 286 (e) { return e is UnsupportedError; }); | 280 (e) { return e is UnsupportedError; }); |
| 287 Expect.throws(() { array.addLast(0); }, | |
| 288 (e) { return e is UnsupportedError; }); | |
| 289 Expect.throws(() { array.clear(); }, | 281 Expect.throws(() { array.clear(); }, |
| 290 (e) { return e is UnsupportedError; }); | 282 (e) { return e is UnsupportedError; }); |
| 291 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 283 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 292 (e) { return e is UnsupportedError; }); | 284 (e) { return e is UnsupportedError; }); |
| 293 Expect.throws(() { array.length = 0; }, | 285 Expect.throws(() { array.length = 0; }, |
| 294 (e) { return e is UnsupportedError; }); | 286 (e) { return e is UnsupportedError; }); |
| 295 Expect.throws(() { array.removeLast(); }, | 287 Expect.throws(() { array.removeLast(); }, |
| 296 (e) { return e is UnsupportedError; }); | 288 (e) { return e is UnsupportedError; }); |
| 297 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 289 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 298 (e) { return e is UnsupportedError; }); | 290 (e) { return e is UnsupportedError; }); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 Expect.throws(() { return array[-1]; }, | 364 Expect.throws(() { return array[-1]; }, |
| 373 (e) { return e is RangeError; }); | 365 (e) { return e is RangeError; }); |
| 374 Expect.throws(() { array[10]; }, | 366 Expect.throws(() { array[10]; }, |
| 375 (e) { return e is RangeError; }); | 367 (e) { return e is RangeError; }); |
| 376 Expect.throws(() { array[10] = 0; }, | 368 Expect.throws(() { array[10] = 0; }, |
| 377 (e) { return e is RangeError; }); | 369 (e) { return e is RangeError; }); |
| 378 Expect.throws(() { array.add(0); }, | 370 Expect.throws(() { array.add(0); }, |
| 379 (e) { return e is UnsupportedError; }); | 371 (e) { return e is UnsupportedError; }); |
| 380 Expect.throws(() { array.addAll([0]); }, | 372 Expect.throws(() { array.addAll([0]); }, |
| 381 (e) { return e is UnsupportedError; }); | 373 (e) { return e is UnsupportedError; }); |
| 382 Expect.throws(() { array.addLast(0); }, | |
| 383 (e) { return e is UnsupportedError; }); | |
| 384 Expect.throws(() { array.clear(); }, | 374 Expect.throws(() { array.clear(); }, |
| 385 (e) { return e is UnsupportedError; }); | 375 (e) { return e is UnsupportedError; }); |
| 386 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 376 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 387 (e) { return e is UnsupportedError; }); | 377 (e) { return e is UnsupportedError; }); |
| 388 Expect.throws(() { array.length = 0; }, | 378 Expect.throws(() { array.length = 0; }, |
| 389 (e) { return e is UnsupportedError; }); | 379 (e) { return e is UnsupportedError; }); |
| 390 Expect.throws(() { array.removeLast(); }, | 380 Expect.throws(() { array.removeLast(); }, |
| 391 (e) { return e is UnsupportedError; }); | 381 (e) { return e is UnsupportedError; }); |
| 392 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 382 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 393 (e) { return e is UnsupportedError; }); | 383 (e) { return e is UnsupportedError; }); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 Expect.throws(() { return array[-1]; }, | 445 Expect.throws(() { return array[-1]; }, |
| 456 (e) { return e is RangeError; }); | 446 (e) { return e is RangeError; }); |
| 457 Expect.throws(() { array[10]; }, | 447 Expect.throws(() { array[10]; }, |
| 458 (e) { return e is RangeError; }); | 448 (e) { return e is RangeError; }); |
| 459 Expect.throws(() { array[10] = 0; }, | 449 Expect.throws(() { array[10] = 0; }, |
| 460 (e) { return e is RangeError; }); | 450 (e) { return e is RangeError; }); |
| 461 Expect.throws(() { array.add(0); }, | 451 Expect.throws(() { array.add(0); }, |
| 462 (e) { return e is UnsupportedError; }); | 452 (e) { return e is UnsupportedError; }); |
| 463 Expect.throws(() { array.addAll([0]); }, | 453 Expect.throws(() { array.addAll([0]); }, |
| 464 (e) { return e is UnsupportedError; }); | 454 (e) { return e is UnsupportedError; }); |
| 465 Expect.throws(() { array.addLast(0); }, | |
| 466 (e) { return e is UnsupportedError; }); | |
| 467 Expect.throws(() { array.clear(); }, | 455 Expect.throws(() { array.clear(); }, |
| 468 (e) { return e is UnsupportedError; }); | 456 (e) { return e is UnsupportedError; }); |
| 469 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 457 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 470 (e) { return e is UnsupportedError; }); | 458 (e) { return e is UnsupportedError; }); |
| 471 Expect.throws(() { array.length = 0; }, | 459 Expect.throws(() { array.length = 0; }, |
| 472 (e) { return e is UnsupportedError; }); | 460 (e) { return e is UnsupportedError; }); |
| 473 Expect.throws(() { array.removeLast(); }, | 461 Expect.throws(() { array.removeLast(); }, |
| 474 (e) { return e is UnsupportedError; }); | 462 (e) { return e is UnsupportedError; }); |
| 475 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 463 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 476 (e) { return e is UnsupportedError; }); | 464 (e) { return e is UnsupportedError; }); |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 Expect.throws(() { return array[-1]; }, | 544 Expect.throws(() { return array[-1]; }, |
| 557 (e) { return e is RangeError; }); | 545 (e) { return e is RangeError; }); |
| 558 Expect.throws(() { array[10]; }, | 546 Expect.throws(() { array[10]; }, |
| 559 (e) { return e is RangeError; }); | 547 (e) { return e is RangeError; }); |
| 560 Expect.throws(() { array[10] = 0; }, | 548 Expect.throws(() { array[10] = 0; }, |
| 561 (e) { return e is RangeError; }); | 549 (e) { return e is RangeError; }); |
| 562 Expect.throws(() { array.add(0); }, | 550 Expect.throws(() { array.add(0); }, |
| 563 (e) { return e is UnsupportedError; }); | 551 (e) { return e is UnsupportedError; }); |
| 564 Expect.throws(() { array.addAll([0]); }, | 552 Expect.throws(() { array.addAll([0]); }, |
| 565 (e) { return e is UnsupportedError; }); | 553 (e) { return e is UnsupportedError; }); |
| 566 Expect.throws(() { array.addLast(0); }, | |
| 567 (e) { return e is UnsupportedError; }); | |
| 568 Expect.throws(() { array.clear(); }, | 554 Expect.throws(() { array.clear(); }, |
| 569 (e) { return e is UnsupportedError; }); | 555 (e) { return e is UnsupportedError; }); |
| 570 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 556 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 571 (e) { return e is UnsupportedError; }); | 557 (e) { return e is UnsupportedError; }); |
| 572 Expect.throws(() { array.length = 0; }, | 558 Expect.throws(() { array.length = 0; }, |
| 573 (e) { return e is UnsupportedError; }); | 559 (e) { return e is UnsupportedError; }); |
| 574 Expect.throws(() { array.removeLast(); }, | 560 Expect.throws(() { array.removeLast(); }, |
| 575 (e) { return e is UnsupportedError; }); | 561 (e) { return e is UnsupportedError; }); |
| 576 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 562 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 577 (e) { return e is UnsupportedError; }); | 563 (e) { return e is UnsupportedError; }); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 Expect.throws(() { return array[-1]; }, | 629 Expect.throws(() { return array[-1]; }, |
| 644 (e) { return e is RangeError; }); | 630 (e) { return e is RangeError; }); |
| 645 Expect.throws(() { array[10]; }, | 631 Expect.throws(() { array[10]; }, |
| 646 (e) { return e is RangeError; }); | 632 (e) { return e is RangeError; }); |
| 647 Expect.throws(() { array[10] = 0; }, | 633 Expect.throws(() { array[10] = 0; }, |
| 648 (e) { return e is RangeError; }); | 634 (e) { return e is RangeError; }); |
| 649 Expect.throws(() { array.add(0); }, | 635 Expect.throws(() { array.add(0); }, |
| 650 (e) { return e is UnsupportedError; }); | 636 (e) { return e is UnsupportedError; }); |
| 651 Expect.throws(() { array.addAll([0]); }, | 637 Expect.throws(() { array.addAll([0]); }, |
| 652 (e) { return e is UnsupportedError; }); | 638 (e) { return e is UnsupportedError; }); |
| 653 Expect.throws(() { array.addLast(0); }, | |
| 654 (e) { return e is UnsupportedError; }); | |
| 655 Expect.throws(() { array.clear(); }, | 639 Expect.throws(() { array.clear(); }, |
| 656 (e) { return e is UnsupportedError; }); | 640 (e) { return e is UnsupportedError; }); |
| 657 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 641 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 658 (e) { return e is UnsupportedError; }); | 642 (e) { return e is UnsupportedError; }); |
| 659 Expect.throws(() { array.length = 0; }, | 643 Expect.throws(() { array.length = 0; }, |
| 660 (e) { return e is UnsupportedError; }); | 644 (e) { return e is UnsupportedError; }); |
| 661 Expect.throws(() { array.removeLast(); }, | 645 Expect.throws(() { array.removeLast(); }, |
| 662 (e) { return e is UnsupportedError; }); | 646 (e) { return e is UnsupportedError; }); |
| 663 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 647 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 664 (e) { return e is UnsupportedError; }); | 648 (e) { return e is UnsupportedError; }); |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 Expect.throws(() { return array[-1]; }, | 729 Expect.throws(() { return array[-1]; }, |
| 746 (e) { return e is RangeError; }); | 730 (e) { return e is RangeError; }); |
| 747 Expect.throws(() { array[10]; }, | 731 Expect.throws(() { array[10]; }, |
| 748 (e) { return e is RangeError; }); | 732 (e) { return e is RangeError; }); |
| 749 Expect.throws(() { array[10] = 0; }, | 733 Expect.throws(() { array[10] = 0; }, |
| 750 (e) { return e is RangeError; }); | 734 (e) { return e is RangeError; }); |
| 751 Expect.throws(() { array.add(0); }, | 735 Expect.throws(() { array.add(0); }, |
| 752 (e) { return e is UnsupportedError; }); | 736 (e) { return e is UnsupportedError; }); |
| 753 Expect.throws(() { array.addAll([0]); }, | 737 Expect.throws(() { array.addAll([0]); }, |
| 754 (e) { return e is UnsupportedError; }); | 738 (e) { return e is UnsupportedError; }); |
| 755 Expect.throws(() { array.addLast(0); }, | |
| 756 (e) { return e is UnsupportedError; }); | |
| 757 Expect.throws(() { array.clear(); }, | 739 Expect.throws(() { array.clear(); }, |
| 758 (e) { return e is UnsupportedError; }); | 740 (e) { return e is UnsupportedError; }); |
| 759 Expect.throws(() { array.insertRange(0, array.length, 0); }, | 741 Expect.throws(() { array.insertRange(0, array.length, 0); }, |
| 760 (e) { return e is UnsupportedError; }); | 742 (e) { return e is UnsupportedError; }); |
| 761 Expect.throws(() { array.length = 0; }, | 743 Expect.throws(() { array.length = 0; }, |
| 762 (e) { return e is UnsupportedError; }); | 744 (e) { return e is UnsupportedError; }); |
| 763 Expect.throws(() { array.removeLast(); }, | 745 Expect.throws(() { array.removeLast(); }, |
| 764 (e) { return e is UnsupportedError; }); | 746 (e) { return e is UnsupportedError; }); |
| 765 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 747 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 766 (e) { return e is UnsupportedError; }); | 748 (e) { return e is UnsupportedError; }); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 Expect.throws(() { return array[-1]; }, | 813 Expect.throws(() { return array[-1]; }, |
| 832 (e) { return e is RangeError; }); | 814 (e) { return e is RangeError; }); |
| 833 Expect.throws(() { array[10]; }, | 815 Expect.throws(() { array[10]; }, |
| 834 (e) { return e is RangeError; }); | 816 (e) { return e is RangeError; }); |
| 835 Expect.throws(() { array[10] = 0.0; }, | 817 Expect.throws(() { array[10] = 0.0; }, |
| 836 (e) { return e is RangeError; }); | 818 (e) { return e is RangeError; }); |
| 837 Expect.throws(() { array.add(0.0); }, | 819 Expect.throws(() { array.add(0.0); }, |
| 838 (e) { return e is UnsupportedError; }); | 820 (e) { return e is UnsupportedError; }); |
| 839 Expect.throws(() { array.addAll([0]); }, | 821 Expect.throws(() { array.addAll([0]); }, |
| 840 (e) { return e is UnsupportedError; }); | 822 (e) { return e is UnsupportedError; }); |
| 841 Expect.throws(() { array.addLast(0.0); }, | |
| 842 (e) { return e is UnsupportedError; }); | |
| 843 Expect.throws(() { array.clear(); }, | 823 Expect.throws(() { array.clear(); }, |
| 844 (e) { return e is UnsupportedError; }); | 824 (e) { return e is UnsupportedError; }); |
| 845 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | 825 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, |
| 846 (e) { return e is UnsupportedError; }); | 826 (e) { return e is UnsupportedError; }); |
| 847 Expect.throws(() { array.length = 0; }, | 827 Expect.throws(() { array.length = 0; }, |
| 848 (e) { return e is UnsupportedError; }); | 828 (e) { return e is UnsupportedError; }); |
| 849 Expect.throws(() { array.removeLast(); }, | 829 Expect.throws(() { array.removeLast(); }, |
| 850 (e) { return e is UnsupportedError; }); | 830 (e) { return e is UnsupportedError; }); |
| 851 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 831 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 852 (e) { return e is UnsupportedError; }); | 832 (e) { return e is UnsupportedError; }); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 Expect.throws(() { return array[-1]; }, | 884 Expect.throws(() { return array[-1]; }, |
| 905 (e) { return e is RangeError; }); | 885 (e) { return e is RangeError; }); |
| 906 Expect.throws(() { array[10]; }, | 886 Expect.throws(() { array[10]; }, |
| 907 (e) { return e is RangeError; }); | 887 (e) { return e is RangeError; }); |
| 908 Expect.throws(() { array[10] = 0.0; }, | 888 Expect.throws(() { array[10] = 0.0; }, |
| 909 (e) { return e is RangeError; }); | 889 (e) { return e is RangeError; }); |
| 910 Expect.throws(() { array.add(0.0); }, | 890 Expect.throws(() { array.add(0.0); }, |
| 911 (e) { return e is UnsupportedError; }); | 891 (e) { return e is UnsupportedError; }); |
| 912 Expect.throws(() { array.addAll([0]); }, | 892 Expect.throws(() { array.addAll([0]); }, |
| 913 (e) { return e is UnsupportedError; }); | 893 (e) { return e is UnsupportedError; }); |
| 914 Expect.throws(() { array.addLast(0.0); }, | |
| 915 (e) { return e is UnsupportedError; }); | |
| 916 Expect.throws(() { array.clear(); }, | 894 Expect.throws(() { array.clear(); }, |
| 917 (e) { return e is UnsupportedError; }); | 895 (e) { return e is UnsupportedError; }); |
| 918 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | 896 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, |
| 919 (e) { return e is UnsupportedError; }); | 897 (e) { return e is UnsupportedError; }); |
| 920 Expect.throws(() { array.length = 0; }, | 898 Expect.throws(() { array.length = 0; }, |
| 921 (e) { return e is UnsupportedError; }); | 899 (e) { return e is UnsupportedError; }); |
| 922 Expect.throws(() { array.removeLast(); }, | 900 Expect.throws(() { array.removeLast(); }, |
| 923 (e) { return e is UnsupportedError; }); | 901 (e) { return e is UnsupportedError; }); |
| 924 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 902 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 925 (e) { return e is UnsupportedError; }); | 903 (e) { return e is UnsupportedError; }); |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 Expect.throws(() { return view[-1]; }, | 1128 Expect.throws(() { return view[-1]; }, |
| 1151 (e) { return e is RangeError; }); | 1129 (e) { return e is RangeError; }); |
| 1152 Expect.throws(() { view[view.length]; }, | 1130 Expect.throws(() { view[view.length]; }, |
| 1153 (e) { return e is RangeError; }); | 1131 (e) { return e is RangeError; }); |
| 1154 Expect.throws(() { view[10] = 0; }, | 1132 Expect.throws(() { view[10] = 0; }, |
| 1155 (e) { return e is RangeError; }); | 1133 (e) { return e is RangeError; }); |
| 1156 Expect.throws(() { view.add(0); }, | 1134 Expect.throws(() { view.add(0); }, |
| 1157 (e) { return e is UnsupportedError; }); | 1135 (e) { return e is UnsupportedError; }); |
| 1158 Expect.throws(() { view.addAll([0]); }, | 1136 Expect.throws(() { view.addAll([0]); }, |
| 1159 (e) { return e is UnsupportedError; }); | 1137 (e) { return e is UnsupportedError; }); |
| 1160 Expect.throws(() { view.addLast(0); }, | |
| 1161 (e) { return e is UnsupportedError; }); | |
| 1162 Expect.throws(() { view.clear(); }, | 1138 Expect.throws(() { view.clear(); }, |
| 1163 (e) { return e is UnsupportedError; }); | 1139 (e) { return e is UnsupportedError; }); |
| 1164 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1140 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1165 (e) { return e is UnsupportedError; }); | 1141 (e) { return e is UnsupportedError; }); |
| 1166 Expect.throws(() { view.length = 0; }, | 1142 Expect.throws(() { view.length = 0; }, |
| 1167 (e) { return e is UnsupportedError; }); | 1143 (e) { return e is UnsupportedError; }); |
| 1168 Expect.throws(() { view.removeLast(); }, | 1144 Expect.throws(() { view.removeLast(); }, |
| 1169 (e) { return e is UnsupportedError; }); | 1145 (e) { return e is UnsupportedError; }); |
| 1170 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1146 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1171 (e) { return e is UnsupportedError; }); | 1147 (e) { return e is UnsupportedError; }); |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1283 Expect.throws(() { return view[-1]; }, | 1259 Expect.throws(() { return view[-1]; }, |
| 1284 (e) { return e is RangeError; }); | 1260 (e) { return e is RangeError; }); |
| 1285 Expect.throws(() { view[view.length]; }, | 1261 Expect.throws(() { view[view.length]; }, |
| 1286 (e) { return e is RangeError; }); | 1262 (e) { return e is RangeError; }); |
| 1287 Expect.throws(() { view[view.length] = 0; }, | 1263 Expect.throws(() { view[view.length] = 0; }, |
| 1288 (e) { return e is RangeError; }); | 1264 (e) { return e is RangeError; }); |
| 1289 Expect.throws(() { view.add(0); }, | 1265 Expect.throws(() { view.add(0); }, |
| 1290 (e) { return e is UnsupportedError; }); | 1266 (e) { return e is UnsupportedError; }); |
| 1291 Expect.throws(() { view.addAll([0]); }, | 1267 Expect.throws(() { view.addAll([0]); }, |
| 1292 (e) { return e is UnsupportedError; }); | 1268 (e) { return e is UnsupportedError; }); |
| 1293 Expect.throws(() { view.addLast(0); }, | |
| 1294 (e) { return e is UnsupportedError; }); | |
| 1295 Expect.throws(() { view.clear(); }, | 1269 Expect.throws(() { view.clear(); }, |
| 1296 (e) { return e is UnsupportedError; }); | 1270 (e) { return e is UnsupportedError; }); |
| 1297 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1271 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1298 (e) { return e is UnsupportedError; }); | 1272 (e) { return e is UnsupportedError; }); |
| 1299 Expect.throws(() { view.length = 0; }, | 1273 Expect.throws(() { view.length = 0; }, |
| 1300 (e) { return e is UnsupportedError; }); | 1274 (e) { return e is UnsupportedError; }); |
| 1301 Expect.throws(() { view.removeLast(); }, | 1275 Expect.throws(() { view.removeLast(); }, |
| 1302 (e) { return e is UnsupportedError; }); | 1276 (e) { return e is UnsupportedError; }); |
| 1303 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1277 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1304 (e) { return e is UnsupportedError; }); | 1278 (e) { return e is UnsupportedError; }); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 Expect.throws(() { return view[-1]; }, | 1370 Expect.throws(() { return view[-1]; }, |
| 1397 (e) { return e is RangeError; }); | 1371 (e) { return e is RangeError; }); |
| 1398 Expect.throws(() { view[view.length]; }, | 1372 Expect.throws(() { view[view.length]; }, |
| 1399 (e) { return e is RangeError; }); | 1373 (e) { return e is RangeError; }); |
| 1400 Expect.throws(() { view[10] = 0; }, | 1374 Expect.throws(() { view[10] = 0; }, |
| 1401 (e) { return e is RangeError; }); | 1375 (e) { return e is RangeError; }); |
| 1402 Expect.throws(() { view.add(0); }, | 1376 Expect.throws(() { view.add(0); }, |
| 1403 (e) { return e is UnsupportedError; }); | 1377 (e) { return e is UnsupportedError; }); |
| 1404 Expect.throws(() { view.addAll([0]); }, | 1378 Expect.throws(() { view.addAll([0]); }, |
| 1405 (e) { return e is UnsupportedError; }); | 1379 (e) { return e is UnsupportedError; }); |
| 1406 Expect.throws(() { view.addLast(0); }, | |
| 1407 (e) { return e is UnsupportedError; }); | |
| 1408 Expect.throws(() { view.clear(); }, | 1380 Expect.throws(() { view.clear(); }, |
| 1409 (e) { return e is UnsupportedError; }); | 1381 (e) { return e is UnsupportedError; }); |
| 1410 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1382 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1411 (e) { return e is UnsupportedError; }); | 1383 (e) { return e is UnsupportedError; }); |
| 1412 Expect.throws(() { view.length = 0; }, | 1384 Expect.throws(() { view.length = 0; }, |
| 1413 (e) { return e is UnsupportedError; }); | 1385 (e) { return e is UnsupportedError; }); |
| 1414 Expect.throws(() { view.removeLast(); }, | 1386 Expect.throws(() { view.removeLast(); }, |
| 1415 (e) { return e is UnsupportedError; }); | 1387 (e) { return e is UnsupportedError; }); |
| 1416 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1388 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1417 (e) { return e is UnsupportedError; }); | 1389 (e) { return e is UnsupportedError; }); |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1537 Expect.throws(() { return view[-1]; }, | 1509 Expect.throws(() { return view[-1]; }, |
| 1538 (e) { return e is RangeError; }); | 1510 (e) { return e is RangeError; }); |
| 1539 Expect.throws(() { view[view.length]; }, | 1511 Expect.throws(() { view[view.length]; }, |
| 1540 (e) { return e is RangeError; }); | 1512 (e) { return e is RangeError; }); |
| 1541 Expect.throws(() { view[view.length] = 0; }, | 1513 Expect.throws(() { view[view.length] = 0; }, |
| 1542 (e) { return e is RangeError; }); | 1514 (e) { return e is RangeError; }); |
| 1543 Expect.throws(() { view.add(0); }, | 1515 Expect.throws(() { view.add(0); }, |
| 1544 (e) { return e is UnsupportedError; }); | 1516 (e) { return e is UnsupportedError; }); |
| 1545 Expect.throws(() { view.addAll([0]); }, | 1517 Expect.throws(() { view.addAll([0]); }, |
| 1546 (e) { return e is UnsupportedError; }); | 1518 (e) { return e is UnsupportedError; }); |
| 1547 Expect.throws(() { view.addLast(0); }, | |
| 1548 (e) { return e is UnsupportedError; }); | |
| 1549 Expect.throws(() { view.clear(); }, | 1519 Expect.throws(() { view.clear(); }, |
| 1550 (e) { return e is UnsupportedError; }); | 1520 (e) { return e is UnsupportedError; }); |
| 1551 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1521 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1552 (e) { return e is UnsupportedError; }); | 1522 (e) { return e is UnsupportedError; }); |
| 1553 Expect.throws(() { view.length = 0; }, | 1523 Expect.throws(() { view.length = 0; }, |
| 1554 (e) { return e is UnsupportedError; }); | 1524 (e) { return e is UnsupportedError; }); |
| 1555 Expect.throws(() { view.removeLast(); }, | 1525 Expect.throws(() { view.removeLast(); }, |
| 1556 (e) { return e is UnsupportedError; }); | 1526 (e) { return e is UnsupportedError; }); |
| 1557 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1527 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1558 (e) { return e is UnsupportedError; }); | 1528 (e) { return e is UnsupportedError; }); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1656 Expect.throws(() { return view[-1]; }, | 1626 Expect.throws(() { return view[-1]; }, |
| 1657 (e) { return e is RangeError; }); | 1627 (e) { return e is RangeError; }); |
| 1658 Expect.throws(() { view[view.length]; }, | 1628 Expect.throws(() { view[view.length]; }, |
| 1659 (e) { return e is RangeError; }); | 1629 (e) { return e is RangeError; }); |
| 1660 Expect.throws(() { view[10] = 0; }, | 1630 Expect.throws(() { view[10] = 0; }, |
| 1661 (e) { return e is RangeError; }); | 1631 (e) { return e is RangeError; }); |
| 1662 Expect.throws(() { view.add(0); }, | 1632 Expect.throws(() { view.add(0); }, |
| 1663 (e) { return e is UnsupportedError; }); | 1633 (e) { return e is UnsupportedError; }); |
| 1664 Expect.throws(() { view.addAll([0]); }, | 1634 Expect.throws(() { view.addAll([0]); }, |
| 1665 (e) { return e is UnsupportedError; }); | 1635 (e) { return e is UnsupportedError; }); |
| 1666 Expect.throws(() { view.addLast(0); }, | |
| 1667 (e) { return e is UnsupportedError; }); | |
| 1668 Expect.throws(() { view.clear(); }, | 1636 Expect.throws(() { view.clear(); }, |
| 1669 (e) { return e is UnsupportedError; }); | 1637 (e) { return e is UnsupportedError; }); |
| 1670 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1638 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1671 (e) { return e is UnsupportedError; }); | 1639 (e) { return e is UnsupportedError; }); |
| 1672 Expect.throws(() { view.length = 0; }, | 1640 Expect.throws(() { view.length = 0; }, |
| 1673 (e) { return e is UnsupportedError; }); | 1641 (e) { return e is UnsupportedError; }); |
| 1674 Expect.throws(() { view.removeLast(); }, | 1642 Expect.throws(() { view.removeLast(); }, |
| 1675 (e) { return e is UnsupportedError; }); | 1643 (e) { return e is UnsupportedError; }); |
| 1676 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1644 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1677 (e) { return e is UnsupportedError; }); | 1645 (e) { return e is UnsupportedError; }); |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1814 Expect.throws(() { return view[-1]; }, | 1782 Expect.throws(() { return view[-1]; }, |
| 1815 (e) { return e is RangeError; }); | 1783 (e) { return e is RangeError; }); |
| 1816 Expect.throws(() { view[view.length]; }, | 1784 Expect.throws(() { view[view.length]; }, |
| 1817 (e) { return e is RangeError; }); | 1785 (e) { return e is RangeError; }); |
| 1818 Expect.throws(() { view[view.length] = 0; }, | 1786 Expect.throws(() { view[view.length] = 0; }, |
| 1819 (e) { return e is RangeError; }); | 1787 (e) { return e is RangeError; }); |
| 1820 Expect.throws(() { view.add(0); }, | 1788 Expect.throws(() { view.add(0); }, |
| 1821 (e) { return e is UnsupportedError; }); | 1789 (e) { return e is UnsupportedError; }); |
| 1822 Expect.throws(() { view.addAll([0]); }, | 1790 Expect.throws(() { view.addAll([0]); }, |
| 1823 (e) { return e is UnsupportedError; }); | 1791 (e) { return e is UnsupportedError; }); |
| 1824 Expect.throws(() { view.addLast(0); }, | |
| 1825 (e) { return e is UnsupportedError; }); | |
| 1826 Expect.throws(() { view.clear(); }, | 1792 Expect.throws(() { view.clear(); }, |
| 1827 (e) { return e is UnsupportedError; }); | 1793 (e) { return e is UnsupportedError; }); |
| 1828 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1794 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1829 (e) { return e is UnsupportedError; }); | 1795 (e) { return e is UnsupportedError; }); |
| 1830 Expect.throws(() { view.length = 0; }, | 1796 Expect.throws(() { view.length = 0; }, |
| 1831 (e) { return e is UnsupportedError; }); | 1797 (e) { return e is UnsupportedError; }); |
| 1832 Expect.throws(() { view.removeLast(); }, | 1798 Expect.throws(() { view.removeLast(); }, |
| 1833 (e) { return e is UnsupportedError; }); | 1799 (e) { return e is UnsupportedError; }); |
| 1834 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1800 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1835 (e) { return e is UnsupportedError; }); | 1801 (e) { return e is UnsupportedError; }); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1949 Expect.throws(() { return view[-1]; }, | 1915 Expect.throws(() { return view[-1]; }, |
| 1950 (e) { return e is RangeError; }); | 1916 (e) { return e is RangeError; }); |
| 1951 Expect.throws(() { view[view.length]; }, | 1917 Expect.throws(() { view[view.length]; }, |
| 1952 (e) { return e is RangeError; }); | 1918 (e) { return e is RangeError; }); |
| 1953 Expect.throws(() { view[10] = 0; }, | 1919 Expect.throws(() { view[10] = 0; }, |
| 1954 (e) { return e is RangeError; }); | 1920 (e) { return e is RangeError; }); |
| 1955 Expect.throws(() { view.add(0); }, | 1921 Expect.throws(() { view.add(0); }, |
| 1956 (e) { return e is UnsupportedError; }); | 1922 (e) { return e is UnsupportedError; }); |
| 1957 Expect.throws(() { view.addAll([0]); }, | 1923 Expect.throws(() { view.addAll([0]); }, |
| 1958 (e) { return e is UnsupportedError; }); | 1924 (e) { return e is UnsupportedError; }); |
| 1959 Expect.throws(() { view.addLast(0); }, | |
| 1960 (e) { return e is UnsupportedError; }); | |
| 1961 Expect.throws(() { view.clear(); }, | 1925 Expect.throws(() { view.clear(); }, |
| 1962 (e) { return e is UnsupportedError; }); | 1926 (e) { return e is UnsupportedError; }); |
| 1963 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 1927 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 1964 (e) { return e is UnsupportedError; }); | 1928 (e) { return e is UnsupportedError; }); |
| 1965 Expect.throws(() { view.length = 0; }, | 1929 Expect.throws(() { view.length = 0; }, |
| 1966 (e) { return e is UnsupportedError; }); | 1930 (e) { return e is UnsupportedError; }); |
| 1967 Expect.throws(() { view.removeLast(); }, | 1931 Expect.throws(() { view.removeLast(); }, |
| 1968 (e) { return e is UnsupportedError; }); | 1932 (e) { return e is UnsupportedError; }); |
| 1969 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 1933 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 1970 (e) { return e is UnsupportedError; }); | 1934 (e) { return e is UnsupportedError; }); |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2154 Expect.throws(() { return view[-1]; }, | 2118 Expect.throws(() { return view[-1]; }, |
| 2155 (e) { return e is RangeError; }); | 2119 (e) { return e is RangeError; }); |
| 2156 Expect.throws(() { view[view.length]; }, | 2120 Expect.throws(() { view[view.length]; }, |
| 2157 (e) { return e is RangeError; }); | 2121 (e) { return e is RangeError; }); |
| 2158 Expect.throws(() { view[view.length] = 0; }, | 2122 Expect.throws(() { view[view.length] = 0; }, |
| 2159 (e) { return e is RangeError; }); | 2123 (e) { return e is RangeError; }); |
| 2160 Expect.throws(() { view.add(0); }, | 2124 Expect.throws(() { view.add(0); }, |
| 2161 (e) { return e is UnsupportedError; }); | 2125 (e) { return e is UnsupportedError; }); |
| 2162 Expect.throws(() { view.addAll([0]); }, | 2126 Expect.throws(() { view.addAll([0]); }, |
| 2163 (e) { return e is UnsupportedError; }); | 2127 (e) { return e is UnsupportedError; }); |
| 2164 Expect.throws(() { view.addLast(0); }, | |
| 2165 (e) { return e is UnsupportedError; }); | |
| 2166 Expect.throws(() { view.clear(); }, | 2128 Expect.throws(() { view.clear(); }, |
| 2167 (e) { return e is UnsupportedError; }); | 2129 (e) { return e is UnsupportedError; }); |
| 2168 Expect.throws(() { view.insertRange(0, view.length, 0); }, | 2130 Expect.throws(() { view.insertRange(0, view.length, 0); }, |
| 2169 (e) { return e is UnsupportedError; }); | 2131 (e) { return e is UnsupportedError; }); |
| 2170 Expect.throws(() { view.length = 0; }, | 2132 Expect.throws(() { view.length = 0; }, |
| 2171 (e) { return e is UnsupportedError; }); | 2133 (e) { return e is UnsupportedError; }); |
| 2172 Expect.throws(() { view.removeLast(); }, | 2134 Expect.throws(() { view.removeLast(); }, |
| 2173 (e) { return e is UnsupportedError; }); | 2135 (e) { return e is UnsupportedError; }); |
| 2174 Expect.throws(() { view.removeRange(0, view.length - 1); }, | 2136 Expect.throws(() { view.removeRange(0, view.length - 1); }, |
| 2175 (e) { return e is UnsupportedError; }); | 2137 (e) { return e is UnsupportedError; }); |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2314 Expect.throws(() { return view[-1]; }, | 2276 Expect.throws(() { return view[-1]; }, |
| 2315 (e) { return e is RangeError; }); | 2277 (e) { return e is RangeError; }); |
| 2316 Expect.throws(() { view[10]; }, | 2278 Expect.throws(() { view[10]; }, |
| 2317 (e) { return e is RangeError; }); | 2279 (e) { return e is RangeError; }); |
| 2318 Expect.throws(() { view[10] = 0.0; }, | 2280 Expect.throws(() { view[10] = 0.0; }, |
| 2319 (e) { return e is RangeError; }); | 2281 (e) { return e is RangeError; }); |
| 2320 Expect.throws(() { array.add(0.0); }, | 2282 Expect.throws(() { array.add(0.0); }, |
| 2321 (e) { return e is UnsupportedError; }); | 2283 (e) { return e is UnsupportedError; }); |
| 2322 Expect.throws(() { array.addAll([0]); }, | 2284 Expect.throws(() { array.addAll([0]); }, |
| 2323 (e) { return e is UnsupportedError; }); | 2285 (e) { return e is UnsupportedError; }); |
| 2324 Expect.throws(() { array.addLast(0.0); }, | |
| 2325 (e) { return e is UnsupportedError; }); | |
| 2326 Expect.throws(() { array.clear(); }, | 2286 Expect.throws(() { array.clear(); }, |
| 2327 (e) { return e is UnsupportedError; }); | 2287 (e) { return e is UnsupportedError; }); |
| 2328 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | 2288 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, |
| 2329 (e) { return e is UnsupportedError; }); | 2289 (e) { return e is UnsupportedError; }); |
| 2330 Expect.throws(() { array.length = 0; }, | 2290 Expect.throws(() { array.length = 0; }, |
| 2331 (e) { return e is UnsupportedError; }); | 2291 (e) { return e is UnsupportedError; }); |
| 2332 Expect.throws(() { array.removeLast(); }, | 2292 Expect.throws(() { array.removeLast(); }, |
| 2333 (e) { return e is UnsupportedError; }); | 2293 (e) { return e is UnsupportedError; }); |
| 2334 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 2294 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 2335 (e) { return e is UnsupportedError; }); | 2295 (e) { return e is UnsupportedError; }); |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2423 Expect.throws(() { return view[-1]; }, | 2383 Expect.throws(() { return view[-1]; }, |
| 2424 (e) { return e is RangeError; }); | 2384 (e) { return e is RangeError; }); |
| 2425 Expect.throws(() { view[10]; }, | 2385 Expect.throws(() { view[10]; }, |
| 2426 (e) { return e is RangeError; }); | 2386 (e) { return e is RangeError; }); |
| 2427 Expect.throws(() { view[10] = 0.0; }, | 2387 Expect.throws(() { view[10] = 0.0; }, |
| 2428 (e) { return e is RangeError; }); | 2388 (e) { return e is RangeError; }); |
| 2429 Expect.throws(() { array.add(0.0); }, | 2389 Expect.throws(() { array.add(0.0); }, |
| 2430 (e) { return e is UnsupportedError; }); | 2390 (e) { return e is UnsupportedError; }); |
| 2431 Expect.throws(() { array.addAll([0]); }, | 2391 Expect.throws(() { array.addAll([0]); }, |
| 2432 (e) { return e is UnsupportedError; }); | 2392 (e) { return e is UnsupportedError; }); |
| 2433 Expect.throws(() { array.addLast(0.0); }, | |
| 2434 (e) { return e is UnsupportedError; }); | |
| 2435 Expect.throws(() { array.clear(); }, | 2393 Expect.throws(() { array.clear(); }, |
| 2436 (e) { return e is UnsupportedError; }); | 2394 (e) { return e is UnsupportedError; }); |
| 2437 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, | 2395 Expect.throws(() { array.insertRange(0, array.length, 0.0); }, |
| 2438 (e) { return e is UnsupportedError; }); | 2396 (e) { return e is UnsupportedError; }); |
| 2439 Expect.throws(() { array.length = 0; }, | 2397 Expect.throws(() { array.length = 0; }, |
| 2440 (e) { return e is UnsupportedError; }); | 2398 (e) { return e is UnsupportedError; }); |
| 2441 Expect.throws(() { array.removeLast(); }, | 2399 Expect.throws(() { array.removeLast(); }, |
| 2442 (e) { return e is UnsupportedError; }); | 2400 (e) { return e is UnsupportedError; }); |
| 2443 Expect.throws(() { array.removeRange(0, array.length - 1); }, | 2401 Expect.throws(() { array.removeRange(0, array.length - 1); }, |
| 2444 (e) { return e is UnsupportedError; }); | 2402 (e) { return e is UnsupportedError; }); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2514 | 2472 |
| 2515 testByteList(); | 2473 testByteList(); |
| 2516 } | 2474 } |
| 2517 } | 2475 } |
| 2518 | 2476 |
| 2519 main() { | 2477 main() { |
| 2520 for (var i=0; i<1000; i++) { | 2478 for (var i=0; i<1000; i++) { |
| 2521 ByteArrayTest.testMain(); | 2479 ByteArrayTest.testMain(); |
| 2522 } | 2480 } |
| 2523 } | 2481 } |
| OLD | NEW |