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

Side by Side Diff: tests/dom/utils.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, 7 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/dom/typing_test.dart ('k') | tests/dom/webgl_1_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('TestUtils'); 1 #library('TestUtils');
2 2
3 /** 3 /**
4 * Verifies that [actual] has the same graph structure as [expected]. 4 * Verifies that [actual] has the same graph structure as [expected].
5 * Detects cycles and DAG structure in Maps and Lists. 5 * Detects cycles and DAG structure in Maps and Lists.
6 */ 6 */
7 verifyGraph(expected, actual) { 7 verifyGraph(expected, actual) {
8 var eItems = []; 8 var eItems = [];
9 var aItems = []; 9 var aItems = [];
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 } 53 }
54 return; 54 return;
55 } 55 }
56 56
57 Expect.fail('Unhandled type: $expected'); 57 Expect.fail('Unhandled type: $expected');
58 } 58 }
59 59
60 walk('', expected, actual); 60 walk('', expected, actual);
61 } 61 }
OLDNEW
« no previous file with comments | « tests/dom/typing_test.dart ('k') | tests/dom/webgl_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698