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

Side by Side Diff: pkg/intl/test/bidi_utils_test.dart

Issue 10928216: revert 1204. Will investigate when I get a chance. (Closed) Base URL: http://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 | « pkg/intl/test/bidi_format_test.dart ('k') | pkg/intl/test/date_time_format_test_core.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 // TODO(rnystrom): Use "package:" URL (#4968).
9 #import('../intl.dart'); 8 #import('../intl.dart');
10 #import('../../../pkg/unittest/lib/unittest.dart'); 9 #import('../../../pkg/unittest/unittest.dart');
11 10
12 /** 11 /**
13 * Tests the bidi utilities library. 12 * Tests the bidi utilities library.
14 */ 13 */
15 main() { 14 main() {
16 var LRE = '\u202A'; 15 var LRE = '\u202A';
17 var RLE = '\u202B'; 16 var RLE = '\u202B';
18 var PDF = '\u202C'; 17 var PDF = '\u202C';
19 var LRM = '\u200E'; 18 var LRM = '\u200E';
20 var RLM = '\u200F'; 19 var RLM = '\u200F';
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 }); 337 });
339 } 338 }
340 339
341 class SampleItem { 340 class SampleItem {
342 String text; 341 String text;
343 bool isRtl; 342 bool isRtl;
344 bool isHtml; 343 bool isHtml;
345 SampleItem([someText='', someIsRtl=false, isHtml=false]) : 344 SampleItem([someText='', someIsRtl=false, isHtml=false]) :
346 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml; 345 this.text=someText, this.isRtl=someIsRtl, this.isHtml=isHtml;
347 } 346 }
OLDNEW
« no previous file with comments | « pkg/intl/test/bidi_format_test.dart ('k') | pkg/intl/test/date_time_format_test_core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698