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

Side by Side Diff: tests/dom/instance_of_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/inner_frame_test.dart ('k') | tests/dom/isolates_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('InstanceOfTest'); 1 #library('InstanceOfTest');
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 HTMLCanvasElement canvas; 7 HTMLCanvasElement canvas;
8 8
9 canvas = document.createElement('canvas'); 9 canvas = document.createElement('canvas');
10 canvas.setAttribute('width', '100'); 10 canvas.setAttribute('width', '100');
11 canvas.setAttribute('height', '100'); 11 canvas.setAttribute('height', '100');
12 document.body.appendChild(canvas); 12 document.body.appendChild(canvas);
13 13
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Expect.isFalse(bytes is HTMLCanvasElement); 46 Expect.isFalse(bytes is HTMLCanvasElement);
47 Expect.isFalse(bytes is ImageData); 47 Expect.isFalse(bytes is ImageData);
48 Expect.isTrue(bytes is Uint8ClampedArray); 48 Expect.isTrue(bytes is Uint8ClampedArray);
49 49
50 // FIXME: Ensure this is an HTMLSpanElement when we next update 50 // FIXME: Ensure this is an HTMLSpanElement when we next update
51 // WebKit IDL. 51 // WebKit IDL.
52 var span = document.createElement('span'); 52 var span = document.createElement('span');
53 Expect.isTrue(span is HTMLElement); 53 Expect.isTrue(span is HTMLElement);
54 }); 54 });
55 } 55 }
OLDNEW
« no previous file with comments | « tests/dom/inner_frame_test.dart ('k') | tests/dom/isolates_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698