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

Side by Side Diff: pkg/dartdoc/test/dartdoc_search_test.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 | « pkg/args/test/args_test.dart ('k') | pkg/dartdoc/test/dartdoc_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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #library('dartdoc_search_test'); 5 #library('dartdoc_search_test');
6 6
7 // TODO(rnystrom): Use "package:" URL (#4968). 7 // TODO(rnystrom): Use "package:" URL (#4968).
8 #source('../lib/src/dartdoc/nav.dart'); 8 #source('../lib/src/dartdoc/nav.dart');
9 #source('../lib/src/client/search.dart'); 9 #source('../lib/src/client/search.dart');
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Matching a member field 'cancelable' in 'Event'; 42 // Matching a member field 'cancelable' in 'Event';
43 var prefixResult = new Result(prefixMatch, FIELD, URL, type: 'Event'); 43 var prefixResult = new Result(prefixMatch, FIELD, URL, type: 'Event');
44 Expect.equals(-1, resultComparator(fullResult, prefixResult), 44 Expect.equals(-1, resultComparator(fullResult, prefixResult),
45 "Full matches should be preferred to prefix matches"); 45 "Full matches should be preferred to prefix matches");
46 } 46 }
47 47
48 void main() { 48 void main() {
49 testTopLevelVsMembers(); 49 testTopLevelVsMembers();
50 testTopLevelFullVsPrefix(); 50 testTopLevelFullVsPrefix();
51 testMemberFullVsPrefix(); 51 testMemberFullVsPrefix();
52 } 52 }
OLDNEW
« no previous file with comments | « pkg/args/test/args_test.dart ('k') | pkg/dartdoc/test/dartdoc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698