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

Unified Diff: pkg/kernel/testcases/spec-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/spec-mode/micro.baseline.txt
diff --git a/pkg/kernel/testcases/spec-mode/micro.baseline.txt b/pkg/kernel/testcases/spec-mode/micro.baseline.txt
deleted file mode 100644
index 585ce1994c7a8d6c99f2120b2f412d703d4ccbba..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/spec-mode/micro.baseline.txt
+++ /dev/null
@@ -1,81 +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 {
- constructor •() → void
- : super core::Object::•()
- ;
-}
-abstract class Bar extends core::Object {
- constructor •() → void
- : super 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::•().instanceMethod();
- dynamic z = self::externalStatic();
- dynamic w = self::createBar().externalInstanceMethod();
- self::stringArgument("sdfg");
- self::intArgument(42);
- dynamic box = new self::Box::•();
- box.field = "sdfg";
- dynamic a = box.field;
- dynamic finalBox = new self::FinalBox::•("dfg");
- dynamic b = finalBox.finalField;
- dynamic subBox = new self::SubFinalBox::•("dfg");
- dynamic c = subBox.finalField;
- self::makeDynamicCall(new self::DynamicReceiver1::•());
- self::makeDynamicCall(new self::DynamicReceiver2::•());
- dynamic list = <dynamic>["string"];
- dynamic d = list.[](0);
-}
« no previous file with comments | « pkg/kernel/testcases/spec-mode/fallthrough.baseline.txt ('k') | pkg/kernel/testcases/spec-mode/named_parameters.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698