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

Side by Side Diff: tests/html/instance_of_test.dart

Issue 10836241: Move unittest from lib to pkg. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/html/inner_frame_test.dart ('k') | tests/html/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('../../pkg/unittest/unittest.dart');
3 #import('../../lib/unittest/html_config.dart'); 3 #import('../../pkg/unittest/html_config.dart');
4 #import('dart:html'); 4 #import('dart:html');
5 5
6 main() { 6 main() {
7 CanvasElement canvas; 7 CanvasElement canvas;
8 8
9 canvas = new Element.tag('canvas'); 9 canvas = new Element.tag('canvas');
10 canvas.attributes['width'] = 100; 10 canvas.attributes['width'] = 100;
11 canvas.attributes['height'] = 100; 11 canvas.attributes['height'] = 100;
12 document.body.nodes.add(canvas); 12 document.body.nodes.add(canvas);
13 13
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Expect.isFalse(bytes is CanvasElement); 46 Expect.isFalse(bytes is CanvasElement);
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 SpanElement when we next update 50 // FIXME: Ensure this is an SpanElement when we next update
51 // WebKit IDL. 51 // WebKit IDL.
52 var span = new Element.tag('span'); 52 var span = new Element.tag('span');
53 Expect.isTrue(span is Element); 53 Expect.isTrue(span is Element);
54 }); 54 });
55 } 55 }
OLDNEW
« no previous file with comments | « tests/html/inner_frame_test.dart ('k') | tests/html/isolates_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698