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

Unified Diff: tests/standalone/int_array_load_elimination_test.dart

Issue 2984363004: Migrate first block of tests in standalone to standalone_2 (Closed)
Patch Set: Remove Expect.throws Created 3 years, 5 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 | « tests/standalone/int_array_deopt.dart ('k') | tests/standalone/int_array_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/int_array_load_elimination_test.dart
diff --git a/tests/standalone/int_array_load_elimination_test.dart b/tests/standalone/int_array_load_elimination_test.dart
deleted file mode 100644
index 4e8dea6a3c4b4bc733494d2d1b501df707c2c201..0000000000000000000000000000000000000000
--- a/tests/standalone/int_array_load_elimination_test.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// 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.
-//
-// Test correct load elimination for scalar lists.
-
-// TODO: remove once bug 2264 fixed.
-library int_array_load_elimination;
-
-import "package:expect/expect.dart";
-import 'dart:typed_data';
-
-void testUint16() {
- Uint16List intArray = new Uint16List(1);
- intArray[0] = -1;
- var x = intArray[0];
- Expect.equals(65535, x);
-}
-
-main() {
- for (int i = 0; i < 2000; i++) {
- testUint16();
- }
-}
« no previous file with comments | « tests/standalone/int_array_deopt.dart ('k') | tests/standalone/int_array_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698