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

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

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM (unrelated CL) and update status files. Created 7 years, 8 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 7102bd277f359813c071a9888a093b8312ce817b..876642a3e12eb4798acc2deae619aa190562fe53 100644
--- a/runtime/tests/vm/dart/byte_array_test.dart
+++ b/runtime/tests/vm/dart/byte_array_test.dart
@@ -31,8 +31,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -123,8 +121,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -204,8 +200,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -281,8 +275,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -374,8 +366,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -455,8 +445,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -554,8 +542,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -639,8 +625,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -739,8 +723,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -823,8 +805,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -894,8 +874,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -1138,8 +1116,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -1269,8 +1245,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -1380,8 +1354,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -1519,8 +1491,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -1636,8 +1606,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -1792,8 +1760,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -1925,8 +1891,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -2128,8 +2092,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { view.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { view.insertRange(0, view.length, 0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { view.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { view.removeLast(); },
@@ -2286,8 +2248,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
@@ -2393,8 +2353,6 @@ class ByteArrayTest {
(e) { return e is UnsupportedError; });
Expect.throws(() { array.clear(); },
(e) { return e is UnsupportedError; });
- Expect.throws(() { array.insertRange(0, array.length, 0.0); },
- (e) { return e is UnsupportedError; });
Expect.throws(() { array.length = 0; },
(e) { return e is UnsupportedError; });
Expect.throws(() { array.removeLast(); },
« no previous file with comments | « runtime/tests/vm/dart/byte_array_optimized_test.dart ('k') | samples/sample_extension/test_sample_asynchronous_extension.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698