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

Unified Diff: tests/lib/typed_data/setRange_1_test.dart

Issue 105273005: Redo "Redo "Use TypedArray.set for setRange of between similarly typed lists implemented as TypedAr… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 | « tests/lib/lib.status ('k') | tests/lib/typed_data/setRange_2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/typed_data/setRange_1_test.dart
diff --git a/tests/lib/mirrors/unmangled_type_test.dart b/tests/lib/typed_data/setRange_1_test.dart
similarity index 55%
copy from tests/lib/mirrors/unmangled_type_test.dart
copy to tests/lib/typed_data/setRange_1_test.dart
index dbc6b62437908677c6fb6c1dab670b8d0dd7d2b6..ea7d6dcc8edf380b197dabf3401ca42bbad806a8 100644
--- a/tests/lib/mirrors/unmangled_type_test.dart
+++ b/tests/lib/typed_data/setRange_1_test.dart
@@ -2,14 +2,15 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-import 'dart:mirrors';
-
+import 'setRange_lib.dart';
import 'package:expect/expect.dart';
+import 'dart:typed_data';
-class Foo {
+sameTypeTest() {
+ checkSameSize(makeInt16List, makeInt16View, makeInt16View);
+ checkSameSize(makeUint16List, makeUint16View, makeUint16View);
}
main() {
- Expect.stringEquals('Foo', '${new Foo().runtimeType}');
- Expect.stringEquals('foo', MirrorSystem.getName(new Symbol('foo')));
+ sameTypeTest();
}
« no previous file with comments | « tests/lib/lib.status ('k') | tests/lib/typed_data/setRange_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698