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

Unified Diff: frog/tests/leg_only/super_call_test.dart

Issue 10536169: Move frog/tests/{leg,leg_only,frog_native} to tests/compiler/. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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: frog/tests/leg_only/super_call_test.dart
===================================================================
--- frog/tests/leg_only/super_call_test.dart (revision 8644)
+++ frog/tests/leg_only/super_call_test.dart (working copy)
@@ -1,17 +0,0 @@
-class A {
- foo() => "A.foo${baz()}";
- baz() => "A.baz";
- hest(String s, int i) => "$s$i";
-}
-
-class B extends A {
- foo() => "B.foo${super.foo()}";
- baz() => "B.baz";
- hest(s, i) => "B.hest${super.hest(s, i)}";
-}
-
-main() {
- B b = new B();
- Expect.equals("B.fooA.fooB.baz", b.foo());
- Expect.equals("B.hestfisk42", b.hest('fisk', 42));
-}
« no previous file with comments | « frog/tests/leg_only/string_interpolation_test.dart ('k') | frog/tests/leg_only/super_constructor1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698