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

Unified Diff: runtime/tests/vm/dart/byte_array_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
Index: runtime/tests/vm/dart/byte_array_test.dart
diff --git a/runtime/tests/vm/dart/byte_array_test.dart b/runtime/tests/vm/dart/byte_array_test.dart
index eecd7167ed65ea93ada7287e27ed962244407883..f4ede602f35790350582e2deeb9e55710738155c 100644
--- a/runtime/tests/vm/dart/byte_array_test.dart
+++ b/runtime/tests/vm/dart/byte_array_test.dart
@@ -28,8 +28,6 @@ class ByteArrayTest {
(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); },
@@ -122,8 +120,6 @@ class ByteArrayTest {
(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); },
@@ -205,8 +201,6 @@ class ByteArrayTest {
(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); },
@@ -284,8 +278,6 @@ class ByteArrayTest {
(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); },
@@ -379,8 +371,6 @@ class ByteArrayTest {
(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); },
@@ -462,8 +452,6 @@ class ByteArrayTest {
(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); },
@@ -563,8 +551,6 @@ class ByteArrayTest {
(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); },
@@ -650,8 +636,6 @@ class ByteArrayTest {
(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); },
@@ -752,8 +736,6 @@ class ByteArrayTest {
(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); },
@@ -838,8 +820,6 @@ class ByteArrayTest {
(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); },
@@ -911,8 +891,6 @@ class ByteArrayTest {
(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); },
@@ -1157,8 +1135,6 @@ class ByteArrayTest {
(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); },
@@ -1290,8 +1266,6 @@ class ByteArrayTest {
(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); },
@@ -1403,8 +1377,6 @@ class ByteArrayTest {
(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); },
@@ -1544,8 +1516,6 @@ class ByteArrayTest {
(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); },
@@ -1663,8 +1633,6 @@ class ByteArrayTest {
(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); },
@@ -1821,8 +1789,6 @@ class ByteArrayTest {
(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); },
@@ -1956,8 +1922,6 @@ class ByteArrayTest {
(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); },
@@ -2161,8 +2125,6 @@ class ByteArrayTest {
(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); },
@@ -2321,8 +2283,6 @@ class ByteArrayTest {
(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); },
@@ -2430,8 +2390,6 @@ class ByteArrayTest {
(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/tests/vm/dart/byte_array_optimized_test.dart ('k') | samples/swarm/swarm_ui_lib/observable/observable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698