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

Unified Diff: pkg/kernel/testcases/spec-mode/escape.baseline.txt

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/kernel/testcases/spec-mode/escape.baseline.txt
diff --git a/pkg/kernel/testcases/spec-mode/escape.baseline.txt b/pkg/kernel/testcases/spec-mode/escape.baseline.txt
deleted file mode 100644
index 23706906e37f8343f61ef2e7e63d32adeabff9f9..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/spec-mode/escape.baseline.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-library;
-import self as self;
-import "dart:core" as core;
-
-class A extends core::Object {
- field dynamic field = null;
- constructor •() → void
- : super core::Object::•()
- ;
-}
-class B extends core::Object {
- field dynamic field = null;
- constructor •() → void
- : super core::Object::•()
- ;
-}
-class C extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- operator ==(dynamic x) → dynamic
- return false;
-}
-class X extends core::Object implements self::A, self::B {
- field dynamic field = null;
- constructor •() → void
- : super core::Object::•()
- ;
-}
-static method useAsA(self::A object) → void {
- dynamic _ = object.field;
-}
-static method useAsB(self::B object) → void {
- dynamic _ = object.field;
- self::escape(object);
-}
-static method escape(dynamic x) → void {
- x.==(null) ? x = "" : null;
- x.==(null) ? x = 45 : null;
- if(!(x is core::int) && !(x is core::String)) {
- x.field = 45;
- }
-}
-static method main() → dynamic {
- dynamic object = new self::X::•();
- self::useAsA(new self::A::•());
- self::useAsA(object);
- self::useAsB(new self::B::•());
- self::useAsB(object);
-}
« no previous file with comments | « pkg/kernel/testcases/spec-mode/covariant_generic.baseline.txt ('k') | pkg/kernel/testcases/spec-mode/external.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698