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

Side by Side Diff: tests/dom/typed_arrays_1_test.dart

Issue 10191033: test renaming overhaul: step 4 client tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/dom/svg_3_test.dart ('k') | tests/dom/typed_arrays_2_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('TypedArrays1Test'); 1 #library('TypedArrays1Test');
2 #import('../../../../lib/unittest/unittest.dart'); 2 #import('../../lib/unittest/unittest.dart');
3 #import('../../../../lib/unittest/dom_config.dart'); 3 #import('../../lib/unittest/dom_config.dart');
4 #import('dart:dom'); 4 #import('dart:dom');
5 5
6 main() { 6 main() {
7 7
8 useDomConfiguration(); 8 useDomConfiguration();
9 9
10 test('createByLengthTest', () { 10 test('createByLengthTest', () {
11 var a = new Float32Array(10); 11 var a = new Float32Array(10);
12 Expect.equals(10, a.length); 12 Expect.equals(10, a.length);
13 Expect.equals(0, a[4]); 13 Expect.equals(0, a[4]);
(...skipping 19 matching lines...) Expand all
33 33
34 }); 34 });
35 35
36 test('typeTests', () { 36 test('typeTests', () {
37 var a = new Float32Array(10); 37 var a = new Float32Array(10);
38 Expect.isTrue(a is List); 38 Expect.isTrue(a is List);
39 Expect.isTrue(a is List<num>); 39 Expect.isTrue(a is List<num>);
40 Expect.isTrue(a is! List<String>); 40 Expect.isTrue(a is! List<String>);
41 }); 41 });
42 } 42 }
OLDNEW
« no previous file with comments | « tests/dom/svg_3_test.dart ('k') | tests/dom/typed_arrays_2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698