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

Unified Diff: client/tests/client/html/ElementTests.dart

Issue 9226028: Fix the dartc tests, which were broken by r3464. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/client/html/ElementTests.dart
diff --git a/client/tests/client/html/ElementTests.dart b/client/tests/client/html/ElementTests.dart
index 1e09e6b7053e8dd0e7fd3e575c5d82c63b3ed3c6..050e4437e8d408ae79271746c69aa030d2baf5be 100644
--- a/client/tests/client/html/ElementTests.dart
+++ b/client/tests/client/html/ElementTests.dart
@@ -537,7 +537,7 @@ void testElement() {
});
group('queryAll', () {
- Element getQueryAll() {
+ ElementList getQueryAll() {
return new Element.html("""
<div>
<hr/>
@@ -551,7 +551,7 @@ void testElement() {
""").queryAll('.q');
}
- Element getEmptyQueryAll() => new Element.tag('div').queryAll('img');
+ ElementList getEmptyQueryAll() => new Element.tag('div').queryAll('img');
void testUnsupported(String name, void f()) {
test(name, () {
@@ -638,7 +638,7 @@ void testElement() {
]);
});
- testUnsupported('sort', () => getQueryAll().sort((_) => true));
+ testUnsupported('sort', () => getQueryAll().sort((a1, a2) => true));
testUnsupported('setRange', () => getQueryAll().setRange(0, 0, []));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698