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

Side by Side Diff: pkg/dev_compiler/test/codegen/lib/html/instance_of_test.dart

Issue 2416853003: Move minitest.dart into the expect package. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 import 'dart:html'; 1 import 'dart:html';
2 2
3 import 'package:minitest/minitest.dart'; 3 import 'package:expect/minitest.dart';
4 4
5 main() { 5 main() {
6 CanvasElement canvas; 6 CanvasElement canvas;
7 7
8 canvas = new Element.tag('canvas'); 8 canvas = new Element.tag('canvas');
9 canvas.attributes['width'] = '100'; 9 canvas.attributes['width'] = '100';
10 canvas.attributes['height'] = '100'; 10 canvas.attributes['height'] = '100';
11 document.body.append(canvas); 11 document.body.append(canvas);
12 12
13 var isCanvasRenderingContext = predicate((x) => x is CanvasRenderingContext, 13 var isCanvasRenderingContext = predicate((x) => x is CanvasRenderingContext,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 expect(bytes, isNotCanvasElement); 68 expect(bytes, isNotCanvasElement);
69 expect(bytes, isNotImageData); 69 expect(bytes, isNotImageData);
70 expect(bytes, isIntList); 70 expect(bytes, isIntList);
71 71
72 // FIXME: Ensure this is an SpanElement when we next update 72 // FIXME: Ensure this is an SpanElement when we next update
73 // WebKit IDL. 73 // WebKit IDL.
74 var span = new Element.tag('span'); 74 var span = new Element.tag('span');
75 expect(span, isElement); 75 expect(span, isElement);
76 }); 76 });
77 } 77 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698