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

Side by Side Diff: pkg/scheduled_test/test/metatest.dart

Issue 93143002: Make pkg/stack_trace use stack chains. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more fixes Created 7 years 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
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 /// A test library for testing test libraries? We must go deeper. 5 /// A test library for testing test libraries? We must go deeper.
6 /// 6 ///
7 /// Since unit testing code tends to use a lot of global state, it can be tough 7 /// Since unit testing code tends to use a lot of global state, it can be tough
8 /// to test. This library manages it by running each test case in a child 8 /// to test. This library manages it by running each test case in a child
9 /// isolate, then reporting the results back to the parent isolate. 9 /// isolate, then reporting the results back to the parent isolate.
10 library metatest; 10 library metatest;
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 String uncaughtError) { 197 String uncaughtError) {
198 _replyTo.send({ 198 _replyTo.send({
199 "passed": passed, 199 "passed": passed,
200 "failed": failed, 200 "failed": failed,
201 "errors": errors, 201 "errors": errors,
202 "uncaughtError": uncaughtError, 202 "uncaughtError": uncaughtError,
203 "results": results.map((testCase) => { 203 "results": results.map((testCase) => {
204 "description": testCase.description, 204 "description": testCase.description,
205 "message": testCase.message, 205 "message": testCase.message,
206 "result": testCase.result, 206 "result": testCase.result,
207 "stackTrace": testCase.stackTrace 207 "stackTrace": testCase.stackTrace.toString()
208 }).toList() 208 }).toList()
209 }); 209 });
210 } 210 }
211 } 211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698