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

Side by Side Diff: tests/html/element_tests.dart

Issue 10191033: test renaming overhaul: step 4 client 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) 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 5
6 expectLargeRect(ClientRect rect) { 6 expectLargeRect(ClientRect rect) {
7 Expect.equals(rect.top, 0); 7 Expect.equals(rect.top, 0);
8 Expect.equals(rect.left, 0); 8 Expect.equals(rect.left, 0);
9 Expect.isTrue(rect.width > 100); 9 Expect.isTrue(rect.width > 100);
10 Expect.isTrue(rect.height > 100); 10 Expect.isTrue(rect.height > 100);
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 classes.intersection(['foo', 'qux', 'baz'])); 884 classes.intersection(['foo', 'qux', 'baz']));
885 }); 885 });
886 886
887 test('clear', () { 887 test('clear', () {
888 final classes = makeClassSet(); 888 final classes = makeClassSet();
889 classes.clear(); 889 classes.clear();
890 Expect.setEquals([], classes); 890 Expect.setEquals([], classes);
891 }); 891 });
892 }); 892 });
893 } 893 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698