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

Side by Side Diff: sky/tests/resources/unit.dart

Issue 921863002: Add testing resources from SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: move to third_party Created 5 years, 10 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
« no previous file with comments | « sky/tests/resources/third_party/unittest/vm_config.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 import "../resources/unittest/unittest.dart";
eseidel 2015/02/12 20:19:57 Is this still right?
abarth-chromium 2015/02/12 20:22:43 Nope. Fixed.
2 import "dart:sky.internals" as internals;
3
4 class _SkyConfig extends SimpleConfiguration {
5 void onDone(bool success) {
6 try {
7 super.onDone(success);
8 } catch (ex) {
9 print(ex.toString());
10 }
11
12 internals.notifyTestComplete("DONE");
13 }
14 }
15
16 final _singleton = new _SkyConfig();
17
18 void initUnit() {
19 unittestConfiguration = _singleton;
20 }
OLDNEW
« no previous file with comments | « sky/tests/resources/third_party/unittest/vm_config.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698