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

Side by Side Diff: pkg/dev_compiler/test/codegen/lib/html/js_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 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:typed_data' show ByteBuffer, Int32List; 6 import 'dart:typed_data' show ByteBuffer, Int32List;
7 import 'dart:indexed_db' show IdbFactory, KeyRange; 7 import 'dart:indexed_db' show IdbFactory, KeyRange;
8 import 'dart:js'; 8 import 'dart:js';
9 9
10 import 'package:minitest/minitest.dart'; 10 import 'package:expect/minitest.dart';
11 11
12 _injectJs() { 12 _injectJs() {
13 final script = new ScriptElement(); 13 final script = new ScriptElement();
14 script.type = 'text/javascript'; 14 script.type = 'text/javascript';
15 script.innerHtml = r""" 15 script.innerHtml = r"""
16 var x = 42; 16 var x = 42;
17 17
18 var _x = 123; 18 var _x = 123;
19 19
20 var myArray = ["value1"]; 20 var myArray = ["value1"];
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 // expect(context.callMethod('isPropertyInstanceOf', ['o', listType]), 998 // expect(context.callMethod('isPropertyInstanceOf', ['o', listType]),
999 // isTrue); 999 // isTrue);
1000 context.deleteProperty('o'); 1000 context.deleteProperty('o');
1001 } 1001 }
1002 }); 1002 });
1003 1003
1004 }); 1004 });
1005 }); 1005 });
1006 1006
1007 } 1007 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698