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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated latest tests. 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
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
5 // Test for named parameter with the name of a JavaScript property found on 7 // 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. 8 // 'Object'. For such a NAME, foo.NAME may exist in an empty map, i.e.
7 // 'toString' in {} --> true. 9 // 'toString' in {} --> true.
8 10
9 11
10 main() { 12 main() {
11 // Test properties found on instances of Object in Chrome 15 and Firefox 6. 13 // Test properties found on instances of Object in Chrome 15 and Firefox 6.
12 test_constructor(); 14 test_constructor();
13 test___proto__(); 15 test___proto__();
14 test___defineGetter__(); 16 test___defineGetter__();
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 357
356 Expect.equals(null, obj.method()); 358 Expect.equals(null, obj.method());
357 Expect.equals(0, obj.method(watch: 0)); 359 Expect.equals(0, obj.method(watch: 0));
358 360
359 Expect.equals(null, TestClass_watch.staticMethod()); 361 Expect.equals(null, TestClass_watch.staticMethod());
360 Expect.equals(0, TestClass_watch.staticMethod(watch: 0)); 362 Expect.equals(0, TestClass_watch.staticMethod(watch: 0));
361 363
362 Expect.equals(null, globalMethod_watch()); 364 Expect.equals(null, globalMethod_watch());
363 Expect.equals(0, globalMethod_watch(watch: 0)); 365 Expect.equals(0, globalMethod_watch(watch: 0));
364 } 366 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698