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

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

Powered by Google App Engine
This is Rietveld 408576698