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

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

Issue 10911318: Revert "Make unittest follow the new package layout." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/html/htmlaudioelement_test.dart ('k') | tests/html/htmlelement_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 #library('ElementListTest'); 1 #library('ElementListTest');
2 #import('../../pkg/unittest/lib/unittest.dart'); 2 #import('../../pkg/unittest/unittest.dart');
3 #import('../../pkg/unittest/lib/html_config.dart'); 3 #import('../../pkg/unittest/html_config.dart');
4 #import('dart:html'); 4 #import('dart:html');
5 5
6 // Test that ElementList implements List<T> 6 // Test that ElementList implements List<T>
7 main() { 7 main() {
8 Element insertTestDiv() { 8 Element insertTestDiv() {
9 Element element = new Element.tag('div'); 9 Element element = new Element.tag('div');
10 element.innerHTML = @""" 10 element.innerHTML = @"""
11 <div id='allChecked'> 11 <div id='allChecked'>
12 <input type="checkbox" name="c1" value="1" checked="yes"> 12 <input type="checkbox" name="c1" value="1" checked="yes">
13 <input type="checkbox" name="c2" value="2" checked="yes"> 13 <input type="checkbox" name="c2" value="2" checked="yes">
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 Expect.equals(-1, someChecked.lastIndexOf(someChecked[3], 2)); 268 Expect.equals(-1, someChecked.lastIndexOf(someChecked[3], 2));
269 269
270 Expect.equals(-1, someChecked.lastIndexOf(noneChecked[0], 3)); 270 Expect.equals(-1, someChecked.lastIndexOf(noneChecked[0], 3));
271 Expect.equals(-1, noneChecked.lastIndexOf(someChecked[0], 3)); 271 Expect.equals(-1, noneChecked.lastIndexOf(someChecked[0], 3));
272 Expect.equals(-1, someChecked.lastIndexOf(noneChecked[1], 3)); 272 Expect.equals(-1, someChecked.lastIndexOf(noneChecked[1], 3));
273 Expect.equals(-1, noneChecked.lastIndexOf(someChecked[1], 3)); 273 Expect.equals(-1, noneChecked.lastIndexOf(someChecked[1], 3));
274 274
275 root.remove(); 275 root.remove();
276 }); 276 });
277 } 277 }
OLDNEW
« no previous file with comments | « tests/html/htmlaudioelement_test.dart ('k') | tests/html/htmlelement_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698