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

Side by Side Diff: frog/tests/leg_only/named_parameter_for_static_test.dart

Issue 10250002: test rename overhaul: step 5 - frog and leg tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 oneOptionalArgument(a, [b]) { 5 oneOptionalArgument(a, [b]) {
6 Expect.equals(1, a); 6 Expect.equals(1, a);
7 Expect.equals(2, b); 7 Expect.equals(2, b);
8 } 8 }
9 9
10 twoOptionalArguments([a, b]) { 10 twoOptionalArguments([a, b]) {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 B.six() : super.oneOptionalArgument(1, b: 2); 79 B.six() : super.oneOptionalArgument(1, b: 2);
80 80
81 B(); 81 B();
82 one() { super.twoOptionalArguments(a: 1, b: 2); } 82 one() { super.twoOptionalArguments(a: 1, b: 2); }
83 two() { super.twoOptionalArguments(b: 2, a: 1); } 83 two() { super.twoOptionalArguments(b: 2, a: 1); }
84 three() { super.twoOptionalArguments(1, b: 2); } 84 three() { super.twoOptionalArguments(1, b: 2); }
85 four() { super.twoOptionalArguments(1, 2); } 85 four() { super.twoOptionalArguments(1, 2); }
86 five() { super.oneOptionalArgument(1, 2); } 86 five() { super.oneOptionalArgument(1, 2); }
87 six() { super.oneOptionalArgument(1, b: 2); } 87 six() { super.oneOptionalArgument(1, b: 2); }
88 } 88 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698