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

Unified Diff: tools/testing/dart/browser_test.dart

Issue 10854013: Clean up the test srapper code so that it does not use reportTestError, and made that private. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« lib/unittest/unittest.dart ('K') | « lib/unittest/unittest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/browser_test.dart
===================================================================
--- tools/testing/dart/browser_test.dart (revision 10299)
+++ tools/testing/dart/browser_test.dart (working copy)
@@ -63,13 +63,7 @@
main() {
config.useHtmlConfiguration();
- try {
- unittest.ensureInitialized();
- Test.main();
- } catch(var e, var trace) {
- unittest.reportTestError(
- e.toString(), trace == null ? '' : trace.toString());
- }
+ group('', Test.main);
}
""";
« lib/unittest/unittest.dart ('K') | « lib/unittest/unittest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698