Chromium Code Reviews| Index: tests/corelib/list_test.dart |
| diff --git a/tests/corelib/list_test.dart b/tests/corelib/list_test.dart |
| index 28629a95d7f2ee6848ee56ac92ac8aef90ef2774..1d67ad16aa14d9d709a357164200b10b2430a7a1 100644 |
| --- a/tests/corelib/list_test.dart |
| +++ b/tests/corelib/list_test.dart |
| @@ -14,6 +14,13 @@ void main() { |
| testTypedList(new Int16List(4)); |
| testTypedList(new Uint32List(4)); |
| testTypedList(new Int32List(4)); |
| + // toList returns a List<int>. |
|
floitsch
2013/05/22 16:26:29
unrelated change?
Lasse Reichstein Nielsen
2013/05/24 06:02:49
Completely.
|
| + testTypedList(new Uint8List(4).toList(growable: false)); |
| + testTypedList(new Int8List(4).toList(growable: false)); |
| + testTypedList(new Uint16List(4).toList(growable: false)); |
| + testTypedList(new Int16List(4).toList(growable: false)); |
| + testTypedList(new Uint32List(4).toList(growable: false)); |
| + testTypedList(new Int32List(4).toList(growable: false)); |
| // Fixed length lists, length 4. |
| testFixedLengthList(new List(4)); |
| @@ -23,12 +30,6 @@ void main() { |
| testFixedLengthList(new MyFixedList(new List(4))); |
| testFixedLengthList(new MyFixedList(new List(4)).toList(growable: false)); |
| - testFixedLengthList(new Uint8List(4).toList(growable: false)); |
| - testFixedLengthList(new Int8List(4).toList(growable: false)); |
| - testFixedLengthList(new Uint16List(4).toList(growable: false)); |
| - testFixedLengthList(new Int16List(4).toList(growable: false)); |
| - testFixedLengthList(new Uint32List(4).toList(growable: false)); |
| - testFixedLengthList(new Int32List(4).toList(growable: false)); |
| // Growable lists. Initial length 0. |
| testGrowableList(new List()); |