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

Unified Diff: tests/language/error_stacktrace_test.dart

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language/enum_syntax_test.dart ('k') | tests/language/external_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/error_stacktrace_test.dart
diff --git a/tests/language/error_stacktrace_test.dart b/tests/language/error_stacktrace_test.dart
index 9cb7f5a6130612b511b6c52ce4d7e18d5340b789..4ec5dbd47c9177b324447b00bc351479bf885ea5 100644
--- a/tests/language/error_stacktrace_test.dart
+++ b/tests/language/error_stacktrace_test.dart
@@ -14,12 +14,15 @@ class Helper1 {
static int func1() {
return func2();
}
+
static int func2() {
return func3();
}
+
static int func3() {
return func4();
}
+
static int func4() {
var i = 0;
try {
@@ -31,6 +34,7 @@ class Helper1 {
}
return i;
}
+
static void func5() {
// Throw an Error.
throw new ArgumentError("ArgumentError in func5");
@@ -41,12 +45,15 @@ class Helper2 {
static int func1() {
return func2();
}
+
static int func2() {
return func3();
}
+
static int func3() {
return func4();
}
+
static int func4() {
var i = 0;
try {
@@ -59,6 +66,7 @@ class Helper2 {
}
return i;
}
+
static List func5() {
// Throw an Error.
throw new ArgumentError("ArgumentError in func5");
@@ -69,12 +77,15 @@ class Helper3 {
static int func1() {
return func2();
}
+
static int func2() {
return func3();
}
+
static int func3() {
return func4();
}
+
static int func4() {
var i = 0;
try {
@@ -92,6 +103,7 @@ class Helper3 {
}
return i;
}
+
static List func5() {
// Throw an Exception (any random object).
throw new MyException("MyException in func5");
« no previous file with comments | « tests/language/enum_syntax_test.dart ('k') | tests/language/external_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698