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

Unified Diff: tests/language_strong/async_throw_in_catch_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of 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
Index: tests/language_strong/async_throw_in_catch_test.dart
diff --git a/tests/language_strong/async_throw_in_catch_test.dart b/tests/language_strong/async_throw_in_catch_test.dart
index 05015a66874d5cd5c020338a1e2111169876619e..700621db74962891e160dea69080d1658c14ee0b 100644
--- a/tests/language_strong/async_throw_in_catch_test.dart
+++ b/tests/language_strong/async_throw_in_catch_test.dart
@@ -32,7 +32,7 @@ foo1(Tracer tracer) async {
tracer.trace("a");
// This await forces dart2js to rewrite the try into a state machine
// instead of relying on the existing structure.
- await new Future.value(3); /// forceAwait: ok
+ await new Future.value(3); //# forceAwait: ok
tracer.trace("b");
throw "Error";
} catch (error) {
@@ -49,7 +49,7 @@ foo1(Tracer tracer) async {
foo2(Tracer tracer) async {
try {
tracer.trace("a");
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("b");
throw "Error";
tracer.trace("c");
@@ -66,7 +66,7 @@ foo2(Tracer tracer) async {
foo3(Tracer tracer) async {
try {
tracer.trace("a");
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("b");
throw "Error";
tracer.trace("c");
@@ -83,7 +83,7 @@ foo3(Tracer tracer) async {
foo4(Tracer tracer) async {
try {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("a");
throw "Error";
} catch(error) {
@@ -103,7 +103,7 @@ foo5(Tracer tracer) async {
try {
tracer.trace("a");
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("b");
throw "Error";
} catch(error) {
@@ -121,7 +121,7 @@ foo5(Tracer tracer) async {
foo6(Tracer tracer) async {
try {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("a");
throw "Error";
} catch(error) {
@@ -142,7 +142,7 @@ foo6(Tracer tracer) async {
foo7(Tracer tracer) async {
try {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("a");
throw "Error";
} catch(error) {
@@ -162,7 +162,7 @@ foo7(Tracer tracer) async {
foo8(Tracer tracer) async {
try {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("a");
throw "Error";
} catch(error) {
@@ -183,7 +183,7 @@ foo9(Tracer tracer) async {
try {
while(true) {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("a");
throw "Error";
} catch(error) {
@@ -213,7 +213,7 @@ foo10(Tracer tracer) async {
} catch (error) {
tracer.trace("b");
try {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
throw "Error2";
} catch(error) {
tracer.trace("c");
@@ -246,7 +246,7 @@ foo11(Tracer tracer) async {
tracer.trace("a");
if (firstTime) {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("b");
throw "Error";
} catch(error) {
@@ -275,7 +275,7 @@ foo12(Tracer tracer) async {
tracer.trace("a");
if (firstTime) {
try {
- await new Future.value(3); /// forceAwait: continued
+ await new Future.value(3); //# forceAwait: continued
tracer.trace("b");
throw "Error";
} catch(error) {
@@ -309,7 +309,7 @@ foo13(Tracer tracer) async {
tracer.trace("c");
try {
try {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
tracer.trace("d");
throw "Error";
} finally {
@@ -333,7 +333,7 @@ foo14(Tracer tracer) async {
} catch (error) {
tracer.trace("b");
try {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
throw "Error2";
} catch(error) {
tracer.trace("c");
@@ -359,7 +359,7 @@ foo15(Tracer tracer) async {
} catch (error) {
tracer.trace("b");
try {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
throw "Error2";
} catch(error) {
tracer.trace("c");
@@ -386,7 +386,7 @@ foo16(Tracer tracer) async {
} catch (error) {
tracer.trace("b");
try {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
throw "Error2";
} catch(error) {
tracer.trace("c");
@@ -413,7 +413,7 @@ foo17(Tracer tracer) async {
tracer.trace("b");
throw "Error";
} catch (error) {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
Expect.equals("Error", error);
tracer.trace("c");
} finally {
@@ -431,7 +431,7 @@ foo18(Tracer tracer) async {
try {
tracer.trace("b");
} finally {
- await new Future.value(3); // /// forceAwait: continued
+ await new Future.value(3); // //# forceAwait: continued
tracer.trace("c");
}
tracer.trace("d");
« no previous file with comments | « tests/language_strong/async_switch_test.dart ('k') | tests/language_strong/await_backwards_compatibility_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698