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

Side by Side Diff: tests/lib/i18n/bidi_utils_test.dart

Issue 10827227: Start moving non-platform libraries from lib/ to pkg/ . (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Start moving non-platform libraries from lib/ to pkg/ Created 8 years, 4 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/lib/i18n/bidi_format_test.dart ('k') | tests/lib/i18n/date_time_format_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 5
6 #library('bidi_utils_test'); 6 #library('bidi_utils_test');
7 7
8 #import('../../../lib/i18n/intl.dart'); 8 #import('../../../pkg/i18n/intl.dart');
9 #import('../../../lib/unittest/unittest.dart'); 9 #import('../../../lib/unittest/unittest.dart');
10 10
11 /** 11 /**
12 * Tests the bidi utilities library. 12 * Tests the bidi utilities library.
13 */ 13 */
14 main() { 14 main() {
15 var LRE = '\u202A'; 15 var LRE = '\u202A';
16 var RLE = '\u202B'; 16 var RLE = '\u202B';
17 var PDF = '\u202C'; 17 var PDF = '\u202C';
18 var LRM = '\u200E'; 18 var LRM = '\u200E';
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 }); 337 });
338 } 338 }
339 339
340 class SampleItem { 340 class SampleItem {
341 String text; 341 String text;
342 bool isRtl; 342 bool isRtl;
343 bool isHtml; 343 bool isHtml;
344 SampleItem([someText='', someIsRtl=false, isHtml=false]) : 344 SampleItem([someText='', someIsRtl=false, isHtml=false]) :
345 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml; 345 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml;
346 } 346 }
OLDNEW
« no previous file with comments | « tests/lib/i18n/bidi_format_test.dart ('k') | tests/lib/i18n/date_time_format_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698