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

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

Issue 10248007: test rename overhaul: step 8 - language tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // Test for named parameter with the name of a JavaScript property found on 5 // Test for named parameter with the name of a JavaScript property found on
6 // 'Object'. For such a NAME, foo.NAME may exist in an empty map, i.e. 6 // 'Object'. For such a NAME, foo.NAME may exist in an empty map, i.e.
7 // 'toString' in {} --> true. 7 // 'toString' in {} --> true.
8 8
9 9
10 main() { 10 main() {
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 Expect.equals(null, obj.method()); 356 Expect.equals(null, obj.method());
357 Expect.equals(0, obj.method(watch: 0)); 357 Expect.equals(0, obj.method(watch: 0));
358 358
359 Expect.equals(null, TestClass_watch.staticMethod()); 359 Expect.equals(null, TestClass_watch.staticMethod());
360 Expect.equals(0, TestClass_watch.staticMethod(watch: 0)); 360 Expect.equals(0, TestClass_watch.staticMethod(watch: 0));
361 361
362 Expect.equals(null, globalMethod_watch()); 362 Expect.equals(null, globalMethod_watch());
363 Expect.equals(0, globalMethod_watch(watch: 0)); 363 Expect.equals(0, globalMethod_watch(watch: 0));
364 } 364 }
OLDNEW
« no previous file with comments | « tests/language/named_parameters_with_dollars_test.dart ('k') | tests/language/naming2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698