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

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

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 | « tests/language/named_parameters_with_dollars_test.dart ('k') | tests/language/namer2_test.dart » ('j') | 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) 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 import "package:expect/expect.dart";
6
7 // 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
8 // '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.
9 // 'toString' in {} --> true. 7 // 'toString' in {} --> true.
10 8
11 9
12 main() { 10 main() {
13 // Test properties found on instances of Object in Chrome 15 and Firefox 6. 11 // Test properties found on instances of Object in Chrome 15 and Firefox 6.
14 test_constructor(); 12 test_constructor();
15 test___proto__(); 13 test___proto__();
16 test___defineGetter__(); 14 test___defineGetter__();
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 355
358 Expect.equals(null, obj.method()); 356 Expect.equals(null, obj.method());
359 Expect.equals(0, obj.method(watch: 0)); 357 Expect.equals(0, obj.method(watch: 0));
360 358
361 Expect.equals(null, TestClass_watch.staticMethod()); 359 Expect.equals(null, TestClass_watch.staticMethod());
362 Expect.equals(0, TestClass_watch.staticMethod(watch: 0)); 360 Expect.equals(0, TestClass_watch.staticMethod(watch: 0));
363 361
364 Expect.equals(null, globalMethod_watch()); 362 Expect.equals(null, globalMethod_watch());
365 Expect.equals(0, globalMethod_watch(watch: 0)); 363 Expect.equals(0, globalMethod_watch(watch: 0));
366 } 364 }
OLDNEW
« no previous file with comments | « tests/language/named_parameters_with_dollars_test.dart ('k') | tests/language/namer2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698