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

Side by Side Diff: tests/language/full_stacktrace2_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « tests/language/full_stacktrace1_test.dart ('k') | tests/language/full_stacktrace3_test.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 // (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
3 // BSD-style license that can be found in the LICENSE file.
4
5 import "package:expect/expect.dart";
6
1 void func1() { 7 void func1() {
2 throw new Exception("Test peanut gallery request for Full stacktrace"); 8 throw new Exception("Test peanut gallery request for Full stacktrace");
3 } 9 }
4 void func2() { 10 void func2() {
5 func1(); 11 func1();
6 } 12 }
7 void func3() { 13 void func3() {
8 try { 14 try {
9 func2(); 15 func2();
10 } on Object catch(e, s) { 16 } on Object catch(e, s) {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return 1; 94 return 1;
89 } 95 }
90 int func7() { 96 int func7() {
91 func6(); 97 func6();
92 return 1; 98 return 1;
93 } 99 }
94 main() { 100 main() {
95 var i = func7(); 101 var i = func7();
96 Expect.equals(1, i); 102 Expect.equals(1, i);
97 } 103 }
OLDNEW
« no previous file with comments | « tests/language/full_stacktrace1_test.dart ('k') | tests/language/full_stacktrace3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698