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

Side by Side Diff: test/trace_test.dart

Issue 1580083003: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/stack_trace@master
Patch Set: Created 4 years, 11 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 | « test/frame_test.dart ('k') | test/utils.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) 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 library trace_test;
6
7 import 'package:path/path.dart' as path; 5 import 'package:path/path.dart' as path;
8 import 'package:stack_trace/stack_trace.dart'; 6 import 'package:stack_trace/stack_trace.dart';
9 import 'package:test/test.dart'; 7 import 'package:test/test.dart';
10 8
11 String getStackTraceString() { 9 String getStackTraceString() {
12 try { 10 try {
13 throw ''; 11 throw '';
14 } catch (_, stackTrace) { 12 } catch (_, stackTrace) {
15 return stackTrace.toString(); 13 return stackTrace.toString();
16 } 14 }
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 '''); 419 ''');
422 420
423 expect(trace.foldFrames((frame) => true).toString(), equals(r''' 421 expect(trace.foldFrames((frame) => true).toString(), equals(r'''
424 .g"cs$#:b";a#>sw{*{ul$"$xqwr`p 422 .g"cs$#:b";a#>sw{*{ul$"$xqwr`p
425 %+j-?uppx<([j@#nu{{>*+$%x-={`{ 423 %+j-?uppx<([j@#nu{{>*+$%x-={`{
426 !e($b{nj)zs?cgr%!;bmw.+$j+pfj~ 424 !e($b{nj)zs?cgr%!;bmw.+$j+pfj~
427 ''')); 425 '''));
428 }); 426 });
429 }); 427 });
430 } 428 }
OLDNEW
« no previous file with comments | « test/frame_test.dart ('k') | test/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698