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

Side by Side Diff: tests/language/full_stacktrace3_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_stacktrace2_test.dart ('k') | tests/language/function_argument_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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 return 1; 91 return 1;
86 } 92 }
87 int func7() { 93 int func7() {
88 func6(); 94 func6();
89 return 1; 95 return 1;
90 } 96 }
91 main() { 97 main() {
92 var i = func7(); 98 var i = func7();
93 Expect.equals(1, i); 99 Expect.equals(1, i);
94 } 100 }
OLDNEW
« no previous file with comments | « tests/language/full_stacktrace2_test.dart ('k') | tests/language/function_argument_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698