Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(773)

Unified Diff: runtime/tests/vm/dart/byte_array_optimized_test.dart

Issue 13528004: Remove addLast from List. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove typo Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/typeddata.dart ('k') | runtime/tests/vm/dart/byte_array_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tests/vm/dart/byte_array_optimized_test.dart
diff --git a/runtime/tests/vm/dart/byte_array_optimized_test.dart b/runtime/tests/vm/dart/byte_array_optimized_test.dart
index 153ebc39371383d6bce4bbacbe60671ada52b550..8713ecb41fe9cf319d0716419939686418233685 100644
--- a/runtime/tests/vm/dart/byte_array_optimized_test.dart
+++ b/runtime/tests/vm/dart/byte_array_optimized_test.dart
@@ -30,8 +30,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -117,8 +115,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -193,8 +189,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -281,8 +275,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -357,8 +349,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -451,8 +441,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -533,8 +521,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -628,8 +614,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0); },
@@ -707,8 +691,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0.0); },
@@ -773,8 +755,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0.0); },
@@ -869,8 +849,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1000,8 +978,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1111,8 +1087,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1250,8 +1224,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1367,8 +1339,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1525,8 +1495,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1658,8 +1626,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -1861,8 +1827,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.addLast(0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.insertRange(0, view.length, 0); },
@@ -2019,8 +1983,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0.0); },
@@ -2126,8 +2088,6 @@ class OptimizedByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.addAll([0]); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.addLast(0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.insertRange(0, array.length, 0.0); },
« no previous file with comments | « runtime/lib/typeddata.dart ('k') | runtime/tests/vm/dart/byte_array_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698