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

Unified Diff: pkg/front_end/testcases/async_function.dart.outline.expect

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/async_function.dart.outline.expect
diff --git a/pkg/kernel/testcases/spec-mode/async_function.baseline.txt b/pkg/front_end/testcases/async_function.dart.outline.expect
similarity index 51%
rename from pkg/kernel/testcases/spec-mode/async_function.baseline.txt
rename to pkg/front_end/testcases/async_function.dart.outline.expect
index 6a9bffafaa98b52a67ca445b155b649b24f8197a..63464c054765232bf9963e8c62a7d646be81a5de 100644
--- a/pkg/kernel/testcases/spec-mode/async_function.baseline.txt
+++ b/pkg/front_end/testcases/async_function.dart.outline.expect
@@ -3,29 +3,18 @@ import self as self;
import "dart:async" as asy;
import "dart:core" as core;
-static field core::List<core::String> stringList = <dynamic>["bar"];
-static method asyncString() → asy::Future<core::String> async {
- return "foo";
-}
-static method asyncString2() → asy::Future<core::String> async {
- return self::asyncString();
-}
-static method syncStarString() → core::Iterable<core::String> sync* {
- yield "foo";
- yield* self::syncStarString2();
- yield* self::stringList;
-}
-static method syncStarString2() → core::Iterable<core::String> sync* {
- yield "foo";
-}
-static method asyncStarString() → asy::Stream<core::String> async* {
- yield "foo";
- yield* self::asyncStarString2();
- yield await self::asyncString();
-}
-static method asyncStarString2() → asy::Stream<core::String> async* {
- yield "bar";
-}
-static method main() → dynamic async {
- core::String str = await self::asyncString();
-}
+static field core::List<core::String> stringList;
+static method asyncString() → asy::Future<core::String> async
+ ;
+static method asyncString2() → asy::Future<core::String> async
+ ;
+static method syncStarString() → core::Iterable<core::String> sync*
+ ;
+static method syncStarString2() → core::Iterable<core::String> sync*
+ ;
+static method asyncStarString() → asy::Stream<core::String> async*
+ ;
+static method asyncStarString2() → asy::Stream<core::String> async*
+ ;
+static method main() → dynamic async
+ ;
« no previous file with comments | « pkg/front_end/testcases/async_function.dart.direct.expect ('k') | pkg/front_end/testcases/async_function.dart.strong.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698