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

Side by Side Diff: standalone/typed_array_test.dart

Issue 11344025: Add library tag so that this test will run in dartium. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/tests/
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4 //
5 // Dart test program for testing native float arrays.
6
7 // Library tag to be able to run in html test framework.
8 #library("TypedArrayTest.dart");
9
1 import 'dart:isolate'; 10 import 'dart:isolate';
2 import 'dart:scalarlist'; 11 import 'dart:scalarlist';
3 12
4 void main() { 13 void main() {
5 int8_receiver(); 14 int8_receiver();
6 uint8_receiver(); 15 uint8_receiver();
7 int16_receiver(); 16 int16_receiver();
8 uint16_receiver(); 17 uint16_receiver();
9 int32_receiver(); 18 int32_receiver();
10 uint32_receiver(); 19 uint32_receiver();
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 float64_sender() { 334 float64_sender() {
326 port.receive((len, r) { 335 port.receive((len, r) {
327 Expect.equals(float64.length, len); 336 Expect.equals(float64.length, len);
328 var a = new Float64List(len); 337 var a = new Float64List(len);
329 for (int i = 0; i < len; i++) { 338 for (int i = 0; i < len; i++) {
330 a[i] = float64[i]; 339 a[i] = float64[i];
331 } 340 }
332 r.send(a); 341 r.send(a);
333 }); 342 });
334 } 343 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698