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

Side by Side Diff: tests/language/full_stacktrace1_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
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 return 1; 53 return 1;
48 } 54 }
49 int func6() { 55 int func6() {
50 func5(); 56 func5();
51 return 1; 57 return 1;
52 } 58 }
53 main() { 59 main() {
54 var i = func6(); 60 var i = func6();
55 Expect.equals(1, i); 61 Expect.equals(1, i);
56 } 62 }
OLDNEW
« no previous file with comments | « tests/language/for_without_condition_test.dart ('k') | tests/language/full_stacktrace2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698