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

Unified Diff: pkg/kernel/testcases/spec-mode/optional.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/optional.baseline.txt
diff --git a/pkg/kernel/testcases/spec-mode/optional.baseline.txt b/pkg/kernel/testcases/spec-mode/optional.baseline.txt
deleted file mode 100644
index 947d12b66a78b9d8cc7d95552d7b70f4c8433260..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/spec-mode/optional.baseline.txt
+++ /dev/null
@@ -1,61 +0,0 @@
-library;
-import self as self;
-import "dart:core" as core;
-
-class Foo extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- method method(dynamic x, [dynamic y, dynamic z]) → dynamic {
- return "string";
- }
-}
-abstract class External extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- abstract method externalMethod(core::int x, [core::int y, core::int z]) → core::String;
- abstract method listen(self::Listener listener) → void;
-}
-abstract class Listener extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- abstract method event(core::String input, [core::int x, core::int y]) → void;
-}
-class TestListener extends self::Listener {
- constructor •() → void
- : super self::Listener::•()
- ;
- method event(dynamic input, [dynamic x, dynamic y]) → void {}
-}
-class ExtendedListener extends self::Listener {
- constructor •() → void
- : super self::Listener::•()
- ;
- method event(dynamic input, [dynamic x, dynamic y, dynamic z]) → void {}
-}
-class InvalidListener extends core::Object {
- constructor •() → void
- : super core::Object::•()
- ;
- method event(dynamic input, [dynamic x]) → void {}
-}
-external static method createExternal() → self::External;
-static method main() → dynamic {
- dynamic foo = new self::Foo::•();
- dynamic string1 = foo.method(1);
- dynamic string2 = foo.method(1, 2);
- dynamic string3 = foo.method(1, 2, 3);
- dynamic extern = self::createExternal();
- dynamic string4 = extern.externalMethod(1);
- dynamic string5 = extern.externalMethod(1, 2);
- dynamic string6 = extern.externalMethod(1, 2, 3);
- extern.listen(new self::TestListener::•());
- extern.listen(new self::ExtendedListener::•());
- extern.listen(new self::InvalidListener::•());
- dynamic nothing1 = foo.method();
- dynamic nothing2 = foo.method(1, 2, 3, 4);
- dynamic nothing3 = extern.externalMethod();
- dynamic nothing4 = extern.externalMethod(1, 2, 3, 4);
-}
« no previous file with comments | « pkg/kernel/testcases/spec-mode/null_aware.baseline.txt ('k') | pkg/kernel/testcases/spec-mode/override.baseline.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698