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

Side by Side Diff: third_party/pkg/angular/perf/dom/_perf.dart

Issue 124053002: Adding Angular and dependent packages for testing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
(Empty)
1 import '../../test/_specs.dart' as perf;
2 import '../../test/jasmine_syntax.dart' as jasmine;
3 import '../_perf.dart' hide xtime, time;
4 import 'package:angular/mock/module.dart';
5
6 export '../../test/_specs.dart';
7 export 'package:angular/mock/module.dart';
8
9 _noop() => null;
10
11 time(name, body, {verify:_noop, cleanUp:_noop}) {
12 body();
13 verify();
14 cleanUp();
15
16 dump('$name: => ${statMeasure(() { body(); cleanUp(); })}');
17 }
18
19 main() {
20 jasmine.main();
21 perf.main();
22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698