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

Side by Side Diff: dart/tests/try/web/test_case.dart

Issue 386563002: Add "point of interest" app for command-line testing of dart2js type information. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « dart/tests/try/web/source_update_test.dart ('k') | dart/tests/try/web/test_try.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 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library trydart.test_case; 5 library trydart.test_case;
6 6
7 import 'dart:html' show 7 import 'dart:html' show
8 document; 8 document;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 11
12 import '../../pkg/async_helper/lib/async_helper.dart'; 12 import 'package:async_helper/async_helper.dart';
13 13
14 typedef void VoidFunction(); 14 typedef void VoidFunction();
15 15
16 class TestCase { 16 class TestCase {
17 final String description; 17 final String description;
18 final VoidFunction setup; 18 final VoidFunction setup;
19 final VoidFunction validate; 19 final VoidFunction validate;
20 20
21 TestCase(this.description, this.setup, this.validate); 21 TestCase(this.description, this.setup, this.validate);
22 } 22 }
(...skipping 29 matching lines...) Expand all
52 print('${test.description}\nDone.'); 52 print('${test.description}\nDone.');
53 iterateTests(iterator); 53 iterateTests(iterator);
54 }); 54 });
55 } else { 55 } else {
56 completer.complete(null); 56 completer.complete(null);
57 } 57 }
58 } 58 }
59 59
60 iterateTests(tests.iterator); 60 iterateTests(tests.iterator);
61 } 61 }
OLDNEW
« no previous file with comments | « dart/tests/try/web/source_update_test.dart ('k') | dart/tests/try/web/test_try.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698