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

Unified Diff: pkg/kernel/testcases/strong-mode/covariant_generic.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/strong-mode/covariant_generic.baseline.txt
diff --git a/pkg/kernel/testcases/strong-mode/covariant_generic.baseline.txt b/pkg/kernel/testcases/strong-mode/covariant_generic.baseline.txt
deleted file mode 100644
index 1e99fae14bc5db0d02d9df0648da36f9348d5c67..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/strong-mode/covariant_generic.baseline.txt
+++ /dev/null
@@ -1,44 +0,0 @@
-library;
-import self as self;
-import "dart:core" as core;
-
-class Foo<T extends core::Object> extends core::Object {
- final field self::Foo::T finalField;
- final field (self::Foo::T) → void callbackField;
- field self::Foo::T mutableField = null;
- field (self::Foo::T) → void mutableCallbackField = null;
- constructor •(self::Foo::T finalField, (self::Foo::T) → void callbackField) → void
- : self::Foo::finalField = finalField, self::Foo::callbackField = callbackField, super core::Object::•()
- ;
- method method(self::Foo::T x) → void {}
- set setter(self::Foo::T x) → void {}
- method withCallback((self::Foo::T) → void callback) → void {
- callback.call(this.{self::Foo::finalField});
- }
- set mutableField$cc(core::Object mutableField_) → dynamic
- this.{=self::Foo::mutableField} = mutableField_ as self::Foo::T;
- method method$cc(core::Object x) → void
- this.{=self::Foo::method}(x as self::Foo::T);
- set setter$cc(core::Object x) → void
- this.{=self::Foo::setter} = x as self::Foo::T;
-}
-static method main() → dynamic {
- self::Foo<core::int> fooInt = new self::Foo::•<core::int>(1, (core::int x) → core::Null {});
- fooInt.{self::Foo::method}(3);
- fooInt.{self::Foo::setter} = 3;
- fooInt.{self::Foo::withCallback}((core::int x) → core::Null {});
- fooInt.{self::Foo::withCallback}((core::num x) → core::Null {});
- fooInt.{self::Foo::mutableField} = 3;
- fooInt.{self::Foo::mutableCallbackField} = (core::int x) → core::Null {};
- self::Foo<core::num> fooNum = fooInt;
- fooNum.{self::Foo::method$cc}(3);
- fooNum.{self::Foo::method$cc}(2.5);
- fooNum.{self::Foo::setter$cc} = 3;
- fooNum.{self::Foo::setter$cc} = 2.5;
- fooNum.{self::Foo::withCallback}((core::num x) → core::Null {});
- fooNum.{self::Foo::mutableField$cc} = 3;
- fooNum.{self::Foo::mutableField$cc} = 2.5;
- fooNum.{self::Foo::mutableCallbackField}.call(3);
- fooNum.{self::Foo::mutableCallbackField}.call(2.5);
- fooNum.{self::Foo::mutableCallbackField} = (core::num x) → core::Null {};
-}
« no previous file with comments | « pkg/kernel/testcases/strong-mode/closure.baseline.txt ('k') | pkg/kernel/testcases/strong-mode/escape.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698