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

Side by Side Diff: third_party/pkg/js/test/js_wrapping/browser_tests.dart

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 3 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
OLDNEW
1 library tests; 1 library tests;
2 2
3 import 'dart:html'; 3 import 'dart:html';
4 import 'dart:json';
5 4
6 import 'package:js/js.dart' as js; 5 import 'package:js/js.dart' as js;
7 import 'package:js/js_wrapping.dart' as jsw; 6 import 'package:js/js_wrapping.dart' as jsw;
8 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
9 import 'package:unittest/html_config.dart'; 8 import 'package:unittest/html_config.dart';
10 9
11 abstract class _Person { 10 abstract class _Person {
12 String firstname; 11 String firstname;
13 12
14 String sayHello(); 13 String sayHello();
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 }); 391 });
393 js.scoped((){ 392 js.scoped((){
394 expect(() => john.sayHello(), returnsNormally); 393 expect(() => john.sayHello(), returnsNormally);
395 js.release(john); 394 js.release(john);
396 }); 395 });
397 js.scoped((){ 396 js.scoped((){
398 expect(() => john.sayHello(), throws); 397 expect(() => john.sayHello(), throws);
399 }); 398 });
400 }); 399 });
401 } 400 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698