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

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

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/url_test.dart ('k') | tests/html/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 #import('../../pkg/unittest/unittest.dart'); 2 import '../../pkg/unittest/lib/unittest.dart';
3 3
4 /** 4 /**
5 * Verifies that [actual] has the same graph structure as [expected]. 5 * Verifies that [actual] has the same graph structure as [expected].
6 * Detects cycles and DAG structure in Maps and Lists. 6 * Detects cycles and DAG structure in Maps and Lists.
7 */ 7 */
8 verifyGraph(expected, actual) { 8 verifyGraph(expected, actual) {
9 var eItems = []; 9 var eItems = [];
10 var aItems = []; 10 var aItems = [];
11 11
12 message(path, reason) => path == '' 12 message(path, reason) => path == ''
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 } 62 }
63 return; 63 return;
64 } 64 }
65 65
66 expect(false, isTrue, reason: 'Unhandled type: $expected'); 66 expect(false, isTrue, reason: 'Unhandled type: $expected');
67 } 67 }
68 68
69 walk('', expected, actual); 69 walk('', expected, actual);
70 } 70 }
OLDNEW
« no previous file with comments | « tests/html/url_test.dart ('k') | tests/html/webgl_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698