Adam Barth 1ad365c384 Add testing resources from SkyDart branch
These packages come from Dart's pub system. I've removed files specific to dart:html
and updated "package:" imports to use relative URLs.

R=eseidel@chromium.org
BUG=454613

Review URL: https://codereview.chromium.org/921863002
2015-02-12 12:23:10 -08:00

21 lines
403 B
Dart

import "third_party/unittest/unittest.dart";
import "dart:sky.internals" as internals;
class _SkyConfig extends SimpleConfiguration {
void onDone(bool success) {
try {
super.onDone(success);
} catch (ex) {
print(ex.toString());
}
internals.notifyTestComplete("DONE");
}
}
final _singleton = new _SkyConfig();
void initUnit() {
unittestConfiguration = _singleton;
}