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

Unified Diff: runtime/tests/vm/dart/byte_array_optimized_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
« 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 9fc6c604f1ffb27ee9393e2fd372a0cd68ce6758..45604fde353a62eb45fce32787054116d5eea2cf 100644
--- a/runtime/tests/vm/dart/byte_array_optimized_test.dart
+++ b/runtime/tests/vm/dart/byte_array_optimized_test.dart
@@ -33,8 +33,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -118,8 +116,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -192,8 +188,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -278,8 +272,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -352,8 +344,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -444,8 +434,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -524,8 +512,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -617,8 +603,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -694,8 +678,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -758,8 +740,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -852,8 +832,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -981,8 +959,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1090,8 +1066,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1227,8 +1201,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1342,8 +1314,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1498,8 +1468,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1629,8 +1597,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1830,8 +1796,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -1986,8 +1950,6 @@ class OptimizedByteArrayTest {
(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(); },
@@ -2091,8 +2053,6 @@ class OptimizedByteArrayTest {
(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/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