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

Side by Side Diff: client/tests/client/dom/TypedArrays1Test.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #library('TypedArrays1Test'); 1 #library('TypedArrays1Test');
2 #import('../../../testing/unittest/unittest.dart'); 2 #import('../../../testing/unittest/unittest_dom.dart');
3 #import('dart:dom'); 3 #import('dart:dom');
4 4
5 main() { 5 main() {
6 6
7 forLayoutTests(); 7 forLayoutTests();
8 8
9 test('createByLengthTest', () { 9 test('createByLengthTest', () {
10 var a = new Float32Array(10); 10 var a = new Float32Array(10);
11 Expect.equals(10, a.length); 11 Expect.equals(10, a.length);
12 Expect.equals(0, a[4]); 12 Expect.equals(0, a[4]);
(...skipping 19 matching lines...) Expand all
32 32
33 }); 33 });
34 34
35 test('typeTests', () { 35 test('typeTests', () {
36 var a = new Float32Array(10); 36 var a = new Float32Array(10);
37 Expect.isTrue(a is List); 37 Expect.isTrue(a is List);
38 Expect.isTrue(a is List<num>); 38 Expect.isTrue(a is List<num>);
39 Expect.isTrue(a is! List<String>); 39 Expect.isTrue(a is! List<String>);
40 }); 40 });
41 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698