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

Side by Side Diff: tests/language/optional_named_parameters_test.dart

Issue 303303002: Address TODOs and remove obsolete ones. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/stub_code_mips.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Dart test program for testing optional named parameters. 4 // Dart test program for testing optional named parameters.
5 5
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 7
8 8
9 class OptionalNamedParametersTest { 9 class OptionalNamedParametersTest {
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 Expect.equals(10250045, F41(10, 25, d:45)); /// 09: runtime error 96 Expect.equals(10250045, F41(10, 25, d:45)); /// 09: runtime error
97 Expect.equals(10250045, np.f52(10, d:45, b:25)); 97 Expect.equals(10250045, np.f52(10, d:45, b:25));
98 Expect.equals(10253545, F41(10, d:45, c:35, b:25)); 98 Expect.equals(10253545, F41(10, d:45, c:35, b:25));
99 Expect.equals(10253545, np.f52(10, d:45, c:35, b:25)); 99 Expect.equals(10253545, np.f52(10, d:45, c:35, b:25));
100 } 100 }
101 } 101 }
102 102
103 main() { 103 main() {
104 OptionalNamedParametersTest.test(); 104 OptionalNamedParametersTest.test();
105 } 105 }
106
107 // TODO(regis): negative tests: [} {] [a:0] {a=0}
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698