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

Unified Diff: pkg/fasta/test/rasta/issue_000067.dart.dartk.expect

Issue 2650913007: Import rasta tests. (Closed)
Patch Set: Address comment. Created 3 years, 11 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
« no previous file with comments | « pkg/fasta/test/rasta/issue_000067.dart ('k') | pkg/fasta/test/rasta/issue_000067.dart.direct.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fasta/test/rasta/issue_000067.dart.dartk.expect
diff --git a/pkg/fasta/test/rasta/issue_000067.dart.dartk.expect b/pkg/fasta/test/rasta/issue_000067.dart.dartk.expect
new file mode 100644
index 0000000000000000000000000000000000000000..a6a8913364ceddb827079be2e47a7029e8e33ff8
--- /dev/null
+++ b/pkg/fasta/test/rasta/issue_000067.dart.dartk.expect
@@ -0,0 +1,32 @@
+library;
+import self as self;
+import "dart:core" as core;
+import "package:expect/expect.dart" as exp;
+
+class A extends core::Object {
+ constructor •() → dynamic
+ : super core::Object::•() {}
+ static factory foo() → self::A
+ invalid-statement;
+ method m() → core::int {}
+}
+class C extends self::A {
+ constructor •() → dynamic
+ : super self::A::•() {}
+ static factory bar() → self::C
+ invalid-statement;
+ method m() → core::int {
+ return 1;
+ }
+}
+class D extends self::C {
+ constructor •() → self::D
+ : super self::C::•();
+ method m() → core::int {
+ return 2;
+ }
+}
+static method main() → dynamic {
+ self::A a = new self::D::•();
+ exp::Expect::equals(2, a.m());
+}
« no previous file with comments | « pkg/fasta/test/rasta/issue_000067.dart ('k') | pkg/fasta/test/rasta/issue_000067.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698