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

Unified Diff: pkg/kernel/testcases/strong-mode/micro.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/micro.baseline.txt
diff --git a/pkg/kernel/testcases/strong-mode/micro.baseline.txt b/pkg/kernel/testcases/strong-mode/micro.baseline.txt
deleted file mode 100644
index fabb29d1765328a85be770bda646bf1415b2aff8..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/strong-mode/micro.baseline.txt
+++ /dev/null
@@ -1,75 +0,0 @@
-library;
-import self as self;
-import "dart:core" as core;
-
-class Foo extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- method instanceMethod() → dynamic {
- return 123;
- }
-}
-abstract class ExternalValue extends core::Object {
-}
-abstract class Bar extends core::Object {
- abstract method externalInstanceMethod() → self::ExternalValue;
-}
-class Box extends core::Object {
- field dynamic field = null;
- constructor •() → void
- : super core::Object::•()
- ;
-}
-class FinalBox extends core::Object {
- final field dynamic finalField;
- constructor •(dynamic finalField) → void
- : self::FinalBox::finalField = finalField, super core::Object::•()
- ;
-}
-class SubFinalBox extends self::FinalBox {
- constructor •(dynamic value) → void
- : super self::FinalBox::•(value)
- ;
-}
-class DynamicReceiver1 extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- method dynamicallyCalled(dynamic x) → dynamic {}
-}
-class DynamicReceiver2 extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- method dynamicallyCalled(dynamic x) → dynamic {}
-}
-static method staticMethod() → dynamic {
- return "sdfg";
-}
-external static method externalStatic() → core::bool;
-external static method createBar() → self::Bar;
-static method stringArgument(dynamic x) → dynamic {}
-static method intArgument(dynamic x) → dynamic {}
-static method makeDynamicCall(dynamic receiver) → void {
- receiver.dynamicallyCalled("sdfg");
-}
-static method main() → dynamic {
- dynamic x = self::staticMethod();
- dynamic y = new self::Foo::•().{self::Foo::instanceMethod}();
- core::bool z = self::externalStatic();
- self::ExternalValue w = self::createBar().{self::Bar::externalInstanceMethod}();
- self::stringArgument("sdfg");
- self::intArgument(42);
- self::Box box = new self::Box::•();
- box.{self::Box::field} = "sdfg";
- dynamic a = box.{self::Box::field};
- self::FinalBox finalBox = new self::FinalBox::•("dfg");
- dynamic b = finalBox.{self::FinalBox::finalField};
- self::SubFinalBox subBox = new self::SubFinalBox::•("dfg");
- dynamic c = subBox.{self::FinalBox::finalField};
- self::makeDynamicCall(new self::DynamicReceiver1::•());
- self::makeDynamicCall(new self::DynamicReceiver2::•());
- core::List<core::String> list = <core::String>["string"];
- core::String d = list.{core::List::[]}(0);
-}

Powered by Google App Engine
This is Rietveld 408576698